Skip to main content
Docbot uses Qdrant as its vector database for storing and searching document and code embeddings.

Setup

When you run docbot init, it can automatically set up a local Qdrant instance using Docker:
docbot init
To skip Docker setup and configure Qdrant manually:
docbot init --skip-docker

Manual setup

Run Qdrant locally with Docker:
docker run --rm -p 6333:6333 -v "$(pwd)/qdrant_storage:/qdrant/storage" qdrant/qdrant

Configuration

{
  "qdrant": {
    "url": "http://127.0.0.1:6333",
    "manifestPath": ".docbot/manifest.json",
    "collections": {
      "docs": "docbot_my-project_docs",
      "code": "docbot_my-project_code"
    }
  }
}

Configuration options

qdrant.url
string
default:"http://127.0.0.1:6333"
Qdrant server URL. Can be a local instance or a remote Qdrant Cloud URL.Examples:
  • Local: "http://127.0.0.1:6333"
  • Remote: "https://your-cluster.qdrant.io"
qdrant.manifestPath
string
default:".docbot/manifest.json"
Custom path for the indexing manifest file. The manifest tracks which files have been indexed.Example: ".docbot/manifest.json"
qdrant.collections
object
Custom collection names for docs and code embeddings. If not specified, collection names are auto-generated from projectSlug.
qdrant.collections.docs
string
Collection name for documentation embeddings.Default format: docbot_{projectSlug}_docsExample: "docbot_my-project_docs"
qdrant.collections.code
string
Collection name for codebase embeddings.Default format: docbot_{projectSlug}_codeExample: "docbot_my-project_code"

Collection naming

By default, Qdrant collections are named using your projectSlug:
  • Docs collection: docbot_{projectSlug}_docs
  • Code collection: docbot_{projectSlug}_code
The project slug is sanitized to lowercase alphanumeric characters and hyphens only. If you don’t specify a projectSlug, Docbot uses your package.json name.

CLI overrides

You can override the Qdrant URL using the --qdrant-url flag:
docbot index --qdrant-url http://localhost:6333
docbot run "task" --qdrant-url http://localhost:6333

Force re-indexing

To rebuild embeddings from scratch, ignoring the manifest:
docbot index --force
docbot run "task" --force

Configuration overview

Learn about all configuration options

Model configuration

Configure AI models for different tasks

Build docs developers (and LLMs) love