How to test what the knowledge base finds
Type a question in the Playground and see which passages from the knowledge base the agent would find before a customer asks.
1 min readBasicUpdated on November 12, 2026
Where to find it in Cognizy
Video lesson coming soon. For now, follow the steps below.
Before replying, the agent searches the knowledge base for the passages that best match the question. In the Playground, you can see that search from the inside: which passages are returned and with what score. If the right passage doesn’t appear, the problem is with the document, not the agent.
Where to find it in Cognizy
Before you start
- Have a knowledge base with documents.
- Search uses AI credits.
Step by step
- Step 1:
Open and click Test agents.
- Step 2:
In Tested agent, choose the agent. Then click the RAG Search tab.
- Step 3:
Type the question the way a customer would write it and click Search.
- Step 4:
Look at the passages that were returned, from the most similar to the least. The score next to each one shows how well it matches the question.
How to know it worked
The search shows the passage from the document that has the answer. That’s what the agent uses to reply to the customer.
If it doesn’t work
The right passage didn’t appear.
Rewrite the document using the words the customer uses, or create a short document just about that topic, and test again.
Next step
Chat with the agent in the Chat tab to see the full reply.
Sign in with your Cognizy account to save your progress.
Sign in