Update VectorStoreSearchResult score value range (#937)

update VectorStoreSearchResult score comment

Co-authored-by: wanhua.gu <wanhua.gu@wiz.ai>
Co-authored-by: Alonso Guevara <alonsog@microsoft.com>
This commit is contained in:
longyunfeigu 2024-08-28 04:40:47 +08:00 committed by GitHub
parent 75735bd103
commit 44fd35c84f
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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):