Skip to main content

Knowledge Base Overview

The Knowledge Base (KB) enables you to enhance your agents with domain-specific information, making them more accurate and useful for specialized tasks.

What is Knowledge Base?

A knowledge base is a collection of documents and data that your agent can reference when answering questions or executing tasks. Instead of relying solely on pre-trained knowledge, agents can access your proprietary information.

Why Use Knowledge Base?

Domain Expertise

Give agents specialized knowledge in your field

Accurate Answers

Base responses on your actual data and documents

Easy Updates

Keep information current by updating the knowledge base

Privacy Control

Keep sensitive data within your controlled environment

Key Features

Uses semantic search to find relevant information:
  • Understands meaning, not just keywords
  • Finds related concepts
  • Ranks results by relevance

Multiple File Formats

Supports various document types:
  • Documents: PDF, DOCX, TXT, MD
  • Spreadsheets: CSV, XLSX
  • Presentations: PPTX
  • Web: HTML content
  • Code: Source code files

Context-Aware Retrieval

Integrates retrieved knowledge into responses:
  • Automatic context selection
  • Relevance scoring
  • Source attribution

Use Cases

Customer Support

Upload:
  • Product manuals
  • FAQs
  • Policy documents
  • Troubleshooting guides
Result: Agents answer questions based on your actual documentation.

Research & Analysis

Upload:
  • Research papers
  • Industry reports
  • Case studies
  • Historical data
Result: Agents ground their analysis in your research materials. Upload:
  • Regulations
  • Compliance documents
  • Legal precedents
  • Company policies
Result: Agents ensure responses align with requirements.

Technical Documentation

Upload:
  • API documentation
  • Technical specs
  • Code documentation
  • Architecture diagrams
Result: Accurate technical assistance based on your systems.

Knowledge Base Workflow

1
Prepare documents Gather and organize your source materials
2
Upload files Add documents to your knowledge base
3
Automatic processing Xagent processes and indexes your content
4
Attach to agent Link knowledge base to your agents
5
Enhanced responses Agents use knowledge to provide accurate answers

Managing Knowledge Bases

Creating KBs

Create multiple knowledge bases for different use cases:
  • Product documentation
  • Company policies
  • Technical specifications
  • Research materials

Updating Content

Keep knowledge current:
  • Add new documents
  • Update existing files
  • Remove outdated content
  • Automatic re-indexing

Access Control

Control who can use each knowledge base:
  • Public templates
  • Team-specific KBs
  • Private knowledge
  • Permission management

Best Practices

Document Organization

  • Group related content together
  • Use clear file names
  • Maintain consistent structure
  • Update regularly

Content Quality

  • Ensure accuracy and currency
  • Use clear, concise language
  • Include examples where helpful
  • Standardize formatting

Size Considerations

  • Start with key documents
  • Add content incrementally
  • Monitor retrieval quality
  • Balance breadth vs depth

Next Steps