feat: update starter projects templates (#5819)
update starter projects templates
This commit is contained in:
parent
d4b9a3f15b
commit
44266f593b
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
|
|
@ -1,96 +1,13 @@
|
|||
{
|
||||
"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": [
|
||||
{
|
||||
"data": {
|
||||
"description": "Create a prompt template with dynamic variables.",
|
||||
"display_name": "Prompt",
|
||||
"id": "Prompt-nzVmM",
|
||||
"id": "Prompt-Pe4nO",
|
||||
"node": {
|
||||
"base_classes": [
|
||||
"Message"
|
||||
],
|
||||
"base_classes": ["Message"],
|
||||
"beta": false,
|
||||
"conditional_paths": [],
|
||||
"custom_fields": {
|
||||
|
|
@ -106,9 +23,7 @@
|
|||
"display_name": "Prompt",
|
||||
"documentation": "",
|
||||
"edited": false,
|
||||
"field_order": [
|
||||
"template"
|
||||
],
|
||||
"field_order": ["template"],
|
||||
"frozen": false,
|
||||
"icon": "prompts",
|
||||
"legacy": false,
|
||||
|
|
@ -122,9 +37,7 @@
|
|||
"method": "build_prompt",
|
||||
"name": "prompt",
|
||||
"selected": "Message",
|
||||
"types": [
|
||||
"Message"
|
||||
],
|
||||
"types": ["Message"],
|
||||
"value": "__UNDEFINED__"
|
||||
}
|
||||
],
|
||||
|
|
@ -157,10 +70,7 @@
|
|||
"fileTypes": [],
|
||||
"file_path": "",
|
||||
"info": "",
|
||||
"input_types": [
|
||||
"Message",
|
||||
"Text"
|
||||
],
|
||||
"input_types": ["Message", "Text"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"multiline": true,
|
||||
|
|
@ -180,10 +90,7 @@
|
|||
"fileTypes": [],
|
||||
"file_path": "",
|
||||
"info": "",
|
||||
"input_types": [
|
||||
"Message",
|
||||
"Text"
|
||||
],
|
||||
"input_types": ["Message", "Text"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"multiline": true,
|
||||
|
|
@ -203,10 +110,7 @@
|
|||
"fileTypes": [],
|
||||
"file_path": "",
|
||||
"info": "",
|
||||
"input_types": [
|
||||
"Message",
|
||||
"Text"
|
||||
],
|
||||
"input_types": ["Message", "Text"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"multiline": true,
|
||||
|
|
@ -226,10 +130,7 @@
|
|||
"fileTypes": [],
|
||||
"file_path": "",
|
||||
"info": "",
|
||||
"input_types": [
|
||||
"Message",
|
||||
"Text"
|
||||
],
|
||||
"input_types": ["Message", "Text"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"multiline": true,
|
||||
|
|
@ -249,10 +150,7 @@
|
|||
"fileTypes": [],
|
||||
"file_path": "",
|
||||
"info": "",
|
||||
"input_types": [
|
||||
"Message",
|
||||
"Text"
|
||||
],
|
||||
"input_types": ["Message", "Text"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"multiline": true,
|
||||
|
|
@ -288,9 +186,7 @@
|
|||
"display_name": "Tool Placeholder",
|
||||
"dynamic": false,
|
||||
"info": "A placeholder input for tool mode.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "tool_placeholder",
|
||||
|
|
@ -311,10 +207,10 @@
|
|||
},
|
||||
"dragging": false,
|
||||
"height": 693,
|
||||
"id": "Prompt-nzVmM",
|
||||
"id": "Prompt-Pe4nO",
|
||||
"measured": {
|
||||
"height": 693,
|
||||
"width": 360
|
||||
"width": 320
|
||||
},
|
||||
"position": {
|
||||
"x": 1349.861745038984,
|
||||
|
|
@ -332,11 +228,9 @@
|
|||
"data": {
|
||||
"description": "Display a chat message in the Playground.",
|
||||
"display_name": "Chat Output",
|
||||
"id": "ChatOutput-60t7m",
|
||||
"id": "ChatOutput-YQ7Vi",
|
||||
"node": {
|
||||
"base_classes": [
|
||||
"Message"
|
||||
],
|
||||
"base_classes": ["Message"],
|
||||
"beta": false,
|
||||
"conditional_paths": [],
|
||||
"custom_fields": {},
|
||||
|
|
@ -368,9 +262,7 @@
|
|||
"method": "message_response",
|
||||
"name": "message",
|
||||
"selected": "Message",
|
||||
"types": [
|
||||
"Message"
|
||||
],
|
||||
"types": ["Message"],
|
||||
"value": "__UNDEFINED__"
|
||||
}
|
||||
],
|
||||
|
|
@ -383,9 +275,7 @@
|
|||
"display_name": "Background Color",
|
||||
"dynamic": false,
|
||||
"info": "The background color of the icon.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "background_color",
|
||||
|
|
@ -405,9 +295,7 @@
|
|||
"display_name": "Icon",
|
||||
"dynamic": false,
|
||||
"info": "The icon of the message.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "chat_icon",
|
||||
|
|
@ -445,9 +333,7 @@
|
|||
"display_name": "Data Template",
|
||||
"dynamic": false,
|
||||
"info": "Template to convert Data to Text. If left empty, it will be dynamically set to the Data's text key.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "data_template",
|
||||
|
|
@ -467,9 +353,7 @@
|
|||
"display_name": "Text",
|
||||
"dynamic": false,
|
||||
"info": "Message to be passed as output.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "input_value",
|
||||
|
|
@ -490,10 +374,7 @@
|
|||
"dynamic": false,
|
||||
"info": "Type of sender.",
|
||||
"name": "sender",
|
||||
"options": [
|
||||
"Machine",
|
||||
"User"
|
||||
],
|
||||
"options": ["Machine", "User"],
|
||||
"placeholder": "",
|
||||
"required": false,
|
||||
"show": true,
|
||||
|
|
@ -509,9 +390,7 @@
|
|||
"display_name": "Sender Name",
|
||||
"dynamic": false,
|
||||
"info": "Name of the sender.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "sender_name",
|
||||
|
|
@ -531,9 +410,7 @@
|
|||
"display_name": "Session ID",
|
||||
"dynamic": false,
|
||||
"info": "The session ID of the chat. If empty, the current session ID parameter will be used.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "session_id",
|
||||
|
|
@ -569,9 +446,7 @@
|
|||
"display_name": "Text Color",
|
||||
"dynamic": false,
|
||||
"info": "The text color of the name",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "text_color",
|
||||
|
|
@ -592,10 +467,10 @@
|
|||
},
|
||||
"dragging": false,
|
||||
"height": 234,
|
||||
"id": "ChatOutput-60t7m",
|
||||
"id": "ChatOutput-YQ7Vi",
|
||||
"measured": {
|
||||
"height": 234,
|
||||
"width": 360
|
||||
"width": 320
|
||||
},
|
||||
"position": {
|
||||
"x": 2240.3625274769397,
|
||||
|
|
@ -611,7 +486,7 @@
|
|||
},
|
||||
{
|
||||
"data": {
|
||||
"id": "note-BnQHz",
|
||||
"id": "note-o7ebV",
|
||||
"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! 💼📊",
|
||||
"display_name": "",
|
||||
|
|
@ -622,10 +497,10 @@
|
|||
},
|
||||
"dragging": false,
|
||||
"height": 800,
|
||||
"id": "note-BnQHz",
|
||||
"id": "note-o7ebV",
|
||||
"measured": {
|
||||
"height": 800,
|
||||
"width": 328
|
||||
"width": 325
|
||||
},
|
||||
"position": {
|
||||
"x": 689.7659055360411,
|
||||
|
|
@ -648,11 +523,9 @@
|
|||
"data": {
|
||||
"description": "Define the agent's instructions, then enter a task to complete using tools.",
|
||||
"display_name": "Agent",
|
||||
"id": "Agent-HoULP",
|
||||
"id": "Agent-LDhCf",
|
||||
"node": {
|
||||
"base_classes": [
|
||||
"Message"
|
||||
],
|
||||
"base_classes": ["Message"],
|
||||
"beta": false,
|
||||
"conditional_paths": [],
|
||||
"custom_fields": {},
|
||||
|
|
@ -701,9 +574,7 @@
|
|||
"method": "message_response",
|
||||
"name": "response",
|
||||
"selected": "Message",
|
||||
"types": [
|
||||
"Message"
|
||||
],
|
||||
"types": ["Message"],
|
||||
"value": "__UNDEFINED__"
|
||||
}
|
||||
],
|
||||
|
|
@ -732,9 +603,7 @@
|
|||
"display_name": "Agent Description [Deprecated]",
|
||||
"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.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"multiline": true,
|
||||
|
|
@ -783,10 +652,8 @@
|
|||
"display_name": "OpenAI API Key",
|
||||
"dynamic": false,
|
||||
"info": "The OpenAI API Key to use for the OpenAI model.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"load_from_db": true,
|
||||
"input_types": ["Message"],
|
||||
"load_from_db": false,
|
||||
"name": "api_key",
|
||||
"password": true,
|
||||
"placeholder": "",
|
||||
|
|
@ -836,9 +703,7 @@
|
|||
"display_name": "Input",
|
||||
"dynamic": false,
|
||||
"info": "The input provided by the user for the agent to process.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "input_value",
|
||||
|
|
@ -912,9 +777,7 @@
|
|||
"display_name": "External Memory",
|
||||
"dynamic": false,
|
||||
"info": "Retrieve messages from an external memory. If empty, it will use the Langflow tables.",
|
||||
"input_types": [
|
||||
"Memory"
|
||||
],
|
||||
"input_types": ["Memory"],
|
||||
"list": false,
|
||||
"name": "memory",
|
||||
"placeholder": "",
|
||||
|
|
@ -1008,10 +871,7 @@
|
|||
"dynamic": false,
|
||||
"info": "Order of the messages.",
|
||||
"name": "order",
|
||||
"options": [
|
||||
"Ascending",
|
||||
"Descending"
|
||||
],
|
||||
"options": ["Ascending", "Descending"],
|
||||
"placeholder": "",
|
||||
"required": false,
|
||||
"show": true,
|
||||
|
|
@ -1045,11 +905,7 @@
|
|||
"dynamic": false,
|
||||
"info": "Filter by sender type.",
|
||||
"name": "sender",
|
||||
"options": [
|
||||
"Machine",
|
||||
"User",
|
||||
"Machine and User"
|
||||
],
|
||||
"options": ["Machine", "User", "Machine and User"],
|
||||
"placeholder": "",
|
||||
"required": false,
|
||||
"show": true,
|
||||
|
|
@ -1065,9 +921,7 @@
|
|||
"display_name": "Sender Name",
|
||||
"dynamic": false,
|
||||
"info": "Filter by sender name.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "sender_name",
|
||||
|
|
@ -1087,9 +941,7 @@
|
|||
"display_name": "Session ID",
|
||||
"dynamic": false,
|
||||
"info": "The session ID of the chat. If empty, the current session ID parameter will be used.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"name": "session_id",
|
||||
|
|
@ -1109,9 +961,7 @@
|
|||
"display_name": "Agent Instructions",
|
||||
"dynamic": false,
|
||||
"info": "System Prompt: Initial instructions and context provided to guide the agent's behavior.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"multiline": true,
|
||||
|
|
@ -1148,9 +998,7 @@
|
|||
"display_name": "Template",
|
||||
"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.",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"load_from_db": false,
|
||||
"multiline": true,
|
||||
|
|
@ -1171,9 +1019,7 @@
|
|||
"display_name": "Tools",
|
||||
"dynamic": false,
|
||||
"info": "These are the tools that the agent can use to help with tasks.",
|
||||
"input_types": [
|
||||
"Tool"
|
||||
],
|
||||
"input_types": ["Tool"],
|
||||
"list": true,
|
||||
"name": "tools",
|
||||
"placeholder": "",
|
||||
|
|
@ -1207,10 +1053,10 @@
|
|||
},
|
||||
"dragging": false,
|
||||
"height": 650,
|
||||
"id": "Agent-HoULP",
|
||||
"id": "Agent-LDhCf",
|
||||
"measured": {
|
||||
"height": 650,
|
||||
"width": 360
|
||||
"width": 320
|
||||
},
|
||||
"position": {
|
||||
"x": 1819.2633856623966,
|
||||
|
|
@ -1226,11 +1072,9 @@
|
|||
},
|
||||
{
|
||||
"data": {
|
||||
"id": "CalculatorComponent-A0PBx",
|
||||
"id": "CalculatorComponent-unDLj",
|
||||
"node": {
|
||||
"base_classes": [
|
||||
"Data"
|
||||
],
|
||||
"base_classes": ["Data"],
|
||||
"beta": false,
|
||||
"category": "tools",
|
||||
"conditional_paths": [],
|
||||
|
|
@ -1239,9 +1083,7 @@
|
|||
"display_name": "Calculator",
|
||||
"documentation": "",
|
||||
"edited": false,
|
||||
"field_order": [
|
||||
"expression"
|
||||
],
|
||||
"field_order": ["expression"],
|
||||
"frozen": false,
|
||||
"icon": "calculator",
|
||||
"key": "CalculatorComponent",
|
||||
|
|
@ -1251,17 +1093,15 @@
|
|||
"output_types": [],
|
||||
"outputs": [
|
||||
{
|
||||
"cache": true,
|
||||
"display_name": "Toolset",
|
||||
"hidden": null,
|
||||
"method": "to_toolkit",
|
||||
"name": "component_as_tool",
|
||||
"required_inputs": null,
|
||||
"types": ["Tool"],
|
||||
"selected": "Tool",
|
||||
"types": [
|
||||
"Tool"
|
||||
],
|
||||
"value": "__UNDEFINED__"
|
||||
"name": "component_as_tool",
|
||||
"hidden": null,
|
||||
"display_name": "Toolset",
|
||||
"method": "to_toolkit",
|
||||
"value": "__UNDEFINED__",
|
||||
"cache": true,
|
||||
"required_inputs": null
|
||||
}
|
||||
],
|
||||
"pinned": false,
|
||||
|
|
@ -1292,9 +1132,7 @@
|
|||
"display_name": "Expression",
|
||||
"dynamic": false,
|
||||
"info": "The arithmetic expression to evaluate (e.g., '4*4*(33/22)+12-20').",
|
||||
"input_types": [
|
||||
"Message"
|
||||
],
|
||||
"input_types": ["Message"],
|
||||
"list": false,
|
||||
"list_add_label": "Add More",
|
||||
"load_from_db": false,
|
||||
|
|
@ -1310,111 +1148,96 @@
|
|||
"value": ""
|
||||
},
|
||||
"tools_metadata": {
|
||||
"_input_type": "TableInput",
|
||||
"advanced": false,
|
||||
"display_name": "Edit tools",
|
||||
"dynamic": false,
|
||||
"info": "",
|
||||
"tool_mode": false,
|
||||
"is_list": true,
|
||||
"list_add_label": "Add More",
|
||||
"name": "tools_metadata",
|
||||
"placeholder": "",
|
||||
"real_time_refresh": true,
|
||||
"required": false,
|
||||
"show": true,
|
||||
"table_schema": {
|
||||
"columns": [
|
||||
{
|
||||
"name": "name",
|
||||
"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_options": {
|
||||
"block_add": true,
|
||||
"block_delete": true,
|
||||
"block_edit": true,
|
||||
"block_sort": true,
|
||||
"block_filter": true,
|
||||
"block_hide": true,
|
||||
"block_select": true,
|
||||
"block_sort": true,
|
||||
"description": "Modify tool names and descriptions to help agents understand when to use each tool.",
|
||||
"hide_options": true,
|
||||
"field_parsers": {
|
||||
"commands": "commands",
|
||||
"name": [
|
||||
"snake_case",
|
||||
"no_blank"
|
||||
]
|
||||
"name": ["snake_case", "no_blank"],
|
||||
"commands": "commands"
|
||||
},
|
||||
"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,
|
||||
"trigger_icon": "Hammer",
|
||||
"trigger_text": "",
|
||||
"type": "table",
|
||||
"required": false,
|
||||
"placeholder": "",
|
||||
"show": true,
|
||||
"name": "tools_metadata",
|
||||
"value": [
|
||||
{
|
||||
"description": "evaluate_expression() - Perform basic arithmetic operations on a given expression.",
|
||||
"name": "None-evaluate_expression",
|
||||
"tags": [
|
||||
"None-evaluate_expression"
|
||||
]
|
||||
"tags": ["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,
|
||||
"type": "CalculatorComponent"
|
||||
},
|
||||
"dragging": false,
|
||||
"id": "CalculatorComponent-A0PBx",
|
||||
"id": "CalculatorComponent-unDLj",
|
||||
"measured": {
|
||||
"height": 374,
|
||||
"width": 360
|
||||
"height": 333,
|
||||
"width": 320
|
||||
},
|
||||
"position": {
|
||||
"x": 1350.9477037257504,
|
||||
|
|
@ -1424,10 +1247,79 @@
|
|||
"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": {
|
||||
"x": -453.80822100847854,
|
||||
"y": 40.05341665740133,
|
||||
"zoom": 0.7636833920540887
|
||||
"x": -412.6248764419154,
|
||||
"y": 239.5139629945674,
|
||||
"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. ",
|
||||
|
|
@ -1438,8 +1330,5 @@
|
|||
"is_component": false,
|
||||
"last_tested_version": "1.1.1",
|
||||
"name": "SaaS Pricing",
|
||||
"tags": [
|
||||
"agents",
|
||||
"assistants"
|
||||
]
|
||||
}
|
||||
"tags": ["agents", "assistants"]
|
||||
}
|
||||
|
|
|
|||
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue