Skip to main content

Knowledge Bases

A Knowledge Base (KB) is an isolated corpus you index for retrieval. Content flows into a KB from Data Hub (uploads or connector sync), gets chunked and embedded, and is queried via the search and retrieve-and-generate endpoints.

The Advania ALT KB API is OpenAI-compatible where the OpenAI shape exists, and adds first-party endpoints for the KB-specific parts (create, add documents, search, retrieve-and-generate). The interactive OpenAPI at api.alt.advania.ai/docs is the source of truth for endpoints, request bodies, and response shapes.

In this section

  • Data Hub — the ingestion side (files and connectors)
  • Guardrails — every retrieve-and-generate request flows through them