Skip to content

Commit

Permalink
Merge pull request #59 from netease-youdao/develop
Browse files Browse the repository at this point in the history
fix: Open rerank by default.
  • Loading branch information
successren committed Jan 23, 2024
2 parents 4857daa + c01f357 commit 65d84c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion qanything_kernel/qanything_server/handler.py
Original file line number Diff line number Diff line change
Expand Up @@ -301,7 +301,7 @@ async def local_doc_chat(req: request):
local_doc_qa.print('local_doc_chat %s', user_id)
kb_ids = safe_get(req, 'kb_ids')
question = safe_get(req, 'question')
rerank = safe_get(req, 'rerank', default=False)
rerank = safe_get(req, 'rerank', default=True)
local_doc_qa.print('rerank %s', rerank)
streaming = safe_get(req, 'streaming', False)
history = safe_get(req, 'history', [])
Expand Down

0 comments on commit 65d84c6

Please sign in to comment.