diff --git a/integrations/qdrant-document-store.md b/integrations/qdrant-document-store.md index 088807c6..4b37453a 100644 --- a/integrations/qdrant-document-store.md +++ b/integrations/qdrant-document-store.md @@ -142,7 +142,7 @@ from haystack.utils import Secret document_store = QdrantDocumentStore( url="https://YOUR-CLUSTER-URL.aws.cloud.qdrant.io", index="Document", - api_key=Secret.from_env("QDRANT_API_KEY"), + api_key=Secret.from_env_var("QDRANT_API_KEY"), embedding_dim=512, recreate_index=True, )