Skip to content

Knowledge bases

A knowledge base is a set of documents that agents search when they answer. It belongs to one subscription and has an owner.

  • Uploaded documents. Files are stored in blob storage, then parsed, split into chunks and embedded in the background. Layout parsing of uploaded files can use Azure Document Intelligence.
  • Websites. A website source crawls a site you have proved you own, lets you review the discovered pages, and indexes the ones you approve. Re-crawls keep it up to date. See Support agent from a website.

Indexing is the platform’s one asynchronous step:

  1. The knowledge-base service stores the item and publishes an indexing job on RabbitMQ.
  2. The knowledge indexer parses the file, chunks it, computes embeddings and writes the vectors.
  3. A failed job is retried 3 times. After that the item is marked Failed with the error, and the message goes to a dead-letter queue.

Re-indexing an item replaces its chunks, so a document that got shorter leaves no stale chunks behind. Deleting an item removes its vectors too.

StoreNotes
PostgreSQL with pgvectorThe default for self-hosting and the local stack.
Azure AI SearchAn alternative vector index.

Each chunk carries its subscription, its knowledge base and, for web pages, the page URL and title, so answers can cite the page. Every search filters on the subscription and the knowledge base.

Embeddings come from the configured provider: an Azure OpenAI deployment, or a local model through an OpenAI-compatible endpoint (the local stack uses text-embedding-nomic-embed-text-v1.5 in LM Studio, 768 dimensions). The vector dimensions must match the embedding model, so choose the model before you index.

  • A knowledge base is private to its owner by default.
  • The owner can share it for reading or for editing. An edit share can rename it, tag it and manage its items; only the owner changes sharing and visibility.
  • A user who can’t see a knowledge base gets 404; a user who can see it but not edit it gets 403 on a change.