Skip to content

Commit

Permalink
Update integrations/pgvector/src/haystack_integrations/components/ret…
Browse files Browse the repository at this point in the history
…rievers/pgvector/embedding_retriever.py

Co-authored-by: Massimiliano Pippi <[email protected]>
  • Loading branch information
anakin87 and masci authored Feb 1, 2024
1 parent 6afbb46 commit a35c39c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ def __init__(
:param filters: Filters applied to the retrieved Documents. Defaults to None.
:param top_k: Maximum number of Documents to return, defaults to 10.
:param vector_function: The similarity function to use when searching for similar embeddings.
Defaults to the PgvectorDocumentStore's vector_function.
Defaults to the one set in the `document_store` instance.
"cosine_similarity" and "inner_product" are similarity functions and
higher scores indicate greater similarity between the documents.
"l2_distance" returns the straight-line distance between vectors,
Expand Down

0 comments on commit a35c39c

Please sign in to comment.