Skip to content

Conversation

yanwencheng
Copy link

@yanwencheng yanwencheng commented Sep 24, 2025

Add score, documentName, and documentUrl to the knowledge base retrieval results. This enables more data from the knowledge base to be utilized during the agent's operation for subsequent logical processing.

Add score, documentName, and documentUrl to the knowledge base retrieval results. This enables more data from the knowledge base to be utilized during the agent's operation for subsequent logical processing.
@CLAassistant
Copy link

CLAassistant commented Sep 24, 2025

CLA assistant check
All committers have signed the CLA.

@fanlv
Copy link
Collaborator

fanlv commented Sep 24, 2025

CLA assistant check Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.

  1. 这个签下
  2. 标题改规范一点。PR 没用的描述也都删了。
image

@yanwencheng yanwencheng changed the title Update knowledge_retrieve.go knowledge_retrieve add return key Sep 24, 2025
@N3kox
Copy link
Collaborator

N3kox commented Sep 24, 2025

@yanwencheng
Hi, currently knowledge retrieve node in workflow restricts the returned data content. If you need to make this node return more data, you need to modify the front-end configuration and back-end logic both.
So the current code will not take effect.

@yanwencheng
Copy link
Author

yanwencheng commented Sep 24, 2025

嗨,目前工作流中的知识检索节点限制了返回的数据内容。如果需要让这个节点返回更多的数据,则需要同时修改前端配置和后端逻辑。所以当前代码不会生效。

这个更多的其实是在api或sdk调用第三方用的比较多,因为涉及到知识库的检索结果没有原文查看,以及出处可以预览

@yanwencheng yanwencheng reopened this Sep 24, 2025
@yanwencheng
Copy link
Author

嗨,目前工作流中的知识检索节点限制了返回的数据内容。如果需要让这个节点返回更多的数据,则需要同时修改前端配置和后端逻辑。所以当前代码不会生效。

这个更多的其实是在api或sdk调用第三方用的比较多,因为涉及到知识库的检索结果没有原文查看,以及出处可以预览

@yanwencheng yanwencheng reopened this Sep 25, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants