We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
问题描述 执行chatchat-config kb --set_default_vs_type milvus 修改配置时报错: File "/home/develop/miniconda3/envs/langchain-chatchat-0.3.0/lib/python3.11/site-packages/chatchat/config_work_space.py", line 187, in kb config_kb_workspace.set_default_vs_type( TypeError: ConfigKbWorkSpace.set_default_vs_type() got an unexpected keyword argument 'default_vs_type'
环境信息
The text was updated successfully, but these errors were encountered:
遇到了同样的问题
Sorry, something went wrong.
改源码~ venv\LangChain03Demo\Lib\site-packages\chatchat\configs_kb_config.py文件280行(左右) 修改前: def set_default_vs_type(self, vs_type: str): self._config_factory.DEFAULT_VS_TYPE = vs_type self.store_config() 修改后: def set_default_vs_type(self, default_vs_type: str): self._config_factory.DEFAULT_VS_TYPE = default_vs_type self.store_config()
0.3.1 版已经发布,优化了配置方式,修改配置项无需重启服务器,可以更新尝试。
No branches or pull requests
问题描述
执行chatchat-config kb --set_default_vs_type milvus 修改配置时报错:
File "/home/develop/miniconda3/envs/langchain-chatchat-0.3.0/lib/python3.11/site-packages/chatchat/config_work_space.py", line 187, in kb
config_kb_workspace.set_default_vs_type(
TypeError: ConfigKbWorkSpace.set_default_vs_type() got an unexpected keyword argument 'default_vs_type'
环境信息
The text was updated successfully, but these errors were encountered: