Document AI

Quivellox

Ask a question about your documents and check the answer against the original PDF passage.

My role
Full-stack developer
Delivery
Knowledge workspace
Evidence desk / Sample data
Quivellox’s inquiry desk displays an escalation question, its cited answer and the passage from page 12 in the evidence inspector.
Quivellox’s inquiry desk, shown with a sample conversation. The evidence inspector keeps the cited passage beside the answer.
Sample question & answer

What is the incident escalation timeline?

Complete initial triage within 15 minutes. Escalate to the security team within one hour. [1] View source

Security incident response.pdfpage 12
“The initial detection and triage must be completed within 15 minutes of alert identification. Escalation to the security team shall occur within 1 hour.”
Sample policy · Source [1] Back to answer

What shipped

Readers can ask questions about uploaded PDFs and verify a cited answer against the passage it came from.

The problem

Knowledge workers spend hours searching through documents, wikis, and notes for answers that should take seconds to find.

How I built it

Built a RAG pipeline: documents are chunked, embedded, and stored in a vector database. Queries retrieve the most relevant chunks, which are passed to an LLM that generates an answer with source citations.

Key decisions

  1. Supabase pgvector over Pinecone — keeping vector data in the same Postgres instance simplified auth and reduced latency
  2. Show the evidence beside the answer so a reader can inspect the source without losing their place in the conversation.
  3. Source citations in every response — users need to verify AI answers against original documents

What I’d change

Chunk size tuning was harder than expected — different document types need different strategies. Would build an evaluation harness from day one.

Work with Joseph

Have a similar project?

Start a similar project
Next case studyBorynx