Fix some RAG bugs (#2570)

Co-authored-by: jyong <jyong@dify.ai>
This commit is contained in:
Jyong
2024-02-27 11:39:05 +08:00
committed by GitHub
parent 562ca45e07
commit 5b953c1ef2
10 changed files with 33 additions and 59 deletions

View File

@@ -39,7 +39,8 @@ class RetrievalService:
'flask_app': current_app._get_current_object(),
'dataset_id': dataset_id,
'query': query,
'top_k': top_k
'top_k': top_k,
'all_documents': all_documents
})
threads.append(keyword_thread)
keyword_thread.start()