feat: update starter projects templates (#5819)

update starter projects templates
This commit is contained in:
Cristhian Zanforlin Lousa 2025-01-20 18:10:15 -03:00 • committed by GitHub
commit 44266f593b
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 3284 additions and 4118 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View file

@ -1,96 +1,13 @@
{ {
"data": { "data": {
"edges": [
{
"animated": false,
"className": "",
"data": {
"sourceHandle": {
"dataType": "Agent",
"id": "Agent-HoULP",
"name": "response",
"output_types": [
"Message"
]
},
"targetHandle": {
"fieldName": "input_value",
"id": "ChatOutput-60t7m",
"inputTypes": [
"Message"
],
"type": "str"
}
},
"id": "reactflow__edge-Agent-HoULP{œdataTypeœ:œAgentœ,œidœ:œAgent-HoULPœ,œnameœ:œresponseœ,œoutput_typesœ:[œMessageœ]}-ChatOutput-60t7m{œfieldNameœ:œinput_valueœ,œidœ:œChatOutput-60t7mœ,œinputTypesœ:[œMessageœ],œtypeœ:œstrœ}",
"source": "Agent-HoULP",
"sourceHandle": "{œdataTypeœ: œAgentœ, œidœ: œAgent-HoULPœ, œnameœ: œresponseœ, œoutput_typesœ: [œMessageœ]}",
"target": "ChatOutput-60t7m",
"targetHandle": "{œfieldNameœ: œinput_valueœ, œidœ: œChatOutput-60t7mœ, œinputTypesœ: [œMessageœ], œtypeœ: œstrœ}"
},
{
"animated": false,
"className": "",
"data": {
"sourceHandle": {
"dataType": "Prompt",
"id": "Prompt-nzVmM",
"name": "prompt",
"output_types": [
"Message"
]
},
"targetHandle": {
"fieldName": "input_value",
"id": "Agent-HoULP",
"inputTypes": [
"Message"
],
"type": "str"
}
},
"id": "reactflow__edge-Prompt-nzVmM{œdataTypeœ:œPromptœ,œidœ:œPrompt-nzVmMœ,œnameœ:œpromptœ,œoutput_typesœ:[œMessageœ]}-Agent-HoULP{œfieldNameœ:œinput_valueœ,œidœ:œAgent-HoULPœ,œinputTypesœ:[œMessageœ],œtypeœ:œstrœ}",
"source": "Prompt-nzVmM",
"sourceHandle": "{œdataTypeœ: œPromptœ, œidœ: œPrompt-nzVmMœ, œnameœ: œpromptœ, œoutput_typesœ: [œMessageœ]}",
"target": "Agent-HoULP",
"targetHandle": "{œfieldNameœ: œinput_valueœ, œidœ: œAgent-HoULPœ, œinputTypesœ: [œMessageœ], œtypeœ: œstrœ}"
},
{
"data": {
"sourceHandle": {
"dataType": "CalculatorComponent",
"id": "CalculatorComponent-A0PBx",
"name": "component_as_tool",
"output_types": [
"Tool"
]
},
"targetHandle": {
"fieldName": "tools",
"id": "Agent-HoULP",
"inputTypes": [
"Tool"
],
"type": "other"
}
},
"id": "xy-edge__CalculatorComponent-A0PBx{œdataTypeœ:œCalculatorComponentœ,œidœ:œCalculatorComponent-A0PBxœ,œnameœ:œcomponent_as_toolœ,œoutput_typesœ:[œToolœ]}-Agent-HoULP{œfieldNameœ:œtoolsœ,œidœ:œAgent-HoULPœ,œinputTypesœ:[œToolœ],œtypeœ:œotherœ}",
"source": "CalculatorComponent-A0PBx",
"sourceHandle": "{œdataTypeœ: œCalculatorComponentœ, œidœ: œCalculatorComponent-A0PBxœ, œnameœ: œcomponent_as_toolœ, œoutput_typesœ: [œToolœ]}",
"target": "Agent-HoULP",
"targetHandle": "{œfieldNameœ: œtoolsœ, œidœ: œAgent-HoULPœ, œinputTypesœ: [œToolœ], œtypeœ: œotherœ}"
}
],
"nodes": [ "nodes": [
{ {
"data": { "data": {
"description": "Create a prompt template with dynamic variables.", "description": "Create a prompt template with dynamic variables.",
"display_name": "Prompt", "display_name": "Prompt",
"id": "Prompt-nzVmM", "id": "Prompt-Pe4nO",
"node": { "node": {
"base_classes": [ "base_classes": ["Message"],
"Message"
],
"beta": false, "beta": false,
"conditional_paths": [], "conditional_paths": [],
"custom_fields": { "custom_fields": {
@ -106,9 +23,7 @@
"display_name": "Prompt", "display_name": "Prompt",
"documentation": "", "documentation": "",
"edited": false, "edited": false,
"field_order": [ "field_order": ["template"],
"template"
],
"frozen": false, "frozen": false,
"icon": "prompts", "icon": "prompts",
"legacy": false, "legacy": false,
@ -122,9 +37,7 @@
"method": "build_prompt", "method": "build_prompt",
"name": "prompt", "name": "prompt",
"selected": "Message", "selected": "Message",
"types": [ "types": ["Message"],
"Message"
],
"value": "__UNDEFINED__" "value": "__UNDEFINED__"
} }
], ],
@ -157,10 +70,7 @@
"fileTypes": [], "fileTypes": [],
"file_path": "", "file_path": "",
"info": "", "info": "",
"input_types": [ "input_types": ["Message", "Text"],
"Message",
"Text"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"multiline": true, "multiline": true,
@ -180,10 +90,7 @@
"fileTypes": [], "fileTypes": [],
"file_path": "", "file_path": "",
"info": "", "info": "",
"input_types": [ "input_types": ["Message", "Text"],
"Message",
"Text"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"multiline": true, "multiline": true,
@ -203,10 +110,7 @@
"fileTypes": [], "fileTypes": [],
"file_path": "", "file_path": "",
"info": "", "info": "",
"input_types": [ "input_types": ["Message", "Text"],
"Message",
"Text"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"multiline": true, "multiline": true,
@ -226,10 +130,7 @@
"fileTypes": [], "fileTypes": [],
"file_path": "", "file_path": "",
"info": "", "info": "",
"input_types": [ "input_types": ["Message", "Text"],
"Message",
"Text"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"multiline": true, "multiline": true,
@ -249,10 +150,7 @@
"fileTypes": [], "fileTypes": [],
"file_path": "", "file_path": "",
"info": "", "info": "",
"input_types": [ "input_types": ["Message", "Text"],
"Message",
"Text"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"multiline": true, "multiline": true,
@ -288,9 +186,7 @@
"display_name": "Tool Placeholder", "display_name": "Tool Placeholder",
"dynamic": false, "dynamic": false,
"info": "A placeholder input for tool mode.", "info": "A placeholder input for tool mode.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "tool_placeholder", "name": "tool_placeholder",
@ -311,10 +207,10 @@
}, },
"dragging": false, "dragging": false,
"height": 693, "height": 693,
"id": "Prompt-nzVmM", "id": "Prompt-Pe4nO",
"measured": { "measured": {
"height": 693, "height": 693,
"width": 360 "width": 320
}, },
"position": { "position": {
"x": 1349.861745038984, "x": 1349.861745038984,
@ -332,11 +228,9 @@
"data": { "data": {
"description": "Display a chat message in the Playground.", "description": "Display a chat message in the Playground.",
"display_name": "Chat Output", "display_name": "Chat Output",
"id": "ChatOutput-60t7m", "id": "ChatOutput-YQ7Vi",
"node": { "node": {
"base_classes": [ "base_classes": ["Message"],
"Message"
],
"beta": false, "beta": false,
"conditional_paths": [], "conditional_paths": [],
"custom_fields": {}, "custom_fields": {},
@ -368,9 +262,7 @@
"method": "message_response", "method": "message_response",
"name": "message", "name": "message",
"selected": "Message", "selected": "Message",
"types": [ "types": ["Message"],
"Message"
],
"value": "__UNDEFINED__" "value": "__UNDEFINED__"
} }
], ],
@ -383,9 +275,7 @@
"display_name": "Background Color", "display_name": "Background Color",
"dynamic": false, "dynamic": false,
"info": "The background color of the icon.", "info": "The background color of the icon.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "background_color", "name": "background_color",
@ -405,9 +295,7 @@
"display_name": "Icon", "display_name": "Icon",
"dynamic": false, "dynamic": false,
"info": "The icon of the message.", "info": "The icon of the message.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "chat_icon", "name": "chat_icon",
@ -445,9 +333,7 @@
"display_name": "Data Template", "display_name": "Data Template",
"dynamic": false, "dynamic": false,
"info": "Template to convert Data to Text. If left empty, it will be dynamically set to the Data's text key.", "info": "Template to convert Data to Text. If left empty, it will be dynamically set to the Data's text key.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "data_template", "name": "data_template",
@ -467,9 +353,7 @@
"display_name": "Text", "display_name": "Text",
"dynamic": false, "dynamic": false,
"info": "Message to be passed as output.", "info": "Message to be passed as output.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "input_value", "name": "input_value",
@ -490,10 +374,7 @@
"dynamic": false, "dynamic": false,
"info": "Type of sender.", "info": "Type of sender.",
"name": "sender", "name": "sender",
"options": [ "options": ["Machine", "User"],
"Machine",
"User"
],
"placeholder": "", "placeholder": "",
"required": false, "required": false,
"show": true, "show": true,
@ -509,9 +390,7 @@
"display_name": "Sender Name", "display_name": "Sender Name",
"dynamic": false, "dynamic": false,
"info": "Name of the sender.", "info": "Name of the sender.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "sender_name", "name": "sender_name",
@ -531,9 +410,7 @@
"display_name": "Session ID", "display_name": "Session ID",
"dynamic": false, "dynamic": false,
"info": "The session ID of the chat. If empty, the current session ID parameter will be used.", "info": "The session ID of the chat. If empty, the current session ID parameter will be used.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "session_id", "name": "session_id",
@ -569,9 +446,7 @@
"display_name": "Text Color", "display_name": "Text Color",
"dynamic": false, "dynamic": false,
"info": "The text color of the name", "info": "The text color of the name",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "text_color", "name": "text_color",
@ -592,10 +467,10 @@
}, },
"dragging": false, "dragging": false,
"height": 234, "height": 234,
"id": "ChatOutput-60t7m", "id": "ChatOutput-YQ7Vi",
"measured": { "measured": {
"height": 234, "height": 234,
"width": 360 "width": 320
}, },
"position": { "position": {
"x": 2240.3625274769397, "x": 2240.3625274769397,
@ -611,7 +486,7 @@
}, },
{ {
"data": { "data": {
"id": "note-BnQHz", "id": "note-o7ebV",
"node": { "node": {
"description": "# SaaS Pricing Calculator\n\nWelcome to the SaaS Pricing Calculator! This flow helps you determine the optimal monthly subscription price for your software service.\n\n## Instructions\n\n1. Prepare Your Data\n - Gather information on monthly infrastructure costs\n - Calculate customer support expenses\n - Estimate continuous development costs\n - Decide on your desired profit margin\n - Determine the estimated number of subscribers\n\n2. Input Values\n - Enter the gathered data into the respective fields in the Prompt node\n - Double-check the accuracy of your inputs\n\n3. Run the Flow\n - Click the \"Run\" button to start the calculation process\n - The flow will use Chain-of-Thought prompting to guide the AI through the steps\n\n4. Review the Results\n - Examine the output in the Chat Output node\n - The result will show a breakdown of costs and the final subscription price\n\n5. Adjust and Refine\n - If needed, modify your inputs to explore different pricing scenarios\n - Re-run the flow to see how changes affect the final price\n\nRemember: Regularly update your costs and subscriber estimates to keep your pricing model accurate and competitive! 💼📊", "description": "# SaaS Pricing Calculator\n\nWelcome to the SaaS Pricing Calculator! This flow helps you determine the optimal monthly subscription price for your software service.\n\n## Instructions\n\n1. Prepare Your Data\n - Gather information on monthly infrastructure costs\n - Calculate customer support expenses\n - Estimate continuous development costs\n - Decide on your desired profit margin\n - Determine the estimated number of subscribers\n\n2. Input Values\n - Enter the gathered data into the respective fields in the Prompt node\n - Double-check the accuracy of your inputs\n\n3. Run the Flow\n - Click the \"Run\" button to start the calculation process\n - The flow will use Chain-of-Thought prompting to guide the AI through the steps\n\n4. Review the Results\n - Examine the output in the Chat Output node\n - The result will show a breakdown of costs and the final subscription price\n\n5. Adjust and Refine\n - If needed, modify your inputs to explore different pricing scenarios\n - Re-run the flow to see how changes affect the final price\n\nRemember: Regularly update your costs and subscriber estimates to keep your pricing model accurate and competitive! 💼📊",
"display_name": "", "display_name": "",
@ -622,10 +497,10 @@
}, },
"dragging": false, "dragging": false,
"height": 800, "height": 800,
"id": "note-BnQHz", "id": "note-o7ebV",
"measured": { "measured": {
"height": 800, "height": 800,
"width": 328 "width": 325
}, },
"position": { "position": {
"x": 689.7659055360411, "x": 689.7659055360411,
@ -648,11 +523,9 @@
"data": { "data": {
"description": "Define the agent's instructions, then enter a task to complete using tools.", "description": "Define the agent's instructions, then enter a task to complete using tools.",
"display_name": "Agent", "display_name": "Agent",
"id": "Agent-HoULP", "id": "Agent-LDhCf",
"node": { "node": {
"base_classes": [ "base_classes": ["Message"],
"Message"
],
"beta": false, "beta": false,
"conditional_paths": [], "conditional_paths": [],
"custom_fields": {}, "custom_fields": {},
@ -701,9 +574,7 @@
"method": "message_response", "method": "message_response",
"name": "response", "name": "response",
"selected": "Message", "selected": "Message",
"types": [ "types": ["Message"],
"Message"
],
"value": "__UNDEFINED__" "value": "__UNDEFINED__"
} }
], ],
@ -732,9 +603,7 @@
"display_name": "Agent Description [Deprecated]", "display_name": "Agent Description [Deprecated]",
"dynamic": false, "dynamic": false,
"info": "The description of the agent. This is only used when in Tool Mode. Defaults to 'A helpful assistant with access to the following tools:' and tools are added dynamically. This feature is deprecated and will be removed in future versions.", "info": "The description of the agent. This is only used when in Tool Mode. Defaults to 'A helpful assistant with access to the following tools:' and tools are added dynamically. This feature is deprecated and will be removed in future versions.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"multiline": true, "multiline": true,
@ -783,10 +652,8 @@
"display_name": "OpenAI API Key", "display_name": "OpenAI API Key",
"dynamic": false, "dynamic": false,
"info": "The OpenAI API Key to use for the OpenAI model.", "info": "The OpenAI API Key to use for the OpenAI model.",
"input_types": [ "input_types": ["Message"],
"Message" "load_from_db": false,
],
"load_from_db": true,
"name": "api_key", "name": "api_key",
"password": true, "password": true,
"placeholder": "", "placeholder": "",
@ -836,9 +703,7 @@
"display_name": "Input", "display_name": "Input",
"dynamic": false, "dynamic": false,
"info": "The input provided by the user for the agent to process.", "info": "The input provided by the user for the agent to process.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "input_value", "name": "input_value",
@ -912,9 +777,7 @@
"display_name": "External Memory", "display_name": "External Memory",
"dynamic": false, "dynamic": false,
"info": "Retrieve messages from an external memory. If empty, it will use the Langflow tables.", "info": "Retrieve messages from an external memory. If empty, it will use the Langflow tables.",
"input_types": [ "input_types": ["Memory"],
"Memory"
],
"list": false, "list": false,
"name": "memory", "name": "memory",
"placeholder": "", "placeholder": "",
@ -1008,10 +871,7 @@
"dynamic": false, "dynamic": false,
"info": "Order of the messages.", "info": "Order of the messages.",
"name": "order", "name": "order",
"options": [ "options": ["Ascending", "Descending"],
"Ascending",
"Descending"
],
"placeholder": "", "placeholder": "",
"required": false, "required": false,
"show": true, "show": true,
@ -1045,11 +905,7 @@
"dynamic": false, "dynamic": false,
"info": "Filter by sender type.", "info": "Filter by sender type.",
"name": "sender", "name": "sender",
"options": [ "options": ["Machine", "User", "Machine and User"],
"Machine",
"User",
"Machine and User"
],
"placeholder": "", "placeholder": "",
"required": false, "required": false,
"show": true, "show": true,
@ -1065,9 +921,7 @@
"display_name": "Sender Name", "display_name": "Sender Name",
"dynamic": false, "dynamic": false,
"info": "Filter by sender name.", "info": "Filter by sender name.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "sender_name", "name": "sender_name",
@ -1087,9 +941,7 @@
"display_name": "Session ID", "display_name": "Session ID",
"dynamic": false, "dynamic": false,
"info": "The session ID of the chat. If empty, the current session ID parameter will be used.", "info": "The session ID of the chat. If empty, the current session ID parameter will be used.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"name": "session_id", "name": "session_id",
@ -1109,9 +961,7 @@
"display_name": "Agent Instructions", "display_name": "Agent Instructions",
"dynamic": false, "dynamic": false,
"info": "System Prompt: Initial instructions and context provided to guide the agent's behavior.", "info": "System Prompt: Initial instructions and context provided to guide the agent's behavior.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"multiline": true, "multiline": true,
@ -1148,9 +998,7 @@
"display_name": "Template", "display_name": "Template",
"dynamic": false, "dynamic": false,
"info": "The template to use for formatting the data. It can contain the keys {text}, {sender} or any other key in the message data.", "info": "The template to use for formatting the data. It can contain the keys {text}, {sender} or any other key in the message data.",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"load_from_db": false, "load_from_db": false,
"multiline": true, "multiline": true,
@ -1171,9 +1019,7 @@
"display_name": "Tools", "display_name": "Tools",
"dynamic": false, "dynamic": false,
"info": "These are the tools that the agent can use to help with tasks.", "info": "These are the tools that the agent can use to help with tasks.",
"input_types": [ "input_types": ["Tool"],
"Tool"
],
"list": true, "list": true,
"name": "tools", "name": "tools",
"placeholder": "", "placeholder": "",
@ -1207,10 +1053,10 @@
}, },
"dragging": false, "dragging": false,
"height": 650, "height": 650,
"id": "Agent-HoULP", "id": "Agent-LDhCf",
"measured": { "measured": {
"height": 650, "height": 650,
"width": 360 "width": 320
}, },
"position": { "position": {
"x": 1819.2633856623966, "x": 1819.2633856623966,
@ -1226,11 +1072,9 @@
}, },
{ {
"data": { "data": {
"id": "CalculatorComponent-A0PBx", "id": "CalculatorComponent-unDLj",
"node": { "node": {
"base_classes": [ "base_classes": ["Data"],
"Data"
],
"beta": false, "beta": false,
"category": "tools", "category": "tools",
"conditional_paths": [], "conditional_paths": [],
@ -1239,9 +1083,7 @@
"display_name": "Calculator", "display_name": "Calculator",
"documentation": "", "documentation": "",
"edited": false, "edited": false,
"field_order": [ "field_order": ["expression"],
"expression"
],
"frozen": false, "frozen": false,
"icon": "calculator", "icon": "calculator",
"key": "CalculatorComponent", "key": "CalculatorComponent",
@ -1251,17 +1093,15 @@
"output_types": [], "output_types": [],
"outputs": [ "outputs": [
{ {
"cache": true, "types": ["Tool"],
"display_name": "Toolset",
"hidden": null,
"method": "to_toolkit",
"name": "component_as_tool",
"required_inputs": null,
"selected": "Tool", "selected": "Tool",
"types": [ "name": "component_as_tool",
"Tool" "hidden": null,
], "display_name": "Toolset",
"value": "__UNDEFINED__" "method": "to_toolkit",
"value": "__UNDEFINED__",
"cache": true,
"required_inputs": null
} }
], ],
"pinned": false, "pinned": false,
@ -1292,9 +1132,7 @@
"display_name": "Expression", "display_name": "Expression",
"dynamic": false, "dynamic": false,
"info": "The arithmetic expression to evaluate (e.g., '4*4*(33/22)+12-20').", "info": "The arithmetic expression to evaluate (e.g., '4*4*(33/22)+12-20').",
"input_types": [ "input_types": ["Message"],
"Message"
],
"list": false, "list": false,
"list_add_label": "Add More", "list_add_label": "Add More",
"load_from_db": false, "load_from_db": false,
@ -1310,111 +1148,96 @@
"value": "" "value": ""
}, },
"tools_metadata": { "tools_metadata": {
"_input_type": "TableInput", "tool_mode": false,
"advanced": false,
"display_name": "Edit tools",
"dynamic": false,
"info": "",
"is_list": true, "is_list": true,
"list_add_label": "Add More", "list_add_label": "Add More",
"name": "tools_metadata", "table_schema": {
"placeholder": "", "columns": [
"real_time_refresh": true, {
"required": false, "name": "name",
"show": true, "display_name": "Tool Name",
"sortable": false,
"filterable": false,
"type": "text",
"description": "Specify the name of the tool.",
"disable_edit": false,
"edit_mode": "inline",
"formatter": "text"
},
{
"name": "description",
"display_name": "Tool Description",
"sortable": false,
"filterable": false,
"type": "text",
"description": "Describe the purpose of the tool.",
"disable_edit": false,
"edit_mode": "popover",
"formatter": "text"
},
{
"name": "tags",
"display_name": "Tool Identifiers",
"sortable": false,
"filterable": false,
"type": "text",
"description": "The default identifiers for the tools and cannot be changed.",
"disable_edit": true,
"edit_mode": "inline",
"formatter": "text"
}
]
},
"trigger_text": "",
"trigger_icon": "Hammer",
"table_icon": "Hammer", "table_icon": "Hammer",
"table_options": { "table_options": {
"block_add": true, "block_add": true,
"block_delete": true, "block_delete": true,
"block_edit": true, "block_edit": true,
"block_sort": true,
"block_filter": true, "block_filter": true,
"block_hide": true, "block_hide": true,
"block_select": true, "block_select": true,
"block_sort": true, "hide_options": true,
"description": "Modify tool names and descriptions to help agents understand when to use each tool.",
"field_parsers": { "field_parsers": {
"commands": "commands", "name": ["snake_case", "no_blank"],
"name": [ "commands": "commands"
"snake_case",
"no_blank"
]
}, },
"hide_options": true "description": "Modify tool names and descriptions to help agents understand when to use each tool."
}, },
"table_schema": {
"columns": [
{
"description": "Specify the name of the tool.",
"disable_edit": false,
"display_name": "Tool Name",
"edit_mode": "inline",
"filterable": false,
"formatter": "text",
"name": "name",
"sortable": false,
"type": "text"
},
{
"description": "Describe the purpose of the tool.",
"disable_edit": false,
"display_name": "Tool Description",
"edit_mode": "popover",
"filterable": false,
"formatter": "text",
"name": "description",
"sortable": false,
"type": "text"
},
{
"description": "The default identifiers for the tools and cannot be changed.",
"disable_edit": true,
"display_name": "Tool Identifiers",
"edit_mode": "inline",
"filterable": false,
"formatter": "text",
"name": "tags",
"sortable": false,
"type": "text"
},
{
"description": "Add commands to the tool. These commands will be used to run the tool. Start all commands with a `/`. You can add multiple commands separated by a comma.\nExample: `/command1`, `/command2`, `/command3`",
"disable_edit": false,
"display_name": "Commands",
"edit_mode": "inline",
"filterable": false,
"formatter": "text",
"name": "commands",
"sortable": false,
"type": "text"
}
]
},
"title_case": false,
"tool_mode": false,
"trace_as_metadata": true, "trace_as_metadata": true,
"trigger_icon": "Hammer", "required": false,
"trigger_text": "", "placeholder": "",
"type": "table", "show": true,
"name": "tools_metadata",
"value": [ "value": [
{ {
"description": "evaluate_expression() - Perform basic arithmetic operations on a given expression.", "description": "evaluate_expression() - Perform basic arithmetic operations on a given expression.",
"name": "None-evaluate_expression", "name": "None-evaluate_expression",
"tags": [ "tags": ["None-evaluate_expression"]
"None-evaluate_expression"
]
} }
] ],
"display_name": "Edit tools",
"advanced": false,
"dynamic": false,
"info": "",
"real_time_refresh": true,
"title_case": false,
"type": "table",
"_input_type": "TableInput"
} }
} },
"tool_mode": true
}, },
"showNode": true, "showNode": true,
"type": "CalculatorComponent" "type": "CalculatorComponent"
}, },
"dragging": false, "dragging": false,
"id": "CalculatorComponent-A0PBx", "id": "CalculatorComponent-unDLj",
"measured": { "measured": {
"height": 374, "height": 333,
"width": 360 "width": 320
}, },
"position": { "position": {
"x": 1350.9477037257504, "x": 1350.9477037257504,
@ -1424,10 +1247,79 @@
"type": "genericNode" "type": "genericNode"
} }
], ],
"edges": [
{
"animated": false,
"className": "",
"data": {
"sourceHandle": {
"dataType": "Agent",
"id": "Agent-LDhCf",
"name": "response",
"output_types": ["Message"]
},
"targetHandle": {
"fieldName": "input_value",
"id": "ChatOutput-YQ7Vi",
"inputTypes": ["Message"],
"type": "str"
}
},
"id": "reactflow__edge-Agent-LDhCf{œdataTypeœ:œAgentœ,œidœ:œAgent-LDhCfœ,œnameœ:œresponseœ,œoutput_typesœ:[œMessageœ]}-ChatOutput-YQ7Vi{œfieldNameœ:œinput_valueœ,œidœ:œChatOutput-YQ7Viœ,œinputTypesœ:[œMessageœ],œtypeœ:œstrœ}",
"source": "Agent-LDhCf",
"sourceHandle": "{œdataTypeœ:œAgentœ,œidœ:œAgent-LDhCfœ,œnameœ:œresponseœ,œoutput_typesœ:[œMessageœ]}",
"target": "ChatOutput-YQ7Vi",
"targetHandle": "{œfieldNameœ:œinput_valueœ,œidœ:œChatOutput-YQ7Viœ,œinputTypesœ:[œMessageœ],œtypeœ:œstrœ}"
},
{
"animated": false,
"className": "",
"data": {
"sourceHandle": {
"dataType": "Prompt",
"id": "Prompt-Pe4nO",
"name": "prompt",
"output_types": ["Message"]
},
"targetHandle": {
"fieldName": "input_value",
"id": "Agent-LDhCf",
"inputTypes": ["Message"],
"type": "str"
}
},
"id": "reactflow__edge-Prompt-Pe4nO{œdataTypeœ:œPromptœ,œidœ:œPrompt-Pe4nOœ,œnameœ:œpromptœ,œoutput_typesœ:[œMessageœ]}-Agent-LDhCf{œfieldNameœ:œinput_valueœ,œidœ:œAgent-LDhCfœ,œinputTypesœ:[œMessageœ],œtypeœ:œstrœ}",
"source": "Prompt-Pe4nO",
"sourceHandle": "{œdataTypeœ:œPromptœ,œidœ:œPrompt-Pe4nOœ,œnameœ:œpromptœ,œoutput_typesœ:[œMessageœ]}",
"target": "Agent-LDhCf",
"targetHandle": "{œfieldNameœ:œinput_valueœ,œidœ:œAgent-LDhCfœ,œinputTypesœ:[œMessageœ],œtypeœ:œstrœ}"
},
{
"source": "CalculatorComponent-unDLj",
"sourceHandle": "{œdataTypeœ:œCalculatorComponentœ,œidœ:œCalculatorComponent-unDLjœ,œnameœ:œcomponent_as_toolœ,œoutput_typesœ:[œToolœ]}",
"target": "Agent-LDhCf",
"targetHandle": "{œfieldNameœ:œtoolsœ,œidœ:œAgent-LDhCfœ,œinputTypesœ:[œToolœ],œtypeœ:œotherœ}",
"data": {
"targetHandle": {
"fieldName": "tools",
"id": "Agent-LDhCf",
"inputTypes": ["Tool"],
"type": "other"
},
"sourceHandle": {
"dataType": "CalculatorComponent",
"id": "CalculatorComponent-unDLj",
"name": "component_as_tool",
"output_types": ["Tool"]
}
},
"id": "xy-edge__CalculatorComponent-unDLj{œdataTypeœ:œCalculatorComponentœ,œidœ:œCalculatorComponent-unDLjœ,œnameœ:œcomponent_as_toolœ,œoutput_typesœ:[œToolœ]}-Agent-LDhCf{œfieldNameœ:œtoolsœ,œidœ:œAgent-LDhCfœ,œinputTypesœ:[œToolœ],œtypeœ:œotherœ}"
}
],
"viewport": { "viewport": {
"x": -453.80822100847854, "x": -412.6248764419154,
"y": 40.05341665740133, "y": 239.5139629945674,
"zoom": 0.7636833920540887 "zoom": 0.6920494987327928
} }
}, },
"description": "Calculate SaaS subscription price based on costs, profit margin, and subscribers using step-by-step method and Chain-of-Thought prompting. ", "description": "Calculate SaaS subscription price based on costs, profit margin, and subscribers using step-by-step method and Chain-of-Thought prompting. ",
@ -1438,8 +1330,5 @@
"is_component": false, "is_component": false,
"last_tested_version": "1.1.1", "last_tested_version": "1.1.1",
"name": "SaaS Pricing", "name": "SaaS Pricing",
"tags": [ "tags": ["agents", "assistants"]
"agents", }
"assistants"
]
}

File diff suppressed because one or more lines are too long