Skip to main content
Knowledge Bases define the ground truth knowledge your agents rely on by centralizing your company’s documents, sites, and internal content so they can answer consistently and accurately, while also acting as reusable knowledge layers that multiple agents and templates can attach to—making it easier to keep information updated, enforce brand and policy alignment, and roll out new use cases without duplicating content. Integrate your own documents, or knowledge to deliver grounded, brand-specific conversations. Agents can dynamically reference multiple resources, ensuring accuracy, consistency, and contextual knowledge. With Knowledge Base integration, every answer is context-aware, brand-true, and rooted in your company’s knowledge-not generic guesses. We support two modes of interaction with Knowledge Bases while the agent responds:
  1. Agentic RAG – The LLM decides when and which knowledge bases or collections to search based on the user’s query and conversation context.
  2. Traditional RAG – Every user query is always searched against the configured knowledge bases, and the retrieved context is passed to the LLM.

Getting Started

Documents and websites are indexed and made available to agents using the Knowledge Base component.
1

Step 1 - Open Knowledge Base in the dashboard

Go to https://app.trugen.ai and in the left panel, under Configure, click on Knowledge Base.
2

Step 2 - Create a new Knowledge Base

Click Create New, give your Knowledge Base a clear Name and Description so agents know when to use it.
3

Step 3 - Add your content

Use one of the three options: Add files, Add text, or Add URL. Upload your documents or paste/enter content, then click Save & Create.
4

Step 4 - Wait for indexing

The system will extract, clean, chunk, and index your content. Once processing is complete, you can select this Knowledge Base when creating or updating an agent.
Name and Description of the knowledge base is one of the most important components; these are the fields the agent uses to decide whether to use that knowledge base or not.

Example

Name: Get-HR-Policies
Description: Use this whenever the user is asking any question about HR policies.
Knowledge Base creation and management can be performed using the API’s or our Developer Platform.

Know More

Our API References sections have several endpoints to create and manage Knowledge Base.

Knowledge Base - API Reference

Explore full set of supported APIs to create and manage Knowledge Base.