Back to Mem0

Qdrant

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

2.0.1491 B
Original Source

In order to use Qdrant as a vector database, set the environment variables QDRANT_URL and QDRANT_API_KEY which you can find on Qdrant Dashboard.

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

load qdrant configuration from yaml file

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


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