langflow icon indicating copy to clipboard operation
langflow copied to clipboard

feat: Update PythonCodeStructuredTool.py

Open YamonBot opened this issue 1 year ago • 2 comments

You can specify the variables to be used in the tool in the Data format, without needing to explain a separate signature, and directly input the description.

YamonBot avatar Jul 26 '24 10:07 YamonBot

This pull request is automatically being deployed by Amplify Hosting (learn more).

Access this pull request here: https://pr-2977.dmtpw4p5recq1.amplifyapp.com

image The description field is automatically generated by understanding the signature of the selected method and is passed in the BaseModel format to the arg_schema field of the tool. Global values are Data objects, and the values of these fields function like global variables in the respective tool.

YamonBot avatar Jul 26 '24 11:07 YamonBot