ask-ai
Installation
SKILL.md
@farming-labs/docs — Ask AI (AI Chat)
Add a built-in AI chat that answers questions using your documentation. The AI searches relevant pages, builds context, and streams a response from an OpenAI-compatible LLM. Use this skill when configuring the Ask AI / DocsBot feature.
Full docs: Ask AI.
Quick start
ai: {
enabled: true,
}
The AI reads process.env.OPENAI_API_KEY and uses gpt-4o-mini by default. Add OPENAI_API_KEY to your .env file. For SvelteKit/Astro, pass the API key into the docs server config (see below).