Langchain-Chatchat icon indicating copy to clipboard operation
Langchain-Chatchat copied to clipboard

有大佬知道,怎么多线程部署api.py脚本吗?

Open cristianohello opened this issue 1 year ago • 1 comments

api.py部署后,使用下面的请求,时间较慢,好像是单线程,如何改为多线程部署api.py: curl -X 'POST'
'http://110.192.0.1/chat-docs/chat'
-H 'accept: application/json'
-H 'Content-Type: application/json'
-d '{ "knowledge_base_id": "string", "question": "你好", "history":[] }'

cristianohello avatar Jun 01 '23 06:06 cristianohello