Interactive Q&A demo
Reference deployment — fixed demo corpus, honest pilot boundaries.
Use example questions or type your own against the reference eight-document corpus. Responses include cited sources so technical stakeholders can verify grounding before a larger build.
- 8policy documents
- /asklive API
- 3fields per source
How it works
- Embed the question — same model contract as the indexed corpus.
- Retrieve top-k — FAISS returns the closest policy/runbook chunks.
-
Answer with citations — the API returns
answerplussources[](document, page, chunk_id).
Reference corpus only (sample policies in data/raw_docs/) — not a consumer chat product. Production pilots define your corpus, access controls, and hosting in scope.
Ask the demo corpus
Fixed index: 8 synthetic policy documents (SLA, billing, refunds, incident response, support workflow, onboarding, pricing, internal FAQ) from data/raw_docs/. Example chips below map to those themes.
Calls POST /ask on the deployed API from your browser. If the request is blocked (CORS or API key on the server), use
API docs or curl instead.
Try an example (fills the box; then press Ask):
Answer
This answer was generated using retrieved document context. The passages listed under retrieved evidence are what the model was shown.
Retrieved evidence
Chunks returned by the API as supporting context for the answer above.