Elasticsearch
Elasticsearch is an optional dependency of OpenGateLLM. It can be used as a vector store to power Retrieval-Augmented Generation (RAG) workflows by indexing and searching document embeddings.
Configuration
Section titled “Configuration”To configure Elasticsearch, add dependency settings in the dependencies section of your config.yml file.
Check Elasticsearch section in configuration file documentation for more information.
Example:
dependencies: [...] elasticsearch: hosts: http://${ELASTICSEARCH_HOST:-elasticsearch}:${ELASTICSEARCH_PORT:-9200} basic_auth: - ${ELASTIC_USERNAME:-elasticsearch} - ${ELASTIC_PASSWORD:-changeme}The Elasticsearch dependency accepts parameters from the elasticsearch.Elasticsearch client.