Create API interface for Semantic Search

Use FastAPI, Uvicorn to create app with API endpoint at /search
Example Query: http://localhost:8000/?q="why sleep?"&t="notes'&n=5
This commit is contained in:
Debanjum Singh Solanky
2021-08-15 17:50:08 -07:00
parent e3088c8cf8
commit d75df54385
3 changed files with 75 additions and 0 deletions

View File

@@ -7,3 +7,5 @@ dependencies:
- pytorch
- transformers
- sentence-transformers
- fastapi
- uvicorn