fixing parser, tools and executor

This commit is contained in:
João Moura
2024-09-15 18:41:59 -03:00
parent c2795307f6
commit f216b0a78c
98 changed files with 21270 additions and 26437 deletions

View File

@@ -18,7 +18,7 @@ interactions:
final answer: The result of the multiplication.\nyou MUST return the actual
complete content as the final answer, not a summary.\n\nBegin! This is VERY
important to you, use the tools available and give your best Final Answer, your
job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nObservation"]}'
job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -27,12 +27,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1487'
- '1482'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -56,20 +56,20 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVikpsfJtc53aHl20Qv3XQWH8Sa\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214402,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW0Gry6dlN5DWjh69DTpiR6SKXB\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379712,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"To find the result of multiplying 2 by
6, I will use the multiplier tool.\\n\\nAction: multiplier\\nAction Input: {\\\"first_number\\\":
2, \\\"second_number\\\": 6}\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
309,\n \"completion_tokens\": 40,\n \"total_tokens\": 349,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
\"assistant\",\n \"content\": \"I need to multiply 2 by 6 to find the
result.\\n\\nAction: multiplier\\nAction Input: {\\\"first_number\\\": 2, \\\"second_number\\\":
6}\",\n \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 309,\n \"completion_tokens\":
35,\n \"total_tokens\": 344,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c2699ef3dcd14f2-LAX
- 8c365dd27ecc221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -77,7 +77,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:03 GMT
- Sun, 15 Sep 2024 05:55:13 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -91,7 +91,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '656'
- '589'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -109,7 +109,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_146ccd403b8e7a1af91b4d7f30492ef7
- req_eb99986859646005d49ea638d4ab082f
http_version: HTTP/1.1
status_code: 200
- request:
@@ -131,10 +131,9 @@ interactions:
final answer: The result of the multiplication.\nyou MUST return the actual
complete content as the final answer, not a summary.\n\nBegin! This is VERY
important to you, use the tools available and give your best Final Answer, your
job depends on it!\n\nThought:"}, {"role": "assistant", "content": "To find
the result of multiplying 2 by 6, I will use the multiplier tool.\n\nAction:
multiplier\nAction Input: {\"first_number\": 2, \"second_number\": 6}\nObservation:
12"}], "model": "gpt-4o", "stop": ["\nObservation"]}'
job depends on it!\n\nThought:"}, {"role": "assistant", "content": "I need to
multiply 2 by 6 to find the result.\n\nAction: multiplier\nAction Input: {\"first_number\":
2, \"second_number\": 6}\nObservation: 12"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -143,12 +142,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1696'
- '1663'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -172,20 +171,19 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVkYkVr5KQdW8sCTi7suWOE2Twu\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214404,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW1eoHwY6XFFzWrXUQlXPM8J4fz\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379713,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now know the final answer.\\nFinal
Answer: The result of the multiplication 2 times 6 is 12.\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 357,\n \"completion_tokens\":
26,\n \"total_tokens\": 383,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
Answer: 12\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
352,\n \"completion_tokens\": 14,\n \"total_tokens\": 366,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c2699f94fd314f2-LAX
- 8c365dd83906221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -193,7 +191,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:04 GMT
- Sun, 15 Sep 2024 05:55:13 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -207,7 +205,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '439'
- '277'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -219,13 +217,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999606'
- '29999614'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_339d4d090e956f0e87f5d751590e9b78
- req_0146f3c04119eaec864f1b7adfa31d46
http_version: HTTP/1.1
status_code: 200
- request:
@@ -247,7 +245,7 @@ interactions:
final answer: The result of the multiplication.\nyou MUST return the actual
complete content as the final answer, not a summary.\n\nBegin! This is VERY
important to you, use the tools available and give your best Final Answer, your
job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nObservation"]}'
job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -256,12 +254,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1487'
- '1482'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -285,20 +283,21 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVloyLmrsa93frKdhOubxsInpKa\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214405,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW2oKeqqdzGfpnYDQjrtLxdDlRL\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379714,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I need to multiply 3 by 3 to
find the result.\\n\\nAction: multiplier\\nAction Input: {\\\"first_number\\\":
3, \\\"second_number\\\": 3}\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
309,\n \"completion_tokens\": 37,\n \"total_tokens\": 346,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
\"assistant\",\n \"content\": \"Thought: I need to use the multiplier
tool to find the product of 3 and 3.\\n\\nAction: multiplier\\nAction Input:
{\\\"first_number\\\": 3, \\\"second_number\\\": 3}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 309,\n \"completion_tokens\":
41,\n \"total_tokens\": 350,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c269a02e8b714f2-LAX
- 8c365ddc4a50221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -306,7 +305,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:06 GMT
- Sun, 15 Sep 2024 05:55:14 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -320,7 +319,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '560'
- '475'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -338,7 +337,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_e388ab22bf57171394b47a7e3bc05cc2
- req_a988c42f9594d9c05b5230f1c884b2ee
http_version: HTTP/1.1
status_code: 200
- request:
@@ -361,9 +360,9 @@ interactions:
complete content as the final answer, not a summary.\n\nBegin! This is VERY
important to you, use the tools available and give your best Final Answer, your
job depends on it!\n\nThought:"}, {"role": "assistant", "content": "Thought:
I need to multiply 3 by 3 to find the result.\n\nAction: multiplier\nAction
Input: {\"first_number\": 3, \"second_number\": 3}\nObservation: 9"}], "model":
"gpt-4o", "stop": ["\nObservation"]}'
I need to use the multiplier tool to find the product of 3 and 3.\n\nAction:
multiplier\nAction Input: {\"first_number\": 3, \"second_number\": 3}\nObservation:
9"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -372,12 +371,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1676'
- '1691'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -401,19 +400,20 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVn3ozJl9KqTrIt5w3BBmwdoDh5\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214407,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW2EigbCpAcIUJeCPGfbiXq494Y\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379714,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now know the final answer\\nFinal
Answer: 9\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
354,\n \"completion_tokens\": 14,\n \"total_tokens\": 368,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
\"assistant\",\n \"content\": \"Thought: I now know the final answer.\\nFinal
Answer: The result of the multiplication is 9.\",\n \"refusal\": null\n
\ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n
\ ],\n \"usage\": {\n \"prompt_tokens\": 358,\n \"completion_tokens\":
21,\n \"total_tokens\": 379,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c269a0c89e114f2-LAX
- 8c365de11c39221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -421,7 +421,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:07 GMT
- Sun, 15 Sep 2024 05:55:15 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -435,7 +435,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '261'
- '295'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -447,13 +447,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999611'
- '29999606'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_0b30c78597c2db3f1cabc06620aaa9a4
- req_24a4ca09bd8fb721d7985ddd21b86f97
http_version: HTTP/1.1
status_code: 200
- request:
@@ -475,7 +475,7 @@ interactions:
the expect criteria for your final answer: The result of the multiplication.\nyou
MUST return the actual complete content as the final answer, not a summary.\n\nBegin!
This is VERY important to you, use the tools available and give your best Final
Answer, your job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nObservation"]}'
Answer, your job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -484,12 +484,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1518'
- '1513'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -513,21 +513,21 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVo6LjIAsgxzMlebQzPPDBUPJm0\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214408,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW3flonWKav5eCbIXvgfUlgxmYX\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379715,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I need to use the multiplier
tool to find the product of 2, 6, and 3. I should first multiply 2 by 6 and
then multiply the result by 3.\\n\\nAction: multiplier\\nAction Input: {\\\"first_number\\\":
2, \\\"second_number\\\": 6}\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
317,\n \"completion_tokens\": 63,\n \"total_tokens\": 380,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
\"assistant\",\n \"content\": \"To find out what 2 times 6 times 3 is,
first, I will multiply 2 by 6. Then, I will take the result and multiply it
by 3.\\n\\nAction: multiplier\\nAction Input: {\\\"first_number\\\": 2, \\\"second_number\\\":
6}\",\n \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 317,\n \"completion_tokens\":
60,\n \"total_tokens\": 377,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c269a14291314f2-LAX
- 8c365de4cd99221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -535,7 +535,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:09 GMT
- Sun, 15 Sep 2024 05:55:16 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -549,7 +549,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '820'
- '719'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -567,7 +567,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_68f65e15910460ab177b14dedc75cdb9
- req_7405f33edc8e43b24d076a27d5a599df
http_version: HTTP/1.1
status_code: 200
- request:
@@ -590,10 +590,10 @@ interactions:
MUST return the actual complete content as the final answer, not a summary.\n\nBegin!
This is VERY important to you, use the tools available and give your best Final
Answer, your job depends on it!\n\nThought:"}, {"role": "assistant", "content":
"Thought: I need to use the multiplier tool to find the product of 2, 6, and
3. I should first multiply 2 by 6 and then multiply the result by 3.\n\nAction:
multiplier\nAction Input: {\"first_number\": 2, \"second_number\": 6}\nObservation:
12"}], "model": "gpt-4o", "stop": ["\nObservation"]}'
"To find out what 2 times 6 times 3 is, first, I will multiply 2 by 6. Then,
I will take the result and multiply it by 3.\n\nAction: multiplier\nAction Input:
{\"first_number\": 2, \"second_number\": 6}\nObservation: 12"}], "model": "gpt-4o",
"stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -602,12 +602,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1798'
- '1769'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -631,20 +631,21 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVqF8zACvFPls306J34nIpvTcv9\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214410,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW4iCjvKB1JPp6zZGiXOYv3JsNG\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379716,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now need to multiply the result,
12, by 3 to get the final answer.\\n\\nAction: multiplier\\nAction Input: {\\\"first_number\\\":
12, \\\"second_number\\\": 3}\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
388,\n \"completion_tokens\": 43,\n \"total_tokens\": 431,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
12, \\\"second_number\\\": 3}\\nObservation: 36\",\n \"refusal\": null\n
\ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n
\ ],\n \"usage\": {\n \"prompt_tokens\": 385,\n \"completion_tokens\":
47,\n \"total_tokens\": 432,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c269a204ca414f2-LAX
- 8c365deb1830221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -652,7 +653,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:11 GMT
- Sun, 15 Sep 2024 05:55:17 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -666,7 +667,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '1135'
- '575'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -678,13 +679,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999582'
- '29999588'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_3c7e06fbd93ee9b79541d6f77eb6c875
- req_b526a61fcb563ec481d9e0671f2611fb
http_version: HTTP/1.1
status_code: 200
- request:
@@ -707,13 +708,12 @@ interactions:
MUST return the actual complete content as the final answer, not a summary.\n\nBegin!
This is VERY important to you, use the tools available and give your best Final
Answer, your job depends on it!\n\nThought:"}, {"role": "assistant", "content":
"Thought: I need to use the multiplier tool to find the product of 2, 6, and
3. I should first multiply 2 by 6 and then multiply the result by 3.\n\nAction:
multiplier\nAction Input: {\"first_number\": 2, \"second_number\": 6}\nObservation:
12"}, {"role": "assistant", "content": "Thought: I now need to multiply the
result, 12, by 3 to get the final answer.\n\nAction: multiplier\nAction Input:
{\"first_number\": 12, \"second_number\": 3}\nObservation: 36"}], "model": "gpt-4o",
"stop": ["\nObservation"]}'
"To find out what 2 times 6 times 3 is, first, I will multiply 2 by 6. Then,
I will take the result and multiply it by 3.\n\nAction: multiplier\nAction Input:
{\"first_number\": 2, \"second_number\": 6}\nObservation: 12"}, {"role": "assistant",
"content": "Thought: I now need to multiply the result, 12, by 3 to get the
final answer.\n\nAction: multiplier\nAction Input: {\"first_number\": 12, \"second_number\":
3}\nObservation: 36\nObservation: 36"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -722,12 +722,12 @@ interactions:
connection:
- keep-alive
content-length:
- '2012'
- '2000'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -751,19 +751,19 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVsv9gXUcFHIt3KFi59vX8jMuTS\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214412,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW5c8DPkww1tu90yWIDqselrG2y\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379717,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now know the final answer.\\nFinal
\"assistant\",\n \"content\": \"Thought: I now know the final answer.\\n\\nFinal
Answer: 36\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
439,\n \"completion_tokens\": 14,\n \"total_tokens\": 453,\n \"completion_tokens_details\":
441,\n \"completion_tokens\": 14,\n \"total_tokens\": 455,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c269a2d89d414f2-LAX
- 8c365df0aa62221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -771,7 +771,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:12 GMT
- Sun, 15 Sep 2024 05:55:17 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -785,7 +785,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '286'
- '242'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -797,13 +797,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999538'
- '29999541'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_b684466a8e9f78fd255b2b0a65ba9715
- req_8a257320c8eb19a007529528333298d0
http_version: HTTP/1.1
status_code: 200
- request:
@@ -826,7 +826,7 @@ interactions:
The result of the multiplication.\nyou MUST return the actual complete content
as the final answer, not a summary.\n\nBegin! This is VERY important to you,
use the tools available and give your best Final Answer, your job depends on
it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nObservation"]}'
it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -835,12 +835,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1561'
- '1556'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -864,20 +864,20 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVuJiKKbJKHHhFHYBpJMJnJ3KIm\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214414,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW5QciFOGeCGvDjOX7cHEPQ0C7q\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379717,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I need to multiply 2 and 6 to
find the result.\\n\\nAction: multiplier\\nAction Input: {\\\"first_number\\\":
\"assistant\",\n \"content\": \"I need to multiply 2 and 6 using the
multiplier tool to get the result.\\n\\nAction: multiplier\\nAction Input: {\\\"first_number\\\":
2, \\\"second_number\\\": 6}\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
321,\n \"completion_tokens\": 37,\n \"total_tokens\": 358,\n \"completion_tokens_details\":
321,\n \"completion_tokens\": 39,\n \"total_tokens\": 360,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c269a376b8714f2-LAX
- 8c365df40c26221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -885,7 +885,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:14 GMT
- Sun, 15 Sep 2024 05:55:19 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -899,7 +899,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '564'
- '1407'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -917,7 +917,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_f7355b4e41ca1e37cfde22bb8bafa33c
- req_72791f968d0fb88c2389d946f24cc8a7
http_version: HTTP/1.1
status_code: 200
- request:
@@ -940,9 +940,10 @@ interactions:
The result of the multiplication.\nyou MUST return the actual complete content
as the final answer, not a summary.\n\nBegin! This is VERY important to you,
use the tools available and give your best Final Answer, your job depends on
it!\n\nThought:"}, {"role": "assistant", "content": "Thought: I need to multiply
2 and 6 to find the result.\n\nAction: multiplier\nAction Input: {\"first_number\":
2, \"second_number\": 6}\nObservation: 12"}], "model": "gpt-4o", "stop": ["\nObservation"]}'
it!\n\nThought:"}, {"role": "assistant", "content": "I need to multiply 2 and
6 using the multiplier tool to get the result.\n\nAction: multiplier\nAction
Input: {\"first_number\": 2, \"second_number\": 6}\nObservation: 12"}], "model":
"gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -951,12 +952,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1752'
- '1763'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=J1VIPhfusyyXtwM.1L9zbe3jdnU7NVyHC3AWiKXO280-1726379702-1.0.1.1-LDa9RyXFli18t4ZEuVAENTChdNAkRtdWXRkRLbBHbCXdobugQ3T.arhMpSKwtnBRXKPcC4b66UA7BsSy1VXDHQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -980,19 +981,19 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vVvcXHmAnnekQNMZt93mbtfVuq6\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214415,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cW7dc5pk593ch4oeQaaLphlTpRc\",\n \"object\":
\"chat.completion\",\n \"created\": 1726379719,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now know the final answer\\nFinal
Answer: 12\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
366,\n \"completion_tokens\": 14,\n \"total_tokens\": 380,\n \"completion_tokens_details\":
368,\n \"completion_tokens\": 14,\n \"total_tokens\": 382,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c269a410d9d14f2-LAX
- 8c365dfeb8f7221a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -1000,7 +1001,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:00:16 GMT
- Sun, 15 Sep 2024 05:55:19 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -1014,7 +1015,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '255'
- '229'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -1026,13 +1027,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999593'
- '29999588'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_89aaf43bdaddab44060306d5c5059680
- req_e27c1401f90c66f9a6e840103afa4538
http_version: HTTP/1.1
status_code: 200
version: 1