Spaces:
No application file
No application file
Download docs/components/vector-databases/weaviate.mdx from rajesh1501/embedchain: direct link, hf CLI and curl.
- Browser
- Download file 553 Bytes
-
https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/docs/components/vector-databases/weaviate.mdx
- Command line
-
hf download hf://spaces/rajesh1501/embedchain/docs/components/vector-databases/weaviate.mdx
-
curl -L -o weaviate.mdx https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/docs/components/vector-databases/weaviate.mdx
553 Bytes
| title: Weaviate | |
| 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). | |
| <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" /> | |