Back to projects
builds / aiIn progress

DocMind

Ask questions about your documents and get answers with citations. In progress.

  • Next.js
  • NestJS
  • FastAPI
  • PostgreSQL
  • RAG
type
AI document Q&A
status
In progress
DocMindillustrative example · sample document
store-returns-policy.pdfsource
  • [1] · page 2

    Items can be returned within 14 days of purchase with the original receipt.

  • [2] · page 3

    Refunds are made to the original payment method within 5 working days.

  • [3] · page 5

    Electronics must be returned unopened unless they are faulty.

How long do I have to return an item?

Hover or tap a citation to see where the answer came from.
overview

Answers you can check.

DocMind lets you ask questions about your documents in plain language. Every answer points back to the passages it came from, so you can open the source and check it yourself.

  1. 01

    Ask in plain words

    No search syntax. Ask the way you would ask a person.

  2. 02

    Grounded in your files

    Answers are built from passages found in your documents.

  3. 03

    Citations on every claim

    Each part of an answer links to the page it came from.

how it works

From a file to a cited answer.

Upload

You add a document. Its text is pulled out page by page, so every passage keeps its page number.

Next.js → NestJS
architecture

Four parts, one flow.

  1. Next.js

    web app

    Upload screen, chat and the source viewer with citations.

  2. NestJS

    api

    Accounts, documents and chat history. Passes questions to the AI service.

  3. FastAPI

    ai service

    Reads files, splits and embeds passages, retrieves them and writes the cited answer.

  4. PostgreSQL

    data

    Documents, passages and their vectors, plus chat history.

status
In progress

This build is still being worked on. Follow along on GitHub.