Skip to content

Commit ef1fcd3

Browse files
authored
docs: fix Qdrant documentation typos (#11517)
1 parent 8fe9922 commit ef1fcd3

4 files changed

Lines changed: 6 additions & 6 deletions

File tree

docs-website/docs/document-stores/qdrant-document-store.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ print(document_store.count_documents())
5656
When you create a `QdrantDocumentStore` instance, Haystack takes care of setting up the collection. In general, you cannot use a Qdrant collection created without Haystack with Haystack. If you want to migrate your existing collection, see the sample script at https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/migrate_to_sparse.py.
5757
:::
5858

59-
You can also connect directly to [Qdrant Cloud](https://cloud.qdrant.io/login) directly. Once you have your API key and your cluster URL from the Qdrant dashboard, you can connect like this:
59+
You can also connect directly to [Qdrant Cloud](https://cloud.qdrant.io/login). Once you have your API key and your cluster URL from the Qdrant dashboard, you can connect like this:
6060

6161
```python
6262
from haystack.dataclasses.document import Document
@@ -66,7 +66,7 @@ from haystack.utils import Secret
6666
document_store = QdrantDocumentStore(
6767
url="https://XXXXXXXXX.us-east4-0.gcp.cloud.qdrant.io:6333",
6868
index="your_index_name",
69-
embedding_dim=1024, # based on the embedding model
69+
embedding_dim=5, # based on the embedding model
7070
recreate_index=True, # enable only to recreate the index and not connect to the existing one
7171
api_key=Secret.from_token("YOUR_TOKEN"),
7272
)

docs-website/docs/pipeline-components/retrievers/qdrantembeddingretriever.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ When using the `QdrantEmbeddingRetriever` in your NLP system, make sure it has t
3131

3232
In addition to the `query_embedding`, the `QdrantEmbeddingRetriever` accepts other optional parameters, including `top_k` (the maximum number of Documents to retrieve) and `filters` to narrow down the search space.
3333

34-
Some relevant parameters that impact the embedding retrieval must be defined when the corresponding `QdrantDocumentStore` is initialized: these include the embedding dimension (`embedding_dim`), the `similarity` function to use when comparing embeddings and the HNWS configuration (`hnsw_config`).
34+
Some relevant parameters that impact the embedding retrieval must be defined when the corresponding `QdrantDocumentStore` is initialized: these include the embedding dimension (`embedding_dim`), the `similarity` function to use when comparing embeddings and the HNSW configuration (`hnsw_config`).
3535

3636
### Installation
3737

docs-website/versioned_docs/version-2.30/document-stores/qdrant-document-store.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ print(document_store.count_documents())
5656
When you create a `QdrantDocumentStore` instance, Haystack takes care of setting up the collection. In general, you cannot use a Qdrant collection created without Haystack with Haystack. If you want to migrate your existing collection, see the sample script at https://github.com/deepset-ai/haystack-core-integrations/blob/main/integrations/qdrant/src/haystack_integrations/document_stores/qdrant/migrate_to_sparse.py.
5757
:::
5858

59-
You can also connect directly to [Qdrant Cloud](https://cloud.qdrant.io/login) directly. Once you have your API key and your cluster URL from the Qdrant dashboard, you can connect like this:
59+
You can also connect directly to [Qdrant Cloud](https://cloud.qdrant.io/login). Once you have your API key and your cluster URL from the Qdrant dashboard, you can connect like this:
6060

6161
```python
6262
from haystack.dataclasses.document import Document
@@ -66,7 +66,7 @@ from haystack.utils import Secret
6666
document_store = QdrantDocumentStore(
6767
url="https://XXXXXXXXX.us-east4-0.gcp.cloud.qdrant.io:6333",
6868
index="your_index_name",
69-
embedding_dim=1024, # based on the embedding model
69+
embedding_dim=5, # based on the embedding model
7070
recreate_index=True, # enable only to recreate the index and not connect to the existing one
7171
api_key=Secret.from_token("YOUR_TOKEN"),
7272
)

docs-website/versioned_docs/version-2.30/pipeline-components/retrievers/qdrantembeddingretriever.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ When using the `QdrantEmbeddingRetriever` in your NLP system, make sure it has t
3131

3232
In addition to the `query_embedding`, the `QdrantEmbeddingRetriever` accepts other optional parameters, including `top_k` (the maximum number of Documents to retrieve) and `filters` to narrow down the search space.
3333

34-
Some relevant parameters that impact the embedding retrieval must be defined when the corresponding `QdrantDocumentStore` is initialized: these include the embedding dimension (`embedding_dim`), the `similarity` function to use when comparing embeddings and the HNWS configuration (`hnsw_config`).
34+
Some relevant parameters that impact the embedding retrieval must be defined when the corresponding `QdrantDocumentStore` is initialized: these include the embedding dimension (`embedding_dim`), the `similarity` function to use when comparing embeddings and the HNSW configuration (`hnsw_config`).
3535

3636
### Installation
3737

0 commit comments

Comments
 (0)