https://github.com/manav-khandurie/fastapi_chromasearch
As a take-home task for CYBERNETYX, we propose implementing a lightweight FastAPl server for RAG. This server should utilize ChromaDB's persistent client for ingesting and querying documents (PDE DOC, DOCX, TXT). Leverage sentence-transformers/all-MiniLM-L6-v2 (CPU) from Hugging Face for embeddings.
https://github.com/manav-khandurie/fastapi_chromasearch
fastapi huggingface rag
Last synced: about 2 months ago
JSON representation
As a take-home task for CYBERNETYX, we propose implementing a lightweight FastAPl server for RAG. This server should utilize ChromaDB's persistent client for ingesting and querying documents (PDE DOC, DOCX, TXT). Leverage sentence-transformers/all-MiniLM-L6-v2 (CPU) from Hugging Face for embeddings.
- Host: GitHub
- URL: https://github.com/manav-khandurie/fastapi_chromasearch
- Owner: Manav-Khandurie
- License: gpl-3.0
- Created: 2024-11-06T18:11:52.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-11-06T19:39:04.000Z (over 1 year ago)
- Last Synced: 2025-03-29T12:47:32.210Z (about 1 year ago)
- Topics: fastapi, huggingface, rag
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# FastAPI_ChromaSearch
As a take-home task for CYBERNETYX, we propose implementing a lightweight FastAPl server for RAG. This server should utilize ChromaDB's persistent client for ingesting and querying documents (PDE DOC, DOCX, TXT). Leverage sentence-transformers/all-MiniLM-L6-v2 (CPU) from Hugging Face for embeddings.
# Steps
S-1) Create a virtual environment
`python -m venv venv`
S-2) Activate Virtual Environment
`.\venv\Scripts\activate`
S-3) Install packages
`pip install -r requirements.txt`
S-4) Run FastAPI server
`uvicorn main:app --host 0.0.0.0 --port 8000 --reload`