Ask AI
Ask AI enhances keyword search with conversational AI, using your Algolia index to provide rich, context-aware answers. It’s designed for technical documentation, blogs, and support content. It’s integrated into DocSearch but you can use your own UI as well. Connect your favorite large language model (LLM) from your provider of choice, and Ask AI turns search results into clear, AI-generated responses grounded in your existing content.
Why you should use Ask AI
-
Reduce support workload. Deflect repetitive questions and let users self-serve with AI-powered answers.
-
Boost user satisfaction. Provide fast, conversational help directly from your content.
-
Easy to launch and maintain. No retraining, no manual tagging—just connect your index.
-
Customizable for your needs. Adapt prompts, tone, and model to your brand and audience.
-
Future-proof. As your content or LLM provider evolves, AskAI adapts with you.
Before you begin
You can use your existing Algolia application or create a new one for testing. Algolia needs to know your application ID to enable Ask AI for it.
Get started
-
Enable and Configure Ask AI.
Follow one of these guides, depending on your implementation:
-
Connect your LLM provider.
Ask AI is LLM-agnostic and supports several providers. You use your own API keys and are in control over usage, costs, and LLM behavior.
For more information, see Supported LLMs.
-
Test in the Ask AI playground.
Verify your setup using the Ask AI playground. Enter your application ID and Ask AI credentials to start testing.
-
Optimize accuracy and relevance.
Apply filters to reduce the search scope.
To ensure that Ask AI generates the most relevant and accurate answers, it’s best to create a dedicated index for your content.