[Feature] Add support for weaviate vector db (#782)

This commit is contained in:
Rupesh Bansal
2023-10-18 10:48:53 +05:30
committed by GitHub
parent e8a2846449
commit cdfd6519c8
9 changed files with 581 additions and 5 deletions

View File

@@ -187,6 +187,21 @@ _Coming soon_
## Weaviate
_Coming soon_
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](https://console.weaviate.cloud/dashboard).
```python main.py
from embedchain import App
# load weaviate configuration from yaml file
app = App.from_config(yaml_path="config.yaml")
```
```yaml config.yaml
vectordb:
provider: weaviate
config:
collection_name: my_weaviate_index
```
<Snippet file="missing-vector-db-tip.mdx" />