We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eafaa98 commit cdb48c6Copy full SHA for cdb48c6
test-2.py
@@ -67,7 +67,7 @@ def get_book(book_id):
67
print("Search with score")
68
results = vector_store.similarity_search_with_score(query=query,k=2)
69
for doc, score in results:
70
- print(f"* [Similarity Score={score:3f}] {doc.metadata}")
+ print(f"* [Similarity Distance={score:3f}] {doc.metadata}")
71
72
print()
73
print("Use as Retriever")
0 commit comments