Spaces:
Sleeping
Sleeping
File size: 378 Bytes
19d85f2 a7a634d 2fbf4a0 a7a634d 2fbf4a0 a7a634d 2fbf4a0 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 |
---
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 |