Back to Mem0

Weaviate

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

2.0.1526 B
Original Source

In order to use Weaviate as a vector database, set the environment variables WEAVIATE_ENDPOINT and WEAVIATE_API_KEY which you can find on Weaviate dashboard.

<CodeGroup> ```python main.py from embedchain import App

load weaviate configuration from yaml file

app = App.from_config(config_path="config.yaml")


```yaml config.yaml
vectordb:
  provider: weaviate
  config:
    collection_name: my_weaviate_index
</CodeGroup> <Snippet file="missing-vector-db-tip.mdx" />