Skip to content
New issue

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

知识库创建时选择文件处理模型没有生效,总是默认选择第一个config.json中的第一个模型 #1792

Closed
1 of 7 tasks
chenhb-zte opened this issue Jun 18, 2024 · 4 comments
Labels
bug Something isn't working

Comments

@chenhb-zte
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本
ghcr.io/labring/fastgpt v4.8.2

  • 公有云版本
  • 私有部署版本, 具体版本号:

问题描述, 日志截图
创建知识库时选择了文件处理模型,但是在知识库搜索时默认选择config.json中的第一个模型

复现步骤

预期结果

相关截图

@chenhb-zte chenhb-zte added the bug Something isn't working label Jun 18, 2024
@lijiajun1997
Copy link

知识库搜索用的是向量模型不是LLM,知识库配置的LLM是用来把导入文件转成QA的

@chenhb-zte
Copy link
Author

知识库搜索用的是向量模型不是LLM,知识库配置的LLM是用来把导入文件转成QA的

在问答时,知识库搜索前会先调用config.json中配置的第一个模型,而不是选择的LLM,从one-api日志里可以看到访问记录,这是什么步骤?如果第一个模型是不可用模型,会直接失败。

@lijiajun1997
Copy link

知识库搜索用的是向量模型不是LLM,知识库配置的LLM是用来把导入文件转成QA的

在问答时,知识库搜索前会先调用config.json中配置的第一个模型,而不是选择的LLM,从one-api日志里可以看到访问记录,这是什么步骤?如果第一个模型是不可用模型,会直接失败。

你说的是问题优化,把编排的知识库优化关掉就行

@sdytzjp
Copy link

sdytzjp commented Jul 1, 2024

我也碰到同样的问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

4 participants