Skip to main content

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

TypePurposeExample
Policy & GuardrailsRules the agent must followCompliance requirements, safety rules
Additional DetailsDomain-specific contextMenu data, product catalog, FAQ content

Uploading documents

  1. Go to the Knowledge Center in Agent Settings
  2. Click Upload and select your file(s)
  3. Supported formats: .txt, .pdf, and other text-based formats
  4. 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
Example: If you upload a restaurant menu, generated scenarios will reference real menu items (dosa, idli, vada) instead of generic placeholders (item A, item B).

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”)