fix comment indentation
This commit is contained in:
+1
-1
@@ -1492,7 +1492,7 @@ def hybrid_search(query: str, k: int = 30) -> List[Tuple[str, Dict[str, Any], fl
|
|||||||
# Sort by fused score descending
|
# Sort by fused score descending
|
||||||
sorted_items = sorted(fused.items(), key=lambda x: x[1], reverse=True)
|
sorted_items = sorted(fused.items(), key=lambda x: x[1], reverse=True)
|
||||||
|
|
||||||
# Build accurate mapping from document text to its true metadata
|
# Build accurate mapping from document text to its true metadata
|
||||||
text_to_meta = {text: meta for text, meta in zip(bm25_corpus, chunks_metadata)}
|
text_to_meta = {text: meta for text, meta in zip(bm25_corpus, chunks_metadata)}
|
||||||
|
|
||||||
results = []
|
results = []
|
||||||
|
|||||||
Reference in New Issue
Block a user