ElasticEmbeddings is a simple application, which exposes an API for semantic search.
The semantic search is done with OpenAI embeddings and Elasticsearch.
This application is intended to run in docker.
For the sake of convenience, a docker-compose.yml
file is provided, containing an Elasticsearch instance and the application itself.
- Ensure that you have a valid Azure OpenAI API key.
- Copy the
.env.template
file to.env
and fill in the values. - Run the application with:
docker-compose up -d
- The API is now available at
http://localhost:8080/swagger/index.html
.
An IPython notebook is provided to demonstrate the usage of the API. It can be found in demo.ipynb
.