Spaces:
Sleeping
Sleeping
Commit
·
2538431
1
Parent(s):
19d85f2
docs: clean README frontmatter (UTF-8 no BOM)
Browse files
README.md
CHANGED
@@ -1,9 +1,4 @@
|
|
1 |
-
<<<<<<< HEAD
|
2 |
-
---
|
3 |
-
=======
|
4 |
-
@'
|
5 |
---
|
6 |
-
>>>>>>> fb5b684 (docs: UTF-8 README with Spaces metadata; mark *.md as text; ignore README.bak.md)
|
7 |
title: FastAPI RAG API
|
8 |
emoji: 🧠
|
9 |
colorFrom: indigo
|
@@ -27,7 +22,6 @@ Ask questions about your PDFs using vector search (FAISS) + sentence embeddings.
|
|
27 |
Robust to numeric/table-heavy docs, with optional AZ→EN translation and fallbacks.
|
28 |
|
29 |
## Quick test
|
30 |
-
<<<<<<< HEAD
|
31 |
curl -F "[email protected]" https://<API>/upload_pdf
|
32 |
curl -H "Content-Type: application/json" -d '{"question":"What is the document about?","top_k":5}' https://<API>/ask_question
|
33 |
|
@@ -35,9 +29,4 @@ curl -H "Content-Type: application/json" -d '{"question":"What is the document a
|
|
35 |
- GET /health • GET /stats • GET /get_history • POST /reset_index
|
36 |
|
37 |
## Stack
|
38 |
-
FastAPI · sentence-transformers · FAISS · pypdf · Hugging Face Spaces
|
39 |
-
=======
|
40 |
-
```bash
|
41 |
-
curl -F "[email protected]" https://<API>/upload_pdf
|
42 |
-
curl -H "Content-Type: application/json" -d '{"question":"What is the document about?","top_k":5}' https://<API>/ask_question
|
43 |
-
>>>>>>> fb5b684 (docs: UTF-8 README with Spaces metadata; mark *.md as text; ignore README.bak.md)
|
|
|
|
|
|
|
|
|
|
|
1 |
---
|
|
|
2 |
title: FastAPI RAG API
|
3 |
emoji: 🧠
|
4 |
colorFrom: indigo
|
|
|
22 |
Robust to numeric/table-heavy docs, with optional AZ→EN translation and fallbacks.
|
23 |
|
24 |
## Quick test
|
|
|
25 |
curl -F "[email protected]" https://<API>/upload_pdf
|
26 |
curl -H "Content-Type: application/json" -d '{"question":"What is the document about?","top_k":5}' https://<API>/ask_question
|
27 |
|
|
|
29 |
- GET /health • GET /stats • GET /get_history • POST /reset_index
|
30 |
|
31 |
## Stack
|
32 |
+
FastAPI · sentence-transformers · FAISS · pypdf · Hugging Face Spaces
|
|
|
|
|
|
|
|
|
|