修复knowledge_base_chat_iterator传参错误 (#2386)

This commit is contained in:
xldistance 2023-12-15 07:53:36 +08:00 committed by GitHub
parent 332e1ccfaa
commit 7e8391eb55
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -119,4 +119,4 @@ async def knowledge_base_chat(query: str = Body(..., description="用户输入",
ensure_ascii=False) ensure_ascii=False)
await task await task
return EventSourceResponse(knowledge_base_chat_iterator(query, kb, top_k, history)) return EventSourceResponse(knowledge_base_chat_iterator(query, top_k, history,model_name,prompt_name))