botserver/docs/src/chapter-03/summary.md

1.9 KiB
Raw Blame History

Chapter 03 KnowledgeBase (VectorDB) Documentation Overview

This chapter explains how GeneralBots manages knowledgebase collections, indexing, caching, and semantic search. The implementation uses vector databases for semantic search and highlights the use of the .gbdrive package for storage when needed.

Document File Description
README README.md Highlevel reference for the .gbkb package and its core commands (USE KB, CLEAR KB, USE WEBSITE).
Caching caching.md Optional inmemory and persistent SQLite caching to speed up frequent FIND queries.
Context Compaction context-compaction.md Techniques to keep the LLM context window within limits (summarization, memory pruning, sliding window).
Indexing indexing.md Process of extracting, chunking, embedding, and storing document vectors in the VectorDB.
Semantic Caching caching.md Intelligent caching for LLM responses, including semantic similarity matching.
Semantic Search semantic-search.md How the FIND keyword performs meaningbased retrieval using the VectorDB.
Vector Collections vector-collections.md Definition and management of vector collections, including creation, document addition, and usage in dialogs.

How to Use This Overview

  • Navigate: Click the file links to read the full documentation for each topic.
  • Reference: Use this table as a quick lookup when developing or extending knowledgebase functionality.
  • Update: When the underlying storage or VectorDB implementation changes, edit the corresponding markdown files and keep this summary in sync.

This summary was added to provide a cohesive overview of Chapter03, aligning terminology with the current architecture (VectorDB, .gbdrive, etc.).