Skip to content

Commit

Permalink
Update qdrant-document-store.md (#282)
Browse files Browse the repository at this point in the history
Corrected the method to fetch a Secret from an environment variable.
  • Loading branch information
onetwoview authored Oct 23, 2024
1 parent f91f178 commit 7a4350f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion integrations/qdrant-document-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -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,
)
Expand Down

0 comments on commit 7a4350f

Please sign in to comment.