DB-GPT icon indicating copy to clipboard operation
DB-GPT copied to clipboard

[Doc][Agnet] The return value of tool in agent is used directly.

Open paul-yangmy opened this issue 6 months ago • 2 comments

Search before asking

  • [X] I had searched in the issues and found no similar feature requirement.

Description

大佬们,在自定义agent运行后怎么直接获得输出值呀,发现由大模型去管控整体流程时会有时候入参不对,例如我设置的变量名为query但它执行时传入parmas1之类的,很不准确,想要直接使用这个tool的返回值去硬编程为下一个tool的输入。其次有时候它会拼接成一个"https://api.example.com/{tool_name}"这样的地址去访问,编写一个request执行,请问这块逻辑是什么呀

Documentation Links

No response

Are you willing to submit PR?

  • [X] Yes I am willing to submit a PR!

paul-yangmy avatar Aug 06 '24 08:08 paul-yangmy