This is a simple FastAPI project with a vector database service (in-memory example).
- Install dependencies:
pip install -r requirements.txt - Start the server:
uvicorn app.main:app --reload
- POST
/add-vectorwith JSON body{ "vector": [1.0, 2.0, 3.0] }
Replace the in-memory vector DB with a real one (e.g., Pinecone, Qdrant, FAISS) as needed.