FastAPI-RAG-API / README.md
HamidOmarov's picture
Docs: README + MIT license + repo .gitignore
de26ec1
|
raw
history blame
708 Bytes

FastAPI RAG API

Live demo

What it does

Ask questions about your PDFs using vector search (FAISS) + sentence embeddings. Robust to numeric/table-heavy docs, with AZ>EN translation and fallbacks.

Quick test

curl -F "[email protected]" https:///upload_pdf curl -H "Content-Type: application/json" ^ -d "{"question":"What is the document about?","top_k":5}" https:///ask_question

Ops

  • GET /health - GET /stats - POST /reset_index

Stack

FastAPI � FAISS � sentence-transformers � pdfminer.six � Hugging Face Spaces