FastAPI-RAG-API / README.md
HamidOmarov's picture
Spaces: docker SDK + clean README (UTF-8 no BOM, LF)
2fbf4a0
|
raw
history blame
378 Bytes
---
title: FastAPI RAG API
sdk: docker
pinned: false
---
# FastAPI RAG API
Minimal backend for RAG (FastAPI + FAISS + Sentence-Transformers).
Open /docs for the interactive API.
## Quick test
curl -F "[email protected]" https://<API>/upload_pdf
curl -H "Content-Type: application/json" -d "{\"question\":\"What is the document about?\",\"top_k\":5}" https://<API>/ask_question