All case studies

Document Q&A, packaged as a product anyone can buy

Client
My own product
Role
Everything. Product, engineering, pricing and selling.
Period
2026

The problem

Plenty of teams have the same problem: a pile of documents nobody can search properly, and the answer buried somewhere inside them. Most of them do not want a consulting engagement. They want the thing to already exist.

Building it once for one client solves it once. Packaging it means the same work keeps paying, and a buyer can try it before ever speaking to me.

What I built

  • A live public demo that answers questions against sample documents with no signup, so a buyer can judge the quality in about thirty seconds.
  • Answers with citations that point back to the exact passage, plus a confidence signal, because an answer you cannot check is not worth much.
  • Simple paid access without a card processor: a customer asks on WhatsApp or email, pays, and I issue a key from the admin console with a paid-until date. Their portal shows usage and renewal, and reminder emails go out a week and a day before access ends.
  • Per account quotas and per visitor rate limits enforced atomically in the database, so usage cannot be exceeded under concurrency and a free public demo cannot run up an unbounded inference bill.

The hard part

Keeping a free public demo open without it becoming a large bill, and getting answers to say so when the document doesn't cover the question. Retrieval itself is a known pattern; the limits, the spend ceiling and the refusals are where most of the work went.

Outcome

Live and buyable

Try the demo, pick a plan, get a key the same day

Cited answers

Every claim points back to its source passage

Cost controlled

Quotas and spend ceilings enforced in the database

Stack

Next.jsNestJSTypeScriptpgvectorPostgreSQLGemini embeddings

This one is live

Document Q&A with Citations

Ask contracts, policies, and reports in plain English. Every answer cites the exact source passage.

Try it and see pricing

Have a similar problem?

Ask me about it here on the site, start a video call, or book a time that suits you. If this isn't the right approach for you, I'll say so.

Talha is away, leave a message