Skip to content

Knowledge Base Migration 🟑 BETA

Knowledge migration means copying exported documents into a Drive knowledge base and verifying the answers they produce.

The desktop guide map: Chat and Drive, the four engines, settings and help

Overview

Knowledge migration copies exported documents into a bot .gbkb/ bucket and verifies that answers come from those files.

Source Systems

Source Export method
Cloud document store Provider export into /tmp
Local files Copy from the user's own machine
Another bot oc copy between buckets
Web pages Save as local documents before import

Document Types

PDF, Word and plain text are read by the assistant; the desktop edition also reads text from images with local OCR on Windows (DESIGN-SYSTEM.md Β§0). Photos above 25 MB are reduced before they reach a vision-capable engine.

Migration Process

  1. Export the originals into /tmp.
  2. Organise them by topic under a .gbkb/ prefix.
  3. Copy with oc using Vault credentials.
  4. Ask a fixed question set and compare the answer with the source.
  5. Keep the export until verification passes.

1. Export

Keep the original files and record where each came from; do not edit the export in place.

2. Organize

Group documents by topic; retrieval keys and configuration live under botserver/src/core/bot/kb_context/.

3. Import

Use oc cp into {bot}.gbai/{bot}.gbkb/docs/; the drive monitor reloads the bucket.

Considerations

Consideration Handling
Volume Copy in batches and verify each batch
Quality Remove stale or contradictory documents
Structure Use topic folders, not filename conventions alone

Volume

No maximum document count is published here; measure on the target machine.

Quality

A wrong answer is usually a wrong source document; fix the source, not the prompt.

Structure

Organise by topic so that a reviewer can find the source of an answer.

Format Conversion

Convert to a readable format outside the repository; no converter is shipped with the product.

Testing

Ask questions whose answers exist verbatim in the imported documents, in a fresh session, before accepting the migration.

Next Steps

Read Validation and Common Migration Concepts.

Limits

  • No chunk size, embedding model name, top-k or threshold is documented here.
  • No automated converter from another vendor's knowledge base exists.
  • Drive content is manipulated with oc, never by writing into a local filesystem path.
  • The local engine is required when no document text may leave the machine.