fix mem compare

This commit is contained in:
yichuan520030910320
2025-07-14 22:55:10 -07:00
parent f2feccdbd0
commit e5a9ca8787
6 changed files with 147 additions and 12 deletions

View File

@@ -680,7 +680,7 @@ def create_hnsw_embedding_server(
f"ERROR: Passage ID {nid} not found in passages dict"
)
print(
f"ERROR: Available passage IDs: {list(passages.keys())[:10]}..."
f"ERROR: Available passage IDs: {list(passages.keys())}..."
)
raise RuntimeError(
f"FATAL: Passage with ID {nid} not found"

View File

@@ -290,7 +290,7 @@ class LeannSearcher:
)
)
print(
f" {i + 1}. passage_id='{string_id}' -> SUCCESS: {passage_data['text'][:60]}..."
f" {i + 1}. passage_id='{string_id}' -> SUCCESS: {passage_data['text']}..."
)
except KeyError:
print(