qdrant.mdx 515 B

1234567891011121314151617181920212223
  1. ---
  2. title: Qdrant
  3. ---
  4. 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](https://cloud.qdrant.io/).
  5. <CodeGroup>
  6. ```python main.py
  7. from embedchain import App
  8. # load qdrant configuration from yaml file
  9. app = App.from_config(config_path="config.yaml")
  10. ```
  11. ```yaml config.yaml
  12. vectordb:
  13. provider: qdrant
  14. config:
  15. collection_name: my_qdrant_index
  16. ```
  17. </CodeGroup>
  18. <Snippet file="missing-vector-db-tip.mdx" />