mirror of
https://github.com/khoaliber/khoj.git
synced 2026-03-02 13:18:18 +00:00
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
172 B
YAML
11 lines
172 B
YAML
name: semantic-search
|
|
channels:
|
|
- conda-forge
|
|
dependencies:
|
|
- python=3.*
|
|
- numpy=1.21.*
|
|
- pytorch
|
|
- transformers
|
|
- sentence-transformers
|
|
- fastapi
|
|
- uvicorn |