Spaces:
No application file
No application file
Download docs/components/vector-databases/chromadb.mdx from rajesh1501/embedchain: direct link, hf CLI and curl.
- Browser
- Download file 536 Bytes
-
https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/docs/components/vector-databases/chromadb.mdx
- Command line
-
hf download hf://spaces/rajesh1501/embedchain/docs/components/vector-databases/chromadb.mdx
-
curl -L -o chromadb.mdx https://huggingface.co/spaces/rajesh1501/embedchain/resolve/main/docs/components/vector-databases/chromadb.mdx
536 Bytes
| title: ChromaDB | |
| <CodeGroup> | |
| ```python main.py | |
| from embedchain import App | |
| # load chroma configuration from yaml file | |
| app = App.from_config(config_path="config1.yaml") | |
| ``` | |
| ```yaml config1.yaml | |
| vectordb: | |
| provider: chroma | |
| config: | |
| collection_name: 'my-collection' | |
| dir: db | |
| allow_reset: true | |
| ``` | |
| ```yaml config2.yaml | |
| vectordb: | |
| provider: chroma | |
| config: | |
| collection_name: 'my-collection' | |
| host: localhost | |
| port: 5200 | |
| allow_reset: true | |
| ``` | |
| </CodeGroup> | |
| <Snippet file="missing-vector-db-tip.mdx" /> | |