Skip to content

Knowledge Base System Overview 🟑 BETA

This overview maps the retrieval, indexing, memory and caching pages in the Knowledge & AI chapter to the mechanism each one documents.

Developer guide map

Page Mechanism
README.md Chapter index and feature categories.
kb-and-tools.md Session activation of knowledge and tools.
vector-collections.md Tenant-scoped collections from .gbkb folders.
indexing.md Whole-file embedding and metadata storage.
hybrid-search.md Six rag-mode strategies and their fallbacks.
episodic-memory.md Config-driven conversation summarisation.
caching.md Exact and similarity-based LLM answer reuse.

Key Configuration Parameters

Knowledge Base

Key Purpose
rag-mode Selects standard, hybrid, corrective, graph, agentic or multimodal.
mention-class Allows or suppresses KB and website retrieval.
embedding-url, embedding-model, embedding-dimensions Vector generation for indexed content.

Episodic Memory

Key Default in code
episodic-memory-enabled true
episodic-memory-threshold 4
episodic-memory-history 2
episodic-memory-retention-days 365

LLM Cache

Key Default in code
llm-cache true
llm-cache-ttl 3600
llm-cache-semantic false
llm-cache-threshold 0.95

How to Use This Overview

Start at Retrieval and RAG for query behaviour, then follow Document Indexing for how records enter a collection. Use Episodic Memory and Semantic Caching for the two separate history and answer-reuse mechanisms.

Limits

  • All defaults above come from source; a deployment may override them per bot.
  • No chunk-size, overlap or top-k tuning key exists in the current code.
  • The Docs citation index returns identity only, never document text.

See Also