mirror of
https://github.com/wassname/stampy-chat.git
synced 2026-09-10 12:40:44 +08:00
strip blocks again
It looks like Henri accidentally removed this in 5785e1eb49. Quick fix.
This commit is contained in:
+1
-1
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user