Getting Started
Core Features
How-To Guides
Integrations
Troubleshooting
AI Optimization allows you to generate a structured, text-based overview of your documentation that is specifically formatted for AI assistants. By creating an llms.txt file, you provide AI tools with a clear "map" of your content, including page titles, descriptions, and organized links. This helps AI models better understand your documentation structure and navigate your content more effectively.
The system processes your existing documentation tree and converts it into a clean Markdown list. It automatically extracts titles and descriptions from your pages and folders, nesting them in a hierarchical list that mimics your navigation structure. This ensures that when an AI model consumes your documentation, it sees a logical, tree-like summary.
Call the optimization generator on your content loader. This tool reads your structure and prepares the text-based format.
Adjust the default spacing if you prefer a different indentation format than the default two spaces. This helps maintain clean nested lists in the final output.
If you want to customize how the AI reads your page titles or descriptions, provide custom rendering rules to override the default metadata extraction.
The system follows a strict order of priority when generating names and descriptions for the AI:
Folders, pages, and separators are converted into nested Markdown list items. For folders with index pages, the folder itself is listed first, followed by its index page and children on nested levels.
You can customize the output of your AI-optimized files by adjusting the settings in the table below.
Tip
Ensure that every page and folder has a clear, concise description in your metadata. The AI relies heavily on these descriptions to understand the purpose of a specific section.
Warning
If you have multiple languages enabled, the system will automatically generate separate indexes for each language. Make sure your metadata is localized correctly to ensure the AI receives the correct language output for each user.
Important
If you need to include extra sections or manual content in your AI index file, consider utilizing node-specific generation. This provides more granular control than the standard index generator, allowing you to build the output node by node.