Skip to content

Commit

Permalink
Update VectorStoreSearchResult score value range (#937)
Browse files Browse the repository at this point in the history
update VectorStoreSearchResult score comment

Co-authored-by: wanhua.gu <[email protected]>
Co-authored-by: Alonso Guevara <[email protected]>
  • Loading branch information
3 people authored Aug 27, 2024
1 parent 75735bd commit 44fd35c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion graphrag/vector_stores/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ class VectorStoreSearchResult:
"""Document that was found."""

score: float
"""Similarity score between 0 and 1. Higher is more similar."""
"""Similarity score between -1 and 1. Higher is more similar."""


class BaseVectorStore(ABC):
Expand Down

0 comments on commit 44fd35c

Please sign in to comment.