AskDocuMind API

Ask your documents anything

Upload a document, ask a question, and get an answer grounded in its content, with sources cited, not a guess.

Screenshot of AskDocuMind answering a question about an uploaded documentScreenshot of AskDocuMind answering a question about an uploaded document

Buried in documents, searching for one fact?

Long documents hide the one detail you need, and manual searching burns time you don't have.

Reports, papers, and manuals pile up fast, and the answer you need is often buried somewhere in the middle of fifty pages you don't have time to read.

Every time a question comes up, you're back in the same document, rereading pages you've already been through just to confirm a detail you half-remember.

Ctrl+F only works if you guess the exact wording used in the document, so you end up scanning page by page hoping to spot the right paragraph.

What AskDocuMind does

AskDocuMind is a document-aware chatbot API built with Python, LangChain, and pgvector. You upload a file, ask a question in plain language, and the system retrieves the relevant passages and answers from them. Every response names the document it pulled from, so you can verify the answer instead of just trusting it.

Diagram of how AskDocuMind answers a question from an uploaded documentDiagram of how AskDocuMind answers a question from an uploaded document

Who this is for

Developers evaluating a document-QA API before building on it

Students and researchers digging through long research papers

Anyone tired of rereading a document to find one fact

How it works

1

Upload

Add a PDF, DOCX, TXT, or Markdown file.

2

Process

Your document is chunked and embedded.

3

Ask

Ask questions about it in natural language.

4

Get Answers

Receive grounded, cited responses.

Built with

PythonFastAPILangChainpgvectorPostgreSQLSQLAlchemyAlembicDoclingSentrySlowAPIUvicornPythonFastAPILangChainpgvectorPostgreSQLSQLAlchemyAlembicDoclingSentrySlowAPIUvicorn

Curious how it works under the hood?

View the architecture

Why it matters

Grounded answers

Responses trace back to your document, not a hallucination.

Fast

Skip the manual searching and skimming.

Session-based & private

Documents aren't kept around forever.

Open source

The full implementation is on GitHub.

Multi-format support

Upload PDFs, DOCX, TXT, Markdown, HTML, or CSV files.

Easy integration

A simple REST API that drops into any application.

Ready to try it?

Upload a document and see AskDocuMind answer real questions about it.

Try the Demo