An open API service indexing awesome lists of open source software.

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.

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`