// CONTENTS Part 08 · Knowledge and AI

// PART 08

Sources and indexing

Chapter 34 / 60 2 min read English Part 08 of 15

“Sources” is where everything the assistant can reference is connected: repositories, models, MCP servers, mail accounts and API keys. It is not a launcher app — the capability lives as the Data Sources tab of the Integrations app, and this chapter covers the indexing side of what lands there.

Where sources live

Section of Integrations → Data Sources Contents
MCP Servers Registered Model Context Protocol servers, tool counts, enable/disable
Repositories Git repositories available as task context
Models Language models and the active configuration
Accounts IMAP accounts connected as context sources
API Keys Bring-your-own keys for LLM providers

The /sources URL resolves to the Integrations app; the legacy standalone page was removed when the tab replaced it.

From folders to collections

Indexing starts from the bot’s .gbkb/ folder. Each subfolder becomes a distinct vector collection, indexed separately and activatable independently — the folder name is the collection name used by USE KB.

When the platform processes a .gbkb folder it:

  1. Detects changes. Only new or modified files since the last run are processed, so unchanged content is never re-embedded.
  2. Extracts text. PDF extraction handles complex layouts, DOCX unwraps the underlying XML, and plain-text formats are read directly, preserving paragraph structure.
  3. Embeds. The extracted text is converted to a vector; which model does this depends on configuration.
  4. Stores. Each record carries the file path, type, bucket and tags, and is written to the vector database.

Remove a file and it disappears from search; add one and it becomes searchable.

The accuracy note that matters

Documents are indexed as whole-file records. There is no text chunking step and no overlap between chunks, which is why very long documents can lose precision — the whole file competes for one record. Structure your knowledge accordingly: a folder of focused documents retrieves better than one enormous manual.

What is not indexed

Content State
Documents in the supported formats Indexed into vector collections
Docs-app saved documents A separate, structure-aware citation index (see “Knowledge Base”)
Repositories and MCP tools Connected as sources, not embedded as knowledge
Media without extractable text Stored in Drive, referenced by name

Found a mistake? Open an issue · All books

// SEARCH ESC
Pagefind · 236 pages · 4 books Enter to open ↑ ↓ to move