Test knowledge base
Testing your knowledge base ensures your AI Agent provides accurate responses before publishing content to production.
Run a test
- Click on the Test button to open the testing interface.
- Select an AI Agent from the dropdown menu.
- Enter your message in the text box.
- Click the send icon to begin the conversation.
Understanding test results
The right panel provides tabs to help you analyze the test:
| Tab | What it shows |
|---|---|
| Details | The source documents used to generate the response |
| Context | Variables and context data available during the conversation |
| Conversation | Full conversation history and message details |
What to look for
When evaluating test results, check for:
- Correct information - Does the response match your knowledge base content?
- Source accuracy - Is the AI pulling from the right documents?
- Complete answers - Are all parts of the question addressed?
- Natural language - Does the response sound conversational?
Troubleshooting poor results
If your AI Agent provides incorrect or incomplete answers:
- Check content quality - Review the source document for clarity
- Add more context - Include background information in your content
- Reduce ambiguity - Ensure similar topics don't overlap confusingly
- Test variations - Try different phrasings of the same question
Next steps
- Publish content - Make tested content available to live agents
- Best practices - Improve your content quality
- Knowledge base overview - Learn more about knowledge base features