Back to Mem0

OpenSearch

embedchain/docs/components/vector-databases/opensearch.mdx

2.0.1593 B
Original Source

Install related dependencies using the following command:

bash
pip install --upgrade 'embedchain[opensearch]'
<CodeGroup>
python
from embedchain import App

# load opensearch configuration from yaml file
app = App.from_config(config_path="config.yaml")
yaml
vectordb:
  provider: opensearch
  config:
    collection_name: 'my-app'
    opensearch_url: 'https://localhost:9200'
    http_auth:
      - admin
      - admin
    vector_dimension: 1536
    use_ssl: false
    verify_certs: false
</CodeGroup> <Snippet file="missing-vector-db-tip.mdx" />