Skip to main content

Knowledge Base System

The knowledge system provides sophisticated document processing and semantic search capabilities, enabling agents to access and utilise information from various sources.

Key Features

Process PDFs, documents, spreadsheets, images, and web content

Multiple strategies for optimal text segmentation

Vector-based search with optional reranking

User, agent, and run-specific knowledge scoping

Optional relationship extraction and storage

Automatic quality assessment for stored knowledge

Quick Start

Configuration Options

Basic Configuration

Advanced Configuration with Graph Store

Chunking Strategies

Document Processing

Supported File Types

  • PDF (.pdf)
  • Word (.doc, .docx)
  • Text (.txt)
  • Markdown (.md)
  • RTF (.rtf)

  • Excel (.xls, .xlsx)
  • CSV (.csv)
  • JSON (.json)
  • XML (.xml)

  • Images (OCR)
  • HTML pages
  • Web URLs
  • YouTube videos

Processing Options

Search Features

Advanced Search Options

Memory Integration

When used with agents, knowledge automatically integrates with memory:

Graph Store Features

Graph stores enable relationship extraction and complex queries beyond simple semantic search.

Configuration

Relationship Queries

Best Practices

Chunking Strategy

  • Smaller chunks (100-200 tokens): Better precision
  • Larger chunks (500-1000 tokens): Better context
  • Match chunk size to query complexity

Organisation

  • Separate collections by domain
  • Use metadata for filtering
  • Regular cleanup of outdated content

Performance

  • Enable caching for repeated queries
  • Use appropriate embedding models
  • Batch document processing

Quality

  • Verify document processing
  • Monitor search relevance
  • Regular reindexing if needed

Example: Research Assistant

Next Steps

Learn about memory integration

Build RAG applications