repositories
loading repo index
repositories
loading repo index
repository
loading code, commits, and activity
public Clawd ADK gateway launch mirror
stars
latest
clone command
git clone gitlawb://did:key:z6Mkq5mY...iFZ5/my-project-publ...git clone gitlawb://did:key:z6Mkq5mY.../my-project-publ...2fa351d6docs: add automaton and perps launch sources16d ago| #1 | --- |
| #2 | title: OpenSearch |
| #3 | --- |
| #4 | |
| #5 | Install related dependencies using the following command: |
| #6 | |
| #7 | ```bash |
| #8 | pip install --upgrade 'embedchain[opensearch]' |
| #9 | ``` |
| #10 | |
| #11 | <CodeGroup> |
| #12 | |
| #13 | ```python main.py |
| #14 | from embedchain import App |
| #15 | |
| #16 | # load opensearch configuration from yaml file |
| #17 | app = App.from_config(config_path="config.yaml") |
| #18 | ``` |
| #19 | |
| #20 | ```yaml config.yaml |
| #21 | vectordb: |
| #22 | provider: opensearch |
| #23 | config: |
| #24 | collection_name: 'my-app' |
| #25 | opensearch_url: 'https://localhost:9200' |
| #26 | http_auth: |
| #27 | - admin |
| #28 | - admin |
| #29 | vector_dimension: 1536 |
| #30 | use_ssl: false |
| #31 | verify_certs: false |
| #32 | ``` |
| #33 | |
| #34 | </CodeGroup> |
| #35 | |
| #36 | <Snippet file="missing-vector-db-tip.mdx" /> |
| #37 |