45 lines
1.4 KiB
Markdown
45 lines
1.4 KiB
Markdown
---
|
|
title: LLMs Integration
|
|
description: Docus generate AI-ready content files using Nuxt LLMs module
|
|
navigation:
|
|
icon: i-lucide-message-circle-code
|
|
---
|
|
|
|
Docus integrates `nuxt-llms` by default to prepare your content for Large Language Models (LLMs). All your documentation pages are injected and `/llms.txt` and `/llms-full.txt` files are automatically generated and pre-rendered.
|
|
|
|
::prose-note{to="/llms.txt"}
|
|
Have a check at the `/llms.txt` file generated for Docus documentation itself.
|
|
::
|
|
|
|
## Defaults
|
|
|
|
Here are the default values use to generate the `/llms.txt` file:
|
|
|
|
- `domain` → computed based on your deployment platform (or by using `NUXT_SITE_URL` env variable)
|
|
- `title` → extracted from your `package.json`
|
|
- `description` → extracted from your `package.json`
|
|
- `full.title` → extracted from your `package.json`
|
|
- `full.description` → extracted from your `package.json`
|
|
|
|
## Customize
|
|
|
|
You can override your LLMs data from the `nuxt.config.ts` :
|
|
|
|
```ts [nuxt.config.ts]
|
|
export default defineNuxtConfig({
|
|
llms: {
|
|
domain: 'https://your-site.com',
|
|
title: 'Your Site Name',
|
|
description: 'A brief description of your site',
|
|
full: {
|
|
title: 'Your Site Name',
|
|
description: 'A brief description of your site',
|
|
},
|
|
},
|
|
})
|
|
```
|
|
|
|
::tip{to="https://github.com/nuxtlabs/nuxt-llms"}
|
|
Checkout the nuxt-llms documentation for more information about the module.
|
|
::
|