updating tests

This commit is contained in:
João Moura
2024-09-23 17:45:20 -03:00
parent 493f046c03
commit 2d54b096af
96 changed files with 65055 additions and 30874 deletions

View File

@@ -24,8 +24,8 @@ interactions:
content-type:
- application/json
cookie:
- __cf_bm=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-0.0.1.1-604800000
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -49,8 +49,8 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAWsD1ZCaRqIJnIleYip5B3XKkZ5f\",\n \"object\":
\"chat.completion\",\n \"created\": 1727073009,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AAjL17jOCbQezD9x4Crsu0Z4abdMQ\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120923,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I now can give a great answer\\nFinal
Answer: 4\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
@@ -61,7 +61,7 @@ interactions:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c787c05ffc1a4ee-MIA
- 8c7d0dcb1894a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -69,7 +69,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 06:30:10 GMT
- Mon, 23 Sep 2024 19:48:43 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -81,7 +81,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '171'
- '175'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -99,17 +99,18 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_1d03b37d9af66fcf1002cb21dff9d3e1
- req_ded4e42232c2a28004c132b9f28f912b
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "user", "content": "4"}, {"role": "system", "content":
"I''m gonna convert this raw text into valid JSON."}], "model": "gpt-4o", "tool_choice":
{"type": "function", "function": {"name": "ScoreOutput"}}, "tools": [{"type":
"function", "function": {"name": "ScoreOutput", "description": "Correctly extracted
`ScoreOutput` with all the required parameters with correct types", "parameters":
{"properties": {"score": {"title": "Score", "type": "integer"}}, "required":
["score"], "type": "object"}}}]}'
"I''m gonna convert this raw text into valid JSON.\n\nThe json should have the
following structure, with the following keys:\n{\n score: int\n}"}], "model":
"gpt-4o", "tool_choice": {"type": "function", "function": {"name": "ScoreOutput"}},
"tools": [{"type": "function", "function": {"name": "ScoreOutput", "description":
"Correctly extracted `ScoreOutput` with all the required parameters with correct
types", "parameters": {"properties": {"score": {"title": "Score", "type": "integer"}},
"required": ["score"], "type": "object"}}}]}'
headers:
accept:
- application/json
@@ -118,12 +119,12 @@ interactions:
connection:
- keep-alive
content-length:
- '519'
- '615'
content-type:
- application/json
cookie:
- __cf_bm=hYfEMfBWpIoRPjx9ZBZg6DVeMOMr1IZt9ioup8yWZs0-1727072673-1.0.1.1-Ro7GCLuWS0K5ob0mSTYSmovONKNyxsK6oSA5io_Vwqhe6P0G7Ow4CuZUaWAaCdFGQUd7XZiFH0mI_sQC3uqe0g;
_cfuvid=5cK2hfLqTXw1WjB81uT.sGmmA67JIxSKSQeEHQ3zOQw-1727071769966-0.0.1.1-604800000
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -147,22 +148,22 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAWsEUm546vAOoMFota3rVbSa3X6Y\",\n \"object\":
\"chat.completion\",\n \"created\": 1727073010,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AAjL29HAg324HJQQ6PaqyLZTWiA41\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120924,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n
\ \"id\": \"call_Mwzfh64n7c3bgLzFFf3C4wrO\",\n \"type\":
\ \"id\": \"call_cLCJrOX3ZcE59xzWcdimL01C\",\n \"type\":
\"function\",\n \"function\": {\n \"name\": \"ScoreOutput\",\n
\ \"arguments\": \"{\\\"score\\\":4}\"\n }\n }\n
\ ],\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
80,\n \"completion_tokens\": 5,\n \"total_tokens\": 85,\n \"completion_tokens_details\":
100,\n \"completion_tokens\": 5,\n \"total_tokens\": 105,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_3537616b13\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c787c0a09b6a4ee-MIA
- 8c7d0dcefe3aa4c7-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -170,7 +171,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 06:30:10 GMT
- Mon, 23 Sep 2024 19:48:44 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -182,7 +183,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '213'
- '260'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -194,13 +195,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999968'
- '29999947'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_8895a835272ae068ec4d592903cd0205
- req_a453eb37887272b80273573a7290614c
http_version: HTTP/1.1
status_code: 200
version: 1