Feng Zhou
Feng Zhou
@akhti
> 这个是项目中的路径 需要在项目路径下访问调用 wa2003 ***@***.***>于2023年5月4日 周四17:21写道: > […](#) > 明明已经安装了包,却在python里吊不出来 centos 环境, Python 3.10.5 (main, Apr 11 2023, 00:43:05) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] on linux [image: image] [image:...
同遇到这个问题,没听懂,是models目录下的chatglm_llm吗?我使用 from models.chatglm_llm import ChatGLM 后出现 ValueError: "ChatGLM" object has no field "history" @imClumsyPanda
> > 同遇到这个问题,没听懂,是models目录下的chatglm_llm吗?我使用 from models.chatglm_llm import ChatGLM 后出现 ValueError: "ChatGLM" object has no field "history" @imClumsyPanda > > 这个我也遇到了,我直接去chatglm_llm中将ChatGLM类下,发现它的history属性被注释了,去掉#后,可以运行,但是执行chatglm("........text..........")时还是会报错,显示 ChatGLM._call() got an unexpected keyword argument 'stop' 哪一行代码注释?我看只有def chat里有self.history
> 添加了知识库之后进行对话,之后再新增知识库就会出现这个问题。如果是一直新增知识库,没有对话是可以新增上去的。 我这init就不行