Skip to content

Commit

Permalink
docs: Update qdrant docs with changes to secret management (#172)
Browse files Browse the repository at this point in the history
  • Loading branch information
shadeMe authored Feb 13, 2024
1 parent 9990966 commit ae42a2e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion integrations/qdrant-document-store.md
Original file line number Diff line number Diff line change
Expand Up @@ -129,14 +129,15 @@ might be a better option.

```python
from haystack_integrations.document_stores.qdrant import QdrantDocumentStore
from haystack.utils import Secret
# Note: for Haystack 1.x use the following import instead:
# from qdrant_haystack import QdrantDocumentStore


document_store = QdrantDocumentStore(
url="https://YOUR-CLUSTER-URL.aws.cloud.qdrant.io",
index="Document",
api_key="<< YOUR QDRANT CLOUD API KEY >>",
api_key=Secret.from_env("QDRANT_API_KEY"),
embedding_dim=512,
recreate_index=True,
)
Expand Down

0 comments on commit ae42a2e

Please sign in to comment.