Knowledge Bases
Upload documents and ask grounded questions.
Knowledge Bases let you attach private documents to your account, ingest them into searchable chunks, and use those snippets to answer questions with citations.
Scope
Only your signed-in account can see and use these documents.
Input types
Text, markdown, and PDF files where supported by ingest.
Output
Answers include source snippets and citation references when available.
Workflow
From upload to grounded answer.
The dashboard shows ingest progress, and the query endpoint returns citations from the documents you uploaded.
Step 1
Create a Knowledge Base
Name it for the project, team, or use case you want to ground. The collection is scoped to your account.
Step 2
Upload a document
Add a text, markdown, or PDF file. The dashboard will show the ingest status as the document is processed.
Step 3
Wait for ingest
Extraction and chunking happen before retrieval can answer questions from your uploaded content.
Step 4
Ask a question
Use the query box or the KB query endpoint to ask for the information stored in the uploaded documents.
Step 5
Read citations
Answers can include source snippets so you can trace the model response back to the uploaded document.
Query
Ask your uploaded documents.
Query the collection after ingest completes. Answers are grounded in the uploaded content and can include source snippets that point back to the original document.
What to expect
- • Answers are based on your uploaded files, not the global model context.
- • Citations show where the answer came from when available.
- • Model-backed queries may count toward usage.
KB query
shell
curl https://api.anzoth.com/v1/auth/knowledge-bases/KB_ID/query \
-H "Authorization: Bearer YOUR_GENESIS_API_KEY" \
-H "Content-Type: application/json" \
-d '{
"query": "What is the answer word for the smoke test phrase?",
"max_tokens": 256
}'POST /v1/auth/knowledge-bases/{kb_id}/query
Next
