酥飞° 2024-02-29 17:54 采纳率: 20%
浏览 1484
已结题

langchain-chatchat项目运行成功后,不能正常与AI交互

使用langchain-chatchat开源项目,运行成功后,使用LLM(chatglm2-6b-int4)模型,不能正常对话

错误信息:ERROR: RemoteProtocolError: Caught exception: peer closed connection without sending complete message body (incomplete chunked read)

下载到本地资源的model文件已配置
  "llm_model": {
        "chatglm2-6b-int4":"F:\opt\chatglm2\chatglm2-6b-int4",

m3e-base也配置了
   "embed_model": {
               "m3e-base": "F:\opt\m3e\m3e-base",
            }

点击对话没有响应

img

Anaconda虚拟环境控制台报错

img

httpx.RemoteProtocolError: peer closed connection without sending complete message body (incomplete chunked read)
2024-02-29 17:46:00,518 - utils.py[line:40] - ERROR: RemoteProtocolError: Caught exception: peer closed connection without sending complete message body (incomplete chunked read)

选择知识库问答,输入筛选项也没有AI交互,只匹配了文件

img


**
我的目的是,对话模型能正常进行交互,知识库问答,除了匹配知识库文件之外,还要针对输入的文字正常进行AI交互**

  • 写回答

21条回答 默认 最新

报告相同问题?

问题事件

  • 系统已结题 3月8日
  • 赞助了问题酬金15元 2月29日
  • 创建了问题 2月29日