langflow 代理工具/函数调用用户体验改进

2w2cym1i  于 2个月前  发布在  其他
关注(0)|答案(1)|浏览(42)

Is it (please) possible to make function calling (tools) easier and more understandable?
A good example is https://app.millis.ai/ , which has an interface/form that makes you fill in function name, description and a webhook url (which is also a nice feature I would like to see back in langflow, so we can invoke external tools/do requests from within LF, but in langflow this could be ofcourse your custom code), and most importantly: the parameters: see image.
It would be nice to see this in some sort of node, that can be used by some sort of agent/LLM.
Overall I would like to see more improvements on these simple user experience things that could make langflow a lot better than it already is.

Example of millis

nmpmafwu

nmpmafwu1#

我相信附加图片中的描述和价值观已经足够由LF提供(例如描述和格式)。可以使用DICT或Nestdict充分实现这些参数,以创建所需的组件。
然而,如果有一个属性可以方便地将URL字段复制到组件级别的剪贴板,就像图片中所示的那样,那就更有利了。
#1766
#1732
LF还有一个独特的数据交换类型叫做Recode,所以我也在考虑代码命名和变量Map的建议。下面,我以POST MAN的风格提供了开发者友好的变量Map。有这种格式会很有帮助。(当然,即使现在,也可以通过用组件的输入值替换API端点的值来直接处理自定义组件中的数据。)

我预计随着时间的推移,LF会为API引入更详细的功能,这很可能遵循像Swagger这样的开放API标准。然而,我认为这是一个长期的前景。

相关问题