Skip to content
All work
Case study · 09

Chatwave

Upload your documents. Ask them anything.

Try ChatwaveLive · no sign-up
Status
Live
Context
Personal project
My role
Product, design & engineering
Category
Document AI
Year
2026
chatwave.asrar.software
A Chatwave project in dark mode: three supplier documents ready on the left, and on the right the answer to a question about pump filter replacement, citing maintenance-guide.md, pump-manual.md and warranty-contract.txt with their pages.

Document AI · Web app · 2026

Chatwave reads your manuals, contracts and notes, then answers your questions using only what is written in them. Every answer shows the file and page it came from, and there is no sign-up: a private guest workspace opens in one click.

The story

How I built it

My role
Product, design & engineering
Context
Personal project

The problem

[01]

Contracts, manuals and reports pile up as files nobody wants to read. Keyword search finds words, not answers, and pasting private documents into a general chatbot means losing sight of where the answer came from, or whether it came from your file at all.

What I built

[02]

Chatwave keeps it small on purpose. You create a project, drop your documents in, and ask questions in plain language. Each project is its own little library and the search never leaves it. Every answer quotes the passages it used and cites the file and page, so checking it takes one click.

Key decisions

[03]
  1. Chunks that know their project

    Every chunk carries its project id, so the top-5 cosine search in pgvector filters by project directly, with no join and no way for one library to leak into another.

  2. The model never meets your files

    Files live in a private S3 bucket and the browser reads them through presigned links valid for five minutes. The answer model only ever sees the five passages it is given, with fixed rules on how to use them.

  3. Uploads go through a queue

    The API saves the file, publishes a document.uploaded event to a RabbitMQ topic exchange and answers at once. An ingestion worker takes one message at a time, extracts the text, chunks it at about 2,000 characters with a 200 overlap and embeds it, then publishes document.ready or document.failed. Messages are persistent, and one that crashes a worker goes to a dead-letter queue instead of being lost or retried forever.

The result

  • 5–15 sPer cited answer
  • 1,536Dimensions per chunk
  • 15API endpoints
Screens

The real product

Screenshots of the live product, taken with demo data. Open any of them full size.

  • [01]No sign-up: a private workspace opens in one click, straight from the browser.

  • [02]Projects keep each library separate: the search never leaves the project you opened.

  • [03]The whole architecture is documented inside the product, from chunking to citations.

  • [04]Light, dark or system: the interface follows your preference.

Features

What it does

I can take a retrieval product from idea to production: document ingestion, embeddings and vector search, a FastAPI backend with RabbitMQ workers, and a React front end that makes answers easy to trust.

[01]

Cited answers

Every answer ends with its sources: the exact file and page behind each claim, so you can open the original and check.

[02]

One project, one library

Search stays inside the project you opened. Manuals never mix with contracts, and a question in one project can never pull from another.

[03]

Only what is ready answers

Retrieval filters on fully ingested documents, so a half-processed file never leaks into an answer. Failed uploads surface with their error, not silence.

[04]

Upload and walk away

Dropping a file returns instantly. A worker picks it up from the queue and extracts, chunks and embeds it while the status moves from pending to ready.

[05]

Guest workspaces

No account, no email: click once and a private workspace tied to your browser session opens, with room for five projects and ten documents each.

[06]

Private by default

Files sit in a private bucket, served through links that expire after five minutes. Deleting a project removes its rows at once, and a cleanup worker listening for the event deletes its files.

Built with

The stack

Typed end to end and rendered on the server by default, with the rest chosen for what this product needed.

  • React
  • TypeScript
  • Tailwind CSS
  • React Query
  • Python
  • FastAPI
  • PostgreSQL
  • RabbitMQ
  • AWS
  • OpenAI
  • Claude

Hiring? Let's talk.

Tell me about the role and the team. I reply within one business day.