Self-hosted Embeddings API for "Fullstack Vectors" course
- pip install -r requirements.txt
- uvicorn src.main:app --host 0.0.0.0 --port 7000 --proxy-headers --reload
- pip install pipreqs
- pipreqs . --force
curl -X POST http://localhost:7000/huggingface/embedding \
-H "Content-Type: application/json" \
-d '{"input": "hello world"}'