strip blocks again

It looks like Henri accidentally removed this in 5785e1eb49. Quick fix.
This commit is contained in:
Fraser
2023-06-06 09:42:54 -04:00
parent da28b04513
commit c5645bc12e
+1 -1
View File
@@ -98,7 +98,7 @@ def get_top_k_blocks(index, user_query: str, k: int) -> List[Block]:
date = date,
url = match['metadata']['url'],
tags = match['metadata']['tags'],
text = match['metadata']['text']
text = strip_block(match['metadata']['text'])
))
t2 = time.time()