修复knowledge_base_chat_iterator传参错误 (#2386)
This commit is contained in:
parent
332e1ccfaa
commit
7e8391eb55
|
|
@ -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))
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue