Files
n8n-enterprise-unlocked/test-workflows/snapshots/251-snapshot.json
2025-05-20 07:24:56 +01:00

276 lines
13 KiB
JSON

{
"data": {
"startData": {},
"resultData": {
"runData": {
"When clicking \"Test workflow\"": [
{
"startTime": 1747344000257,
"executionIndex": 0,
"source": [],
"hints": [],
"executionTime": 0,
"executionStatus": "success",
"data": {
"main": [
[
{
"json": {},
"pairedItem": {
"item": 0
}
}
]
]
}
}
],
"OpenAI Chat Model1": [
{
"startTime": 1747344000262,
"executionTime": 886,
"executionIndex": 2,
"executionStatus": "success",
"source": [
{
"previousNode": "AI Agent1",
"previousNodeRun": 0
}
],
"data": {
"ai_languageModel": [
[
{
"json": {
"response": {
"object": true
},
"tokenUsage": {
"object": true
}
}
}
]
]
},
"inputOverride": {
"ai_languageModel": [
[
{
"json": {
"messages": [
"System: Assistant is a large language model trained by OpenAI.\n\nAssistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. As a language model, Assistant is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.\n\nAssistant is constantly learning and improving, and its capabilities are constantly evolving. It is able to process and understand large amounts of text, and can use this knowledge to provide accurate and informative responses to a wide range of questions. Additionally, Assistant is able to generate its own text based on the input it receives, allowing it to engage in discussions and provide explanations and descriptions on a wide range of topics.\n\nOverall, Assistant is a powerful system that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics. Whether you need help with a specific question or just want to have a conversation about a particular topic, Assistant is here to assist. However, above all else, all responses must adhere to the format of RESPONSE FORMAT INSTRUCTIONS.\nHuman: TOOLS\n------\nAssistant can ask the user to use tools to look up information that may be helpful in answering the users original question. The tools the human can use are:\n\ncalculator: Useful for getting the result of a math expression. The input to this tool should be a valid mathematical expression that could be executed by a simple calculator.\n\nRESPONSE FORMAT INSTRUCTIONS\n----------------------------\n\nOutput a JSON markdown code snippet containing a valid JSON object in one of two formats:\n\n**Option 1:**\nUse this if you want the human to use a tool.\nMarkdown code snippet formatted in the following schema:\n\n```json\n{\n \"action\": string, // The action to take. Must be one of [calculator]\n \"action_input\": string // The input to the action. May be a stringified object.\n}\n```\n\n**Option #2:**\nUse this if you want to respond directly and conversationally to the human. Markdown code snippet formatted in the following schema:\n\n```json\n{\n \"action\": \"Final Answer\",\n \"action_input\": string // You should put what you want to return to user here and make sure to use valid json newline characters.\n}\n```\n\nFor both options, remember to always include the surrounding markdown code snippet delimiters (begin with \"```json\" and end with \"```\")!\n\n\nUSER'S INPUT\n--------------------\nHere is the user's input (remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else):\n\nWhat is the result of 30 + (10002200 / 100)? Only respond with a number."
],
"estimatedTokens": 567,
"options": {
"openai_api_key": {
"lc": 1,
"type": "secret",
"id": [
"OPENAI_API_KEY"
]
},
"model": "gpt-4o-mini",
"temperature": 0,
"timeout": 60000,
"max_retries": 2,
"configuration": {
"baseURL": "https://api.openai.com/v1"
},
"model_kwargs": {}
}
}
}
]
]
},
"metadata": {
"subRun": [
{
"node": "OpenAI Chat Model1",
"runIndex": 0
},
{
"node": "OpenAI Chat Model1",
"runIndex": 1
}
]
}
},
{
"startTime": 1747344001150,
"executionTime": 691,
"executionIndex": 4,
"executionStatus": "success",
"source": [
{
"previousNode": "AI Agent1",
"previousNodeRun": 0
}
],
"data": {
"ai_languageModel": [
[
{
"json": {
"response": {
"object": true
},
"tokenUsage": {
"object": true
}
}
}
]
]
},
"inputOverride": {
"ai_languageModel": [
[
{
"json": {
"messages": [
"System: Assistant is a large language model trained by OpenAI.\n\nAssistant is designed to be able to assist with a wide range of tasks, from answering simple questions to providing in-depth explanations and discussions on a wide range of topics. As a language model, Assistant is able to generate human-like text based on the input it receives, allowing it to engage in natural-sounding conversations and provide responses that are coherent and relevant to the topic at hand.\n\nAssistant is constantly learning and improving, and its capabilities are constantly evolving. It is able to process and understand large amounts of text, and can use this knowledge to provide accurate and informative responses to a wide range of questions. Additionally, Assistant is able to generate its own text based on the input it receives, allowing it to engage in discussions and provide explanations and descriptions on a wide range of topics.\n\nOverall, Assistant is a powerful system that can help with a wide range of tasks and provide valuable insights and information on a wide range of topics. Whether you need help with a specific question or just want to have a conversation about a particular topic, Assistant is here to assist. However, above all else, all responses must adhere to the format of RESPONSE FORMAT INSTRUCTIONS.\nHuman: TOOLS\n------\nAssistant can ask the user to use tools to look up information that may be helpful in answering the users original question. The tools the human can use are:\n\ncalculator: Useful for getting the result of a math expression. The input to this tool should be a valid mathematical expression that could be executed by a simple calculator.\n\nRESPONSE FORMAT INSTRUCTIONS\n----------------------------\n\nOutput a JSON markdown code snippet containing a valid JSON object in one of two formats:\n\n**Option 1:**\nUse this if you want the human to use a tool.\nMarkdown code snippet formatted in the following schema:\n\n```json\n{\n \"action\": string, // The action to take. Must be one of [calculator]\n \"action_input\": string // The input to the action. May be a stringified object.\n}\n```\n\n**Option #2:**\nUse this if you want to respond directly and conversationally to the human. Markdown code snippet formatted in the following schema:\n\n```json\n{\n \"action\": \"Final Answer\",\n \"action_input\": string // You should put what you want to return to user here and make sure to use valid json newline characters.\n}\n```\n\nFor both options, remember to always include the surrounding markdown code snippet delimiters (begin with \"```json\" and end with \"```\")!\n\n\nUSER'S INPUT\n--------------------\nHere is the user's input (remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else):\n\nWhat is the result of 30 + (10002200 / 100)? Only respond with a number.\nAI: ```json\n{\n \"action\": \"calculator\",\n \"action_input\": \"30 + (10002200 / 100)\"\n}\n```\nHuman: TOOL RESPONSE:\n---------------------\n100052\n\nUSER'S INPUT\n--------------------\n\nOkay, so what is the response to my last comment? If using information obtained from the tools you must mention it explicitly without mentioning the tool names - I have forgotten all TOOL RESPONSES! Remember to respond with a markdown code snippet of a json blob with a single action, and NOTHING else."
],
"estimatedTokens": 675,
"options": {
"openai_api_key": {
"lc": 1,
"type": "secret",
"id": [
"OPENAI_API_KEY"
]
},
"model": "gpt-4o-mini",
"temperature": 0,
"timeout": 60000,
"max_retries": 2,
"configuration": {
"baseURL": "https://api.openai.com/v1"
},
"model_kwargs": {}
}
}
}
]
]
}
}
],
"Calculator1": [
{
"startTime": 1747344001148,
"executionTime": 1,
"executionIndex": 3,
"executionStatus": "success",
"source": [
{
"previousNode": "AI Agent1",
"previousNodeRun": 0
}
],
"data": {
"ai_tool": [
[
{
"json": {
"response": "100052"
}
}
]
]
},
"inputOverride": {
"ai_tool": [
[
{
"json": {
"query": "30 + (10002200 / 100)"
}
}
]
]
},
"metadata": {
"subRun": [
{
"node": "Calculator1",
"runIndex": 0
}
]
}
}
],
"AI Agent1": [
{
"startTime": 1747344000257,
"executionIndex": 1,
"source": [
{
"previousNode": "When clicking \"Test workflow\""
}
],
"hints": [],
"executionTime": 1584,
"executionStatus": "success",
"data": {
"main": [
[
{
"json": {
"output": "The result of your calculation is 100052.",
"intermediateSteps": [
"json array"
]
},
"pairedItem": {
"item": 0
}
}
]
]
}
}
]
},
"lastNodeExecuted": "AI Agent1"
},
"executionData": {
"contextData": {},
"nodeExecutionStack": [],
"metadata": {
"OpenAI Chat Model1": [
{
"subRun": [
{
"node": "OpenAI Chat Model1",
"runIndex": 0
},
{
"node": "OpenAI Chat Model1",
"runIndex": 1
}
]
}
],
"Calculator1": [
{
"subRun": [
{
"node": "Calculator1",
"runIndex": 0
}
]
}
]
},
"waitingExecution": {},
"waitingExecutionSource": {}
}
},
"mode": "cli",
"startedAt": "2025-05-15T21:20:00.257Z",
"stoppedAt": "2025-05-15T21:20:01.841Z",
"status": "running",
"finished": true
}