Ingestion · offline
documents/
PDF, Markdown, HTML
parse + clean
keep headings & ids
chunk
structure-aware, overlap
embed
vector per chunk
index
vectors + metadata
Query · online
question
user input
retrieve top-k
hybrid: vector + keyword
rerank
keep the best 4
generate
answer only from sources
answer + [1][2]
citations to chunks
Knowledge Assistant with RAG
Build an assistant that answers questions over a private document set, retrieves the passages it relies on and cites them in every answer. You own the full pipeline, from ingestion to source-aware responses.
- Chunking
- Embeddings
- Vector search
- Citations
- Context budgets
- Grounding