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

Agent tools / function calling UX improvement #1898

Open
jaschahuisman opened this issue May 15, 2024 · 1 comment
Open

Agent tools / function calling UX improvement #1898

jaschahuisman opened this issue May 15, 2024 · 1 comment
Labels
enhancement New feature or request

Comments

@jaschahuisman
Copy link

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

millis function calling
@dosubot dosubot bot added the enhancement New feature or request label May 15, 2024
@YamonBot
Copy link
Contributor

YamonBot commented May 16, 2024

I believe that the descriptions and values in the attached image are sufficiently provided by LF as well (such as description and format). The parameters can be adequately implemented using DICT or Nestdict to create the desired components.

However, it would be beneficial if there were a property that allows the URL field to be easily copied to the clipboard at the component level, as shown in the image.
#1766
#1732

LF also has a unique data exchange type called Recode, so I am also considering suggestions for code naming and variable mapping. Below, I provide developer-friendly variable mapping in the style of POST MAN. It would be beneficial to have this kind of format. (Of course, even now, it is possible to handle data directly within custom components by replacing the value of an API endpoint with the input value of the component.)

image

image

I expect that over time, LF will introduce more detailed functionality for APIs, which will likely adhere to open API standards like Swagger. However, I believe this is a long-term prospect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants