Files
crewAI/lib/crewai/tests/cassettes/test_output_json_dict_sequential.yaml
2025-11-05 11:54:23 -05:00

241 lines
8.5 KiB
YAML

interactions:
- request:
body: '{"messages":[{"role":"system","content":"You are Scorer. You''re an expert
scorer, specialized in scoring titles.\nYour personal goal is: Score the title\nTo
give my best complete final answer to the task respond using the exact following
format:\n\nThought: I now can give a great answer\nFinal Answer: Your final
answer must be the great and the most complete as possible, it must be outcome
described.\n\nI MUST use these formats, my job depends on it!"},{"role":"user","content":"\nCurrent
Task: Give me an integer score between 1-5 for the following title: ''The impact
of AI in the future of work''\n\nThis is the expected criteria for your final
answer: The score of the title.\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-4.1-mini"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate, zstd
connection:
- keep-alive
content-length:
- '923'
content-type:
- application/json
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.109.1
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.109.1
x-stainless-read-timeout:
- '600'
x-stainless-retry-count:
- '0'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.12.9
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: !!binary |
H4sIAAAAAAAAAwAAAP//jFLLbtswELzrKxY8W4Glyo/oFhQt0EODFn2gr0CgqZXEhCIJcpW4Dfzv
ASnHUtIU6EWAdnaGM7t7nwAwWbMSmOg4id6q9PX3b1/e79WPjdt9+nC5/3ND63P+8bKn6zf5V7YI
DLO7RkGPrDNhequQpNEjLBxywqCabdb5q2Jznm0j0JsaVaC1ltLiLEt7qWWaL/NVuizSrDjSOyMF
elbCzwQA4D5+g1Fd456VsFw8Vnr0nrfIylMTAHNGhQrj3ktPXBNbTKAwmlBH7587M7QdlfAOtLkD
wTW08haBQxsCANf+Dt0v/VZqruAi/pVQzNUcNoPnIZIelJoBXGtDPIwk5rg6IoeTc2Va68zOP6Oy
Rmrpu8oh90YHl56MZRE9JABXcULDk9DMOtNbqsjcYHwu225GPTZtZoaujiAZ4mqq58t88YJeVSNx
qfxsxkxw0WE9UaeF8KGWZgYks9R/u3lJe0wudfs/8hMgBFrCurIOaymeJp7aHIbD/VfbacrRMPPo
bqXAiiS6sIkaGz6o8ZqY/+0J+6qRukVnnRxPqrFVIfLtKmu265wlh+QBAAD//wMAEqGxJmEDAAA=
headers:
CF-RAY:
- 999c8fda7c57da8d-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 13:05:18 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=MjcenBLdOvFF14hkyjmxJIZqUmYiTnZs2dWtpUBP9Hk-1762347918-1.0.1.1-Ark0BMEYeHRp4OhxkackmZKPjveNqLQcBIAjssvyXmiUKGNpcmcNwMssSoFlcH3BrXceWm38Dt8udKBta0Uz88piZ1keKb2QIAY1yM.LPFg;
path=/; expires=Wed, 05-Nov-25 13:35:18 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=JdmzygmZqmgxPqj23i2rTjjGr_teCWrPrEW6GCq92Ss-1762347918974-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
cf-cache-status:
- DYNAMIC
openai-organization:
- user-hortuttj2f3qtmxyik2zxf4q
openai-processing-ms:
- '439'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '452'
x-openai-proxy-wasm:
- v0.1
x-ratelimit-limit-requests:
- '500'
x-ratelimit-limit-tokens:
- '200000'
x-ratelimit-remaining-requests:
- '499'
x-ratelimit-remaining-tokens:
- '199794'
x-ratelimit-reset-requests:
- 120ms
x-ratelimit-reset-tokens:
- 61ms
x-request-id:
- req_4e77d3bbbdf34dc4987cdf58a7d11882
status:
code: 200
message: OK
- request:
body: '{"messages":[{"role":"system","content":"You are Scorer. You''re an expert
scorer, specialized in scoring titles.\nYour personal goal is: Score the title\nTo
give my best complete final answer to the task respond using the exact following
format:\n\nThought: I now can give a great answer\nFinal Answer: Your final
answer must be the great and the most complete as possible, it must be outcome
described.\n\nI MUST use these formats, my job depends on it!"},{"role":"user","content":"\nCurrent
Task: Give me an integer score between 1-5 for the following title: ''The impact
of AI in the future of work''\n\nThis is the expected criteria for your final
answer: The score of the title.\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 now can give a great
answer\nFinal Answer: 4"}],"model":"gpt-4.1-mini","response_format":{"type":"json_schema","json_schema":{"schema":{"properties":{"score":{"title":"Score","type":"integer"}},"required":["score"],"title":"ScoreOutput","type":"object","additionalProperties":false},"name":"ScoreOutput","strict":true}},"stream":false}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate, zstd
connection:
- keep-alive
content-length:
- '1276'
content-type:
- application/json
cookie:
- __cf_bm=MjcenBLdOvFF14hkyjmxJIZqUmYiTnZs2dWtpUBP9Hk-1762347918-1.0.1.1-Ark0BMEYeHRp4OhxkackmZKPjveNqLQcBIAjssvyXmiUKGNpcmcNwMssSoFlcH3BrXceWm38Dt8udKBta0Uz88piZ1keKb2QIAY1yM.LPFg;
_cfuvid=JdmzygmZqmgxPqj23i2rTjjGr_teCWrPrEW6GCq92Ss-1762347918974-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
- OpenAI/Python 1.109.1
x-stainless-arch:
- arm64
x-stainless-async:
- 'false'
x-stainless-helper-method:
- chat.completions.parse
x-stainless-lang:
- python
x-stainless-os:
- MacOS
x-stainless-package-version:
- 1.109.1
x-stainless-read-timeout:
- '600'
x-stainless-retry-count:
- '0'
x-stainless-runtime:
- CPython
x-stainless-runtime-version:
- 3.12.9
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
body:
string: !!binary |
H4sIAAAAAAAAAwAAAP//jFJBbtswELzrFcSercBSJcfWNacWaG4FkjSBQJMrmSlFEuSqSWv47wUl
25KbBMiFB87OcGa4+4QxUBIqBmLHSXROpzf3dz9uXem/tebrOt/I1d+HW9UsX77frZ4LWESG3T6j
oBPrStjOaSRlzQgLj5wwqmbXq/xLcb3JNgPQWYk60lpHaXGVpZ0yKs2XeZkuizQ7qoudVQIDVOxn
whhj++GMRo3EV6jYcnG66TAE3iJU5yHGwFsdb4CHoAJxQ7CYQGENoRm87x8hCOvxEariMJ/x2PSB
R6Om13oGcGMs8Rh0cPd0RA5nP9q2zttt+I8KjTIq7GqPPFgT3w5kHQzoIWHsacjdX0QB523nqCb7
C4fn8qIc9WDqe0JPGFniekYqj2VdytUSiSsdZsWB4GKHcqJOLfNeKjsDklnot2be0x6DK9N+Rn4C
hEBHKGvnUSpxGXga8xi38aOxc8mDYQjofyuBNSn08SMkNrzX44pA+BMIu7pRpkXvvBr3pHF1IfJ1
mTXrVQ7JIfkHAAD//wMAJObqrTYDAAA=
headers:
CF-RAY:
- 999c8fddbd19da8d-EWR
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Wed, 05 Nov 2025 13:05:19 GMT
Server:
- cloudflare
Strict-Transport-Security:
- max-age=31536000; includeSubDomains; preload
Transfer-Encoding:
- chunked
X-Content-Type-Options:
- nosniff
access-control-expose-headers:
- X-Request-ID
alt-svc:
- h3=":443"; ma=86400
cf-cache-status:
- DYNAMIC
openai-organization:
- user-hortuttj2f3qtmxyik2zxf4q
openai-processing-ms:
- '497'
openai-project:
- proj_fL4UBWR1CMpAAdgzaSKqsVvA
openai-version:
- '2020-10-01'
x-envoy-upstream-service-time:
- '509'
x-openai-proxy-wasm:
- v0.1
x-ratelimit-limit-requests:
- '500'
x-ratelimit-limit-tokens:
- '200000'
x-ratelimit-remaining-requests:
- '499'
x-ratelimit-remaining-tokens:
- '199779'
x-ratelimit-reset-requests:
- 120ms
x-ratelimit-reset-tokens:
- 66ms
x-request-id:
- req_bc4dc65056054c95b33713b4b514e24f
status:
code: 200
message: OK
version: 1