Skip to content

ElasticEmbeddings is a simple application, which exposes an API for semantic search. The semantic search is done with OpenAI embeddings and Elasticsearch.

Notifications You must be signed in to change notification settings

OliverVea/ElasticEmbeddings

Repository files navigation

ElasticEmbeddings

ElasticEmbeddings is a simple application, which exposes an API for semantic search.

The semantic search is done with OpenAI embeddings and Elasticsearch.

Usage

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.

Running the application

  1. Ensure that you have a valid Azure OpenAI API key.
  2. Copy the .env.template file to .env and fill in the values.
  3. Run the application with:
    docker-compose up -d
  4. The API is now available at http://localhost:8080/swagger/index.html.

Demo

An IPython notebook is provided to demonstrate the usage of the API. It can be found in demo.ipynb.

About

ElasticEmbeddings is a simple application, which exposes an API for semantic search. The semantic search is done with OpenAI embeddings and Elasticsearch.

Topics

Resources

Stars

Watchers

Forks