AI Integration

LLMs Integration

How this portal generates AI-ready content files via /llms.txt.

About llms.txt

This portal uses the nuxt-llms module to generate structured content files optimized for Large Language Models. Two endpoints are available:

  • /llms.txt — A concise index of all documentation pages with titles and descriptions
  • /llms-full.txt — The complete content of all documentation pages in a single file

These files follow the llms.txt specification and are pre-rendered at build time.

View the /llms.txt file generated for this portal.

Configuration

The LLMs module is configured in nuxt.config.ts:

nuxt.config.ts
export default defineNuxtConfig({
  llms: {
    domain: 'https://docs.ontopix.dev/',
    title: 'Ontopix Docs',
    description: 'Internal documentation portal for Ontopix.',
    sections: [
      {
        title: 'About',
        contentCollection: 'docs',
        contentFilters: [
          { field: 'path', operator: 'LIKE', value: '/about%' }
        ]
      },
      // ... additional sections
    ]
  }
})

Use Cases

  • AI coding assistants can reference Ontopix standards when generating code
  • Internal chatbots can use the full documentation as context
  • Search and retrieval systems can index the structured content
See the nuxt-llms documentation for advanced configuration options.