query增强是在哪一步实现的? #339
arduino2018
started this conversation in
General
Replies: 2 comments 4 replies
-
|
Agentic 模式,查询词是由模型自行指定的 |
Beta Was this translation helpful? Give feedback.
1 reply
-
|
这里的知识库本质上是经由大模型调用的一个工具,你想要它以哪种方式查询,或者想要怎么怎么样,你都可以在知识库的描述里面去定义,或者在代码里面去修改。
从逻辑上来说,大模型所看到的某个知识库,这个知识库里面有相关的描述,代表知识库里面有哪些东西。至于你想让他怎么查,想让他怎么转换,这个提示词都可以在知识库的描述里面去添加。
至于你说的去自定义转换,倒也提醒我了,可以把知识库本身作为一个中间件加载到智能体的框架中,这样会比现在的模式要稍微灵活一点。
…---- 回复的原邮件 ----
| 发件人 | ***@***.***> |
| 日期 | 2025年11月17日 09:41 |
| 收件人 | ***@***.***> |
| 抄送至 | Wenjie ***@***.***>***@***.***> |
| 主题 | Re: [xerrors/Yuxi-Know] query增强是在哪一步实现的? (Discussion #339) |
也就是说原始query到送入知识库查询的query,这个步骤经由大模型变换的时候,提示词也没法自己控制?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you commented.Message ID: ***@***.***>
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
使用ChatbotAgent + ChromaKB知识库,从日志发现从界面发出的问题,到ChromaKB查询的时候,query会有增强。

找遍了代码很长时间,也没找到什么地方对原始的query进行增强的地方,请大神指点。
Beta Was this translation helpful? Give feedback.
All reactions