Skip to main content
Braintrust experts can be given a knowledge base by connecting a Google Drive folder. When a user sends a message, chunks from the synced files that semantically match the query are automatically injected into the expert’s context.

How It Actually Works

Drive folder sync uses RAG (retrieval-augmented generation). It does not give the expert the ability to browse or search the folder on demand. Instead:
  1. Files in the connected folder are indexed and chunked.
  2. When a message arrives, the most semantically similar chunks are retrieved.
  3. Those chunks are injected into the expert’s context before it responds.
This means the expert only sees what the retrieval step surfaces — it cannot look up a specific document by name, navigate the folder structure, or confirm whether a file exists.

Setting Up Drive Folder Sync

1

Open the expert editor

Go to the expert’s detail page and click Edit Expert.
2

Go to Edit-Only settings

Scroll to the Edit-Only section at the bottom of the editor.
3

Add the Google Drive folder link

Paste the URL of the Google Drive folder you want to sync.
4

Save

Save the expert. Files will be indexed and chunks will be available for retrieval on the next message.
Keep the folder curated. Remove outdated, duplicate, or low-quality files — stale content degrades retrieval accuracy and can cause the expert to reference incorrect information.

Hives Reference

Add the Google Drive hive for active document retrieval.

Skills

Add reusable behavior packages and domain knowledge modules.

Expert Fields Reference

Full reference for all expert configuration fields.

Editing an Expert

Update an existing expert’s settings safely.