What is the knowledge base?
The knowledge base (KB) is a collection of reference documents that provide context about your agent’s domain. When SuperBryn generates test scenarios, KB content is injected into the generation prompts so the AI creates contextually accurate, domain-specific test cases.Document types
| Type | Purpose | Example |
|---|---|---|
| Policy & Guardrails | Rules the agent must follow | Compliance requirements, safety rules |
| Additional Details | Domain-specific context | Menu data, product catalog, FAQ content |
Uploading documents
- Go to the Knowledge Center in Agent Settings
- Click Upload and select your file(s)
- Supported formats:
.txt,.pdf, and other text-based formats - Documents are automatically extracted and stored
How KB content is used
During scenario generation, KB content is included in the LLM prompts:- Ring 1: Scenarios reference actual products, services, or data from your KB
- Ring 2: Policy scenarios test against real guardrails
- Ring 5/6: Realistic scenarios grounded in actual agent domain
Best practices
- Upload the same documents your agent has access to — this ensures test scenarios match real interactions
- Keep documents focused: one document per topic area
- Update KB documents when your agent’s reference data changes
- Include edge cases in your additional details (e.g., “This is a South Indian restaurant — do not generate scenarios involving pizza or burgers”)

