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

想通过入参来判断调用哪个知识库 #1504

Open
6 of 7 tasks
zhangshuo687686 opened this issue May 16, 2024 · 3 comments
Open
6 of 7 tasks

想通过入参来判断调用哪个知识库 #1504

zhangshuo687686 opened this issue May 16, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@zhangshuo687686
Copy link

zhangshuo687686 commented May 16, 2024

例行检查

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

你的版本

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

问题描述, 日志截图
1.想通过入参来判断调用哪个知识库,能否实现此功能,我在“系统配置”里加了一个参数“主体”,
2.如果问题1可以实现,在对话api接口中,入参“主体”在对话api接口中如何设置,是不是使用 variables: 模块变量,如 {"variables": {"subject":xxx}} , 在判断器中可以通过 “全局变量->主体”获取值
复现步骤

预期结果

相关截图
WechatIMG975

@zhangshuo687686 zhangshuo687686 added the bug Something isn't working label May 16, 2024
@lijiajun1997
Copy link

如果你的模型支持tool工具,可以直接把知识库挂在tool工具下,修改知识库的描述,她来安排问谁

@c121914yu
Copy link
Collaborator

是的

@xiaoToby
Copy link

直接把知识库挂在tool工具下

怎样判断模型支持tool工具?
如何把知识库挂在tool工具下?
修改知识库的描述,是指在前端创建知识库时填写描述?
@lijiajun1997

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