Knowledge Bases
Self-serve policy grounding with MarkItDown chunking and hybrid retrieval.
Quotas
| Plan | KBs | Docs / KB | Max file |
|---|---|---|---|
| Freemium | 1 | 3 | 5 MB |
| Paid | unlimited | unlimited | 25 MB safety ceiling |
Pipeline
- Upload PDF / DOCX / MD / TXT → MarkItDown → Markdown
- Heading-aware chunking + PII redaction
- SHA-256 content-hash deduplication
- Hybrid BM25 sparse + dense (Qdrant) with Postgres BM25 offline fallback
Attach to rubrics
Set knowledge_base_id on a custom rubric, or pass kb_id / sources.documents on evaluate.
{
"kb_id": "kb_…",
"sources": { "documents": true, "annotations": true, "memory": true, "calibration_tau": true }
}