fix mem compare
This commit is contained in:
@@ -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"
|
||||
|
||||
@@ -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(
|
||||
|
||||
Reference in New Issue
Block a user