Sidharth Mohanty 9c4b023297 Use either `embedder` or `embedding_model` as YAML key (#905) 2 роки тому
..
bruno fa3ca1d08a [REST API] Incorporate changes related to REST API docs (#900) 2 роки тому
configs 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
.dockerignore 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
.gitignore 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
Dockerfile fa3ca1d08a [REST API] Incorporate changes related to REST API docs (#900) 2 роки тому
README.md 4b8cada873 [REST API] Change docker image name and update docs (#901) 2 роки тому
__init__.py 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
database.py 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
default.yaml 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
main.py e2546a653d [chore] fix rest api docs and other minor fixes (#902) 2 роки тому
models.py 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
requirements.txt 9c4b023297 Use either `embedder` or `embedding_model` as YAML key (#905) 2 роки тому
sample-config.yaml 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
services.py 8dd5cb9602 Add `rest-api` example (#889) 2 роки тому
utils.py e2546a653d [chore] fix rest api docs and other minor fixes (#902) 2 роки тому

README.md

Single command to rule them all,

docker run -d --name embedchain -p 8080:8080 embedchain/rest-api:latest

To run the app locally,

# will help reload on changes
DEVELOPMENT=True && python -m main

Using docker (locally),

docker build -t embedchain/rest-api:latest .
docker run -d --name embedchain -p 8080:8080 embedchain/rest-api:latest
docker image push embedchain/rest-api:latest