mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-28 09:38:17 +00:00
550 lines
22 KiB
YAML
550 lines
22 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 use 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 expect 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-0125-preview", "stop": ["\nObservation:"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '955'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-A7qhCtrJzZqYlScZZzOaKEQgqAu9p\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726434222,\n \"model\": \"gpt-4-0125-preview\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: Evaluating the given title,
|
|
\\\"The impact of AI in the future of work,\\\" I consider several factors such
|
|
as originality, relevance, clarity, and curiosity or interest it may evoke in
|
|
the audience. Given the high level of interest in both AI technology and its
|
|
future implications across various industries, the title addresses a very relevant
|
|
and current topic. It is clear and straightforward, indicating a focus on the
|
|
effects AI technologies will have on future employment and workplace practices.
|
|
However, it might lack a bit of originality as many articles, research papers,
|
|
and discussions have centered around this subject. Despite this, it still holds
|
|
the potential to attract readers who are specifically interested in the implications
|
|
of AI advancements. Considering these aspects, I am ready to deliver a score
|
|
that balances these factors.\\n\\nFinal Answer: The score of the title \\\"The
|
|
impact of AI in the future of work\\\" is 4 out of 5.\",\n \"refusal\":
|
|
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
|
|
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 187,\n \"completion_tokens\":
|
|
184,\n \"total_tokens\": 371,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c3b909ebac3da67-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 21:03:45 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=U4bRu.cxcYOJzuYu8YDqFGOG_bStliHvwrrWybnOT4Q-1726434225-1.0.1.1-Ln2mQdXLOw8aFfPToqSo2rubuKfjbOwy.6MkwNE.yrwj.xYp9_CMR5d7DgyDFo7Dg9FZ.mbS0EXpfyegtKrBvA;
|
|
path=/; expires=Sun, 15-Sep-24 21:33:45 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=oaBvxU1IGDsL1b_7lg0ginmBnzu3vxE4PjDdbXMzw30-1726434225737-0.0.1.1-604800000;
|
|
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '3708'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '2000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '1999781'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 6ms
|
|
x-request-id:
|
|
- req_1ec0329b5b30280126588a974393cb1f
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: !!binary |
|
|
Cu0LCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSxAsKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKcCQoQF1ALWNqocakCcsD6DKqp0hIIvWN7/8Lh0qoqDENyZXcgQ3JlYXRlZDABOdgX
|
|
E9nGhvUXQagBGNnGhvUXShoKDmNyZXdhaV92ZXJzaW9uEggKBjAuNTYuMEoaCg5weXRob25fdmVy
|
|
c2lvbhIICgYzLjExLjdKLgoIY3Jld19rZXkSIgogZDQyNjA4MzNhYjBjMjBiYjQ0OTIyYzc5OWFh
|
|
OTZiNGFKMQoHY3Jld19pZBImCiQ1YmU4NTE1ZS04NDFlLTQ5M2YtYWNiNi1lZmRiYWMyNTg1YTJK
|
|
HAoMY3Jld19wcm9jZXNzEgwKCnNlcXVlbnRpYWxKEQoLY3Jld19tZW1vcnkSAhAAShoKFGNyZXdf
|
|
bnVtYmVyX29mX3Rhc2tzEgIYAkobChVjcmV3X251bWJlcl9vZl9hZ2VudHMSAhgBSuUCCgtjcmV3
|
|
X2FnZW50cxLVAgrSAlt7ImtleSI6ICI5MmU3ZWIxOTE2NjRjOTM1Nzg1ZWQ3ZDQyNDBhMjk0ZCIs
|
|
ICJpZCI6ICJmODUzNDgyOC05NTY3LTQ4MGMtOTE1Yi1iNjNiYTkyN2EyOWYiLCAicm9sZSI6ICJT
|
|
Y29yZXIiLCAidmVyYm9zZT8iOiB0cnVlLCAibWF4X2l0ZXIiOiAxNSwgIm1heF9ycG0iOiBudWxs
|
|
LCAiZnVuY3Rpb25fY2FsbGluZ19sbG0iOiAiZ3B0LTMuNS10dXJiby0wMTI1IiwgImxsbSI6ICJn
|
|
cHQtNC0wMTI1LXByZXZpZXciLCAiZGVsZWdhdGlvbl9lbmFibGVkPyI6IGZhbHNlLCAiYWxsb3df
|
|
Y29kZV9leGVjdXRpb24/IjogZmFsc2UsICJtYXhfcmV0cnlfbGltaXQiOiAyLCAidG9vbHNfbmFt
|
|
ZXMiOiBbXX1dSuQDCgpjcmV3X3Rhc2tzEtUDCtIDW3sia2V5IjogIjI3ZWYzOGNjOTlkYTRhOGRl
|
|
ZDcwZWQ0MDZlNDRhYjg2IiwgImlkIjogImQwNmQ1YzM2LTgzMjItNDBiMi1iNmY4LTM4MmQwZjk3
|
|
YTYwZSIsICJhc3luY19leGVjdXRpb24/IjogZmFsc2UsICJodW1hbl9pbnB1dD8iOiBmYWxzZSwg
|
|
ImFnZW50X3JvbGUiOiAiU2NvcmVyIiwgImFnZW50X2tleSI6ICI5MmU3ZWIxOTE2NjRjOTM1Nzg1
|
|
ZWQ3ZDQyNDBhMjk0ZCIsICJ0b29sc19uYW1lcyI6IFtdfSwgeyJrZXkiOiAiNjA5ZGVlMzkxMDg4
|
|
Y2QxYzg3YjhmYTY2YWE2N2FkYmUiLCAiaWQiOiAiNjYzZGMxY2YtMWVjZi00ZGUxLWIzNzgtZWQ5
|
|
MGEzYzFkNjI2IiwgImFzeW5jX2V4ZWN1dGlvbj8iOiBmYWxzZSwgImh1bWFuX2lucHV0PyI6IGZh
|
|
bHNlLCAiYWdlbnRfcm9sZSI6ICJTY29yZXIiLCAiYWdlbnRfa2V5IjogIjkyZTdlYjE5MTY2NGM5
|
|
MzU3ODVlZDdkNDI0MGEyOTRkIiwgInRvb2xzX25hbWVzIjogW119XXoCGAGFAQABAAASjgIKEBZw
|
|
aQ23FwFktzjlJug7SjESCAVrF5c3jABzKgxUYXNrIENyZWF0ZWQwATlY6iTZxob1F0FgPCXZxob1
|
|
F0ouCghjcmV3X2tleRIiCiBkNDI2MDgzM2FiMGMyMGJiNDQ5MjJjNzk5YWE5NmI0YUoxCgdjcmV3
|
|
X2lkEiYKJDViZTg1MTVlLTg0MWUtNDkzZi1hY2I2LWVmZGJhYzI1ODVhMkouCgh0YXNrX2tleRIi
|
|
CiAyN2VmMzhjYzk5ZGE0YThkZWQ3MGVkNDA2ZTQ0YWI4NkoxCgd0YXNrX2lkEiYKJGQwNmQ1YzM2
|
|
LTgzMjItNDBiMi1iNmY4LTM4MmQwZjk3YTYwZXoCGAGFAQABAAA=
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '1520'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
User-Agent:
|
|
- OTel-OTLP-Exporter-Python/1.27.0
|
|
method: POST
|
|
uri: https://telemetry.crewai.com:4319/v1/traces
|
|
response:
|
|
body:
|
|
string: "\n\0"
|
|
headers:
|
|
Content-Length:
|
|
- '2'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
Date:
|
|
- Sun, 15 Sep 2024 21:03:46 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "The score of the title \"The
|
|
impact of AI in the future of work\" is 4 out of 5."}, {"role": "system", "content":
|
|
"I''m gonna convert this raw text into valid JSON."}], "model": "gpt-3.5-turbo-0125",
|
|
"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
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '610'
|
|
content-type:
|
|
- application/json
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-A7qhGAqF0tyq7Zsd5dhkBuMFCEoyb\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726434226,\n \"model\": \"gpt-3.5-turbo-0125\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n
|
|
\ \"id\": \"call_n4Y21fCYu9AVPgycpmMoJ4gD\",\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\":
|
|
106,\n \"completion_tokens\": 5,\n \"total_tokens\": 111,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c3b90ba0802a564-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 21:03:47 GMT
|
|
Server:
|
|
- cloudflare
|
|
Set-Cookie:
|
|
- __cf_bm=61GPlaFb5TciPO.KrFK1uddcmnL0yRY_VvtpWJIciPE-1726434227-1.0.1.1-iQkb3V0sHPfhm0lLiHrNWZ6gAZmbNkbLhsTg8Kun2.8C8u7eY5Hfs.02YgEhgj20Dx_parqjiBc4jqODrJRRJQ;
|
|
path=/; expires=Sun, 15-Sep-24 21:33:47 GMT; domain=.api.openai.com; HttpOnly;
|
|
Secure; SameSite=None
|
|
- _cfuvid=1uOBf96K0KJOP_o57C1zabS9xpbv1Mhi.qYKg4zoKTE-1726434227146-0.0.1.1-604800000;
|
|
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '133'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '50000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '49999949'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_5ec29a709669d7bf4345e7cda7fbb1d6
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: !!binary |
|
|
CuEECiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSuAQKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKQAgoQPZe0R1kMSXdc1/YcIKcJABIIvdarrbeDOKkqDlRhc2sgRXhlY3V0aW9uMAE5
|
|
EHMl2caG9RdBwGRpUciG9RdKLgoIY3Jld19rZXkSIgogZDQyNjA4MzNhYjBjMjBiYjQ0OTIyYzc5
|
|
OWFhOTZiNGFKMQoHY3Jld19pZBImCiQ1YmU4NTE1ZS04NDFlLTQ5M2YtYWNiNi1lZmRiYWMyNTg1
|
|
YTJKLgoIdGFza19rZXkSIgogMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFiODZKMQoHdGFz
|
|
a19pZBImCiRkMDZkNWMzNi04MzIyLTQwYjItYjZmOC0zODJkMGY5N2E2MGV6AhgBhQEAAQAAEo4C
|
|
ChCbBVF7Fg0on6B3XB46hCFhEgjCoS57RDSyiSoMVGFzayBDcmVhdGVkMAE5IHu2UciG9RdBOOi4
|
|
UciG9RdKLgoIY3Jld19rZXkSIgogZDQyNjA4MzNhYjBjMjBiYjQ0OTIyYzc5OWFhOTZiNGFKMQoH
|
|
Y3Jld19pZBImCiQ1YmU4NTE1ZS04NDFlLTQ5M2YtYWNiNi1lZmRiYWMyNTg1YTJKLgoIdGFza19r
|
|
ZXkSIgogNjA5ZGVlMzkxMDg4Y2QxYzg3YjhmYTY2YWE2N2FkYmVKMQoHdGFza19pZBImCiQ2NjNk
|
|
YzFjZi0xZWNmLTRkZTEtYjM3OC1lZDkwYTNjMWQ2MjZ6AhgBhQEAAQAA
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '612'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
User-Agent:
|
|
- OTel-OTLP-Exporter-Python/1.27.0
|
|
method: POST
|
|
uri: https://telemetry.crewai.com:4319/v1/traces
|
|
response:
|
|
body:
|
|
string: "\n\0"
|
|
headers:
|
|
Content-Length:
|
|
- '2'
|
|
Content-Type:
|
|
- application/x-protobuf
|
|
Date:
|
|
- Sun, 15 Sep 2024 21:03:51 GMT
|
|
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 use 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: Given the score the title ''The impact of AI in
|
|
the future of work'' got, give me an integer score between 1-5 for the following
|
|
title: ''Return of the Jedi'', you MUST give it a score, use your best judgment\n\nThis
|
|
is the expect 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\nThis
|
|
is the context you''re working with:\nThe score of the title \"The impact of
|
|
AI in the future of work\" is 4 out of 5.\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-0125-preview", "stop": ["\nObservation:"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1183'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=U4bRu.cxcYOJzuYu8YDqFGOG_bStliHvwrrWybnOT4Q-1726434225-1.0.1.1-Ln2mQdXLOw8aFfPToqSo2rubuKfjbOwy.6MkwNE.yrwj.xYp9_CMR5d7DgyDFo7Dg9FZ.mbS0EXpfyegtKrBvA;
|
|
_cfuvid=oaBvxU1IGDsL1b_7lg0ginmBnzu3vxE4PjDdbXMzw30-1726434225737-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-A7qhHTs9reOtnPSa53lP5iWScwAKC\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726434227,\n \"model\": \"gpt-4-0125-preview\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: Considering the provided context,
|
|
where the title \\\"The impact of AI in the future of work\\\" received a score
|
|
of 4 out of 5, I must analyze the appeal, relevance, and potential impact of
|
|
\\\"Return of the Jedi\\\" within its domain. \\\"Return of the Jedi\\\" is
|
|
a significant title in popular culture, notable for its broad appeal and historical
|
|
significance in the film industry. It also marks the conclusion of a major saga
|
|
that has deeply influenced the science fiction genre and pop culture. The title
|
|
is instantly recognizable, evokes curiosity and nostalgia, and has a large,
|
|
dedicated fanbase. Given these factors, while keeping in mind the scoring benchmark
|
|
set by the previous title, I must assign a score that reflects its standing
|
|
in its respective field.\\n\\nFinal Answer: The score of the title \\\"Return
|
|
of the Jedi\\\" is 5 out of 5.\",\n \"refusal\": null\n },\n \"logprobs\":
|
|
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
245,\n \"completion_tokens\": 176,\n \"total_tokens\": 421,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c3b90c10bc8da67-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 21:03:51 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '4420'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '2000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '1999726'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 8ms
|
|
x-request-id:
|
|
- req_6cba1aa98d009fcb48a24d44ce29b45e
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "The score of the title \"Return
|
|
of the Jedi\" is 5 out of 5."}, {"role": "system", "content": "I''m gonna convert
|
|
this raw text into valid JSON."}], "model": "gpt-3.5-turbo-0125", "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
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '590'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=61GPlaFb5TciPO.KrFK1uddcmnL0yRY_VvtpWJIciPE-1726434227-1.0.1.1-iQkb3V0sHPfhm0lLiHrNWZ6gAZmbNkbLhsTg8Kun2.8C8u7eY5Hfs.02YgEhgj20Dx_parqjiBc4jqODrJRRJQ;
|
|
_cfuvid=1uOBf96K0KJOP_o57C1zabS9xpbv1Mhi.qYKg4zoKTE-1726434227146-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.45.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.45.0
|
|
x-stainless-raw-response:
|
|
- 'true'
|
|
x-stainless-runtime:
|
|
- CPython
|
|
x-stainless-runtime-version:
|
|
- 3.11.7
|
|
method: POST
|
|
uri: https://api.openai.com/v1/chat/completions
|
|
response:
|
|
content: "{\n \"id\": \"chatcmpl-A7qhMYbb7AQrzr1VuLxMudzPYDpeI\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726434232,\n \"model\": \"gpt-3.5-turbo-0125\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n
|
|
\ \"id\": \"call_huUzsqMuZOdNtSwXZfGvtJA3\",\n \"type\":
|
|
\"function\",\n \"function\": {\n \"name\": \"ScoreOutput\",\n
|
|
\ \"arguments\": \"{\\\"score\\\":5}\"\n }\n }\n
|
|
\ ],\n \"refusal\": null\n },\n \"logprobs\": null,\n
|
|
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
101,\n \"completion_tokens\": 5,\n \"total_tokens\": 106,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c3b90deafb9a564-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 21:03:52 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
alt-svc:
|
|
- h3=":443"; ma=86400
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '125'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '50000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '49999955'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_46a4ba39abf048848eefa4ee08a7d267
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|