dliting
dliting
Same error with the stack trace: 2024-03-11 14:04:31,273 - utils.py[line:377] - ERROR: RuntimeError: 从文件 samples/test_files/langchain-ChatGLM_closed.csv 加载文档时出错:Error loading /opt/Langchain-Chatchat/knowledge_base/samples/content/test_files/langchain-ChatGLM_closed.csv 2024-03-11 14:04:31,273 - utils.py[line:379] - ERROR: Error loading /opt/Langchain-Chatchat/knowledge_base/samples/content/test_files/langchain-ChatGLM_closed.csv Traceback (most recent...
不支持。我看介绍好像支持,再看源码qanything_kernel/connector/llm/llm_for_openai_api.py程序实际写死了,只支持OpenAI的模型,即使用OpenAI的API接口也不行。
qanything_kernel/connector/llm/llm_for_openai_api.py这个文件,从93行开始的程序改成下面这样,可以在一些私有模型上运行,例如千问1.5。 else: # 对于没有实现的模型,抛出未实现错误 # raise NotImplementedError( # f"""num_tokens_from_messages() is not implemented for model {model}. See https://github.com/openai/openai-python/blob/main/chatml.md for information on how messages are converted to tokens.""" # ) return self.num_tokens_from_messages(messages,...
vscode网页登录了,插件没反应
改成这样:git clone -b develop_for_v1.3.1 https://github.com/netease-youdao/QAnything.git
是的,我也遇到这个问题了,文件太大,18.92 GB。 希望下次构建时,别把模型构建进去。因为模型是可以单独下载和配置的。