Knowledge Base
Connect your documents, data, and knowledge so agents can use them to answer questions and provide context.What Is Knowledge Base?
A knowledge base gives agents access to:- Company documentation
- Technical manuals
- Research papers
- Policies and procedures
- Product information
How It Works
- Upload Documents — Add PDFs, Word docs, text files, or connect to data sources
- Automatic Indexing — Xagent indexes and makes content searchable
- Semantic Retrieval — Agents find relevant information based on meaning, not just keywords
- Contextual Responses — Agents use retrieved knowledge to generate accurate answers
Setting Up Knowledge Base
Step 1: Navigate to Knowledge Base
Go to Knowledge in the sidebar.Step 2: Create a Collection
Organize related documents into collections:- Product Documentation
- Company Policies
- Technical Guides
- Research Papers
Step 3: Add Documents
Upload files or connect to external sources:Step 4: Assign to Agents
Select which agents can access each collection.Use Cases
Customer Support Agent
Connect:- Product documentation
- FAQs
- Troubleshooting guides
- Policy documents
Technical Assistant
Connect:- API references
- Code examples
- Architecture docs
- Runbooks
HR Assistant
Connect:- Employee handbook
- Benefits information
- Policy documents
- Forms and templates
Research Analyst
Connect:- Industry reports
- Academic papers
- Market research
- Internal studies
Best Practices
Managing Access
Agent-Level Access
Assign specific collections to each agent based on its purpose:- Support agents get product docs
- Sales agents get pricing and competitive info
- HR agents get policy documents
User-Level Access
Control who can query which knowledge:- Role-based access control
- Team-based collections
- Personal knowledge bases
Retrieval Augmented Generation (RAG)
Xagent uses RAG to improve accuracy:- Retrieve — Find relevant documents based on the query
- Augment — Use retrieved content as context
- Generate — Produce answers grounded in the retrieved information
- Accurate — Based on your actual documentation
- Citable — Sources can be referenced
- Updatable — Update documents to update agent knowledge