mirror of
https://github.com/khoj-ai/khoj.git
synced 2024-11-27 17:35:07 +01:00
d75df54385
Use FastAPI, Uvicorn to create app with API endpoint at /search Example Query: http://localhost:8000/?q="why sleep?"&t="notes'&n=5
11 lines
No EOL
172 B
YAML
11 lines
No EOL
172 B
YAML
name: semantic-search
|
|
channels:
|
|
- conda-forge
|
|
dependencies:
|
|
- python=3.*
|
|
- numpy=1.21.*
|
|
- pytorch
|
|
- transformers
|
|
- sentence-transformers
|
|
- fastapi
|
|
- uvicorn |