mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 16:48:30 +00:00
538 lines
21 KiB
YAML
538 lines
21 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
|
|
cookie:
|
|
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8izOtWjooTYpQYErzDPQHUmnL4kB\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642926,\n \"model\": \"gpt-4-0125-preview\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I now can give a great answer
|
|
Final Answer: 4\",\n \"refusal\": null\n },\n \"logprobs\":
|
|
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
187,\n \"completion_tokens\": 14,\n \"total_tokens\": 201,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f77f0f8b6a67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:02:07 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:
|
|
- '712'
|
|
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_98d26050306f861d5a72cb9bca69e1a0
|
|
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-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:
|
|
- '531'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=N60vWLgzAuza5DUheVkkgTZxX2TmUkB_..z1df9sAXo-1726642910-1.0.1.1-qFt4471cbHIKyBuVc9Nd2aMc7Jp8n_Q0Mc_vaWBAjkUXB5QKYge2hIcX_BGCBQMP3EIEZrDd4RV9WzG0n.2zhg;
|
|
_cfuvid=fm9xNGmptML5inFBy6LStoxl1xxuIMLGa.EXkFbg0Dg-1726642910345-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8izPTL0POW75okA8Uw6Xg3AxCMaU\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642927,\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_QTE9H2ok9Cwcn5keyomltXQr\",\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\":
|
|
83,\n \"completion_tokens\": 5,\n \"total_tokens\": 88,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f77f77e407421-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:02:07 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:
|
|
- '129'
|
|
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:
|
|
- '49999969'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset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dkNDI0MGEyOTRkIiwgInRvb2xz
|
|
X25hbWVzIjogW119LCB7ImtleSI6ICI2MDlkZWUzOTEwODhjZDFjODdiOGZhNjZhYTY3YWRiZSIs
|
|
ICJpZCI6ICIxMGYwZWM0Ny04ZmUxLTRjMTMtYjc0MC01Zjg0NzMwMzlkMGYiLCAiYXN5bmNfZXhl
|
|
Y3V0aW9uPyI6IGZhbHNlLCAiaHVtYW5faW5wdXQ/IjogZmFsc2UsICJhZ2VudF9yb2xlIjogIlNj
|
|
b3JlciIsICJhZ2VudF9rZXkiOiAiOTJlN2ViMTkxNjY0YzkzNTc4NWVkN2Q0MjQwYTI5NGQiLCAi
|
|
dG9vbHNfbmFtZXMiOiBbXX1degIYAYUBAAEAABKOAgoQnLxAgLOTR5H8dbN9A8uoYRIIwrTaV8rN
|
|
ya8qDFRhc2sgQ3JlYXRlZDABOXhQhM2XRPYXQZDJhM2XRPYXSi4KCGNyZXdfa2V5EiIKIGQ0MjYw
|
|
ODMzYWIwYzIwYmI0NDkyMmM3OTlhYTk2YjRhSjEKB2NyZXdfaWQSJgokMDg5NTg2Y2YtMzBhNy00
|
|
YzdkLTg2MWEtYzJkZTNmZGRkMDkySi4KCHRhc2tfa2V5EiIKIDI3ZWYzOGNjOTlkYTRhOGRlZDcw
|
|
ZWQ0MDZlNDRhYjg2SjEKB3Rhc2tfaWQSJgokNGY2ZmIyNzAtZWUxOC00YTIzLWE4ZjgtNGJlNDE1
|
|
MWY0YWMwegIYAYUBAAEAAA==
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '1954'
|
|
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:
|
|
- Wed, 18 Sep 2024 07:02:08 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: !!binary |
|
|
CuEECiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSuAQKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKQAgoQLT8ZGpGeiNVcdj9WkuPaFBIIHFhNFwaJkngqDlRhc2sgRXhlY3V0aW9uMAE5
|
|
WPyEzZdE9hdBINemK5hE9hdKLgoIY3Jld19rZXkSIgogZDQyNjA4MzNhYjBjMjBiYjQ0OTIyYzc5
|
|
OWFhOTZiNGFKMQoHY3Jld19pZBImCiQwODk1ODZjZi0zMGE3LTRjN2QtODYxYS1jMmRlM2ZkZGQw
|
|
OTJKLgoIdGFza19rZXkSIgogMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFiODZKMQoHdGFz
|
|
a19pZBImCiQ0ZjZmYjI3MC1lZTE4LTRhMjMtYThmOC00YmU0MTUxZjRhYzB6AhgBhQEAAQAAEo4C
|
|
ChDVeS/zYlOdbxTwZSEgUCYvEggeZmZHg9my0ioMVGFzayBDcmVhdGVkMAE5WEnKK5hE9hdBsF7L
|
|
K5hE9hdKLgoIY3Jld19rZXkSIgogZDQyNjA4MzNhYjBjMjBiYjQ0OTIyYzc5OWFhOTZiNGFKMQoH
|
|
Y3Jld19pZBImCiQwODk1ODZjZi0zMGE3LTRjN2QtODYxYS1jMmRlM2ZkZGQwOTJKLgoIdGFza19r
|
|
ZXkSIgogNjA5ZGVlMzkxMDg4Y2QxYzg3YjhmYTY2YWE2N2FkYmVKMQoHdGFza19pZBImCiQxMGYw
|
|
ZWM0Ny04ZmUxLTRjMTMtYjc0MC01Zjg0NzMwMzlkMGZ6AhgBhQEAAQAA
|
|
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:
|
|
- Wed, 18 Sep 2024 07:02:13 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:\n4\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:
|
|
- '1104'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=.8.5x0rqghNdtUCxfmwblfhuXiKyPm_cRq.NIa0heL0-1726642369-1.0.1.1-VbsAGqjOt45ZD50K2QW2oZrByLLIh6w8K4nAkLthTbXgU5qTgdf0mhvFId8Q2F3DcHUw9E72lVIZEN.YVlYINQ;
|
|
_cfuvid=o5s1Ux898x0eFNtzUCnG996iqyX3LgXDXq99C5oqnVE-1726642369248-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8izP32P8tsOG5ZPGRUi73FLq4PVh\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642927,\n \"model\": \"gpt-4-0125-preview\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: In comparing the given title
|
|
'Return of the Jedi' to the contextually rated 'The impact of AI in the future
|
|
of work', which scored a 4, it's essential to evaluate based on factors such
|
|
as broad appeal, relevance to a wide audience, and the engaging nature of the
|
|
title. 'The impact of AI in the future of work' addresses a contemporary, widely-discussed
|
|
topic with significant implications, which justifies its score. 'Return of the
|
|
Jedi', while being a specific reference to a piece of pop culture, carries significant
|
|
weight in its cultural impact, nostalgic value, and broad recognition. Considering
|
|
these aspects and the need to maintain consistency in scoring based on appeal
|
|
and engagement, there's a strong basis for the score assignment.\\n\\nFinal
|
|
Answer: Given the criteria and the context, the score for the title 'Return
|
|
of the Jedi' is 4.\",\n \"refusal\": null\n },\n \"logprobs\":
|
|
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
223,\n \"completion_tokens\": 176,\n \"total_tokens\": 399,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f77faec6ba67a-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:02:14 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:
|
|
- '6769'
|
|
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:
|
|
- '1999745'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 7ms
|
|
x-request-id:
|
|
- req_17fb820a6d1838f446131a26586b2e0d
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "user", "content": "Given the criteria and the context,
|
|
the score for the title ''Return of the Jedi'' is 4."}, {"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:
|
|
- '616'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=N60vWLgzAuza5DUheVkkgTZxX2TmUkB_..z1df9sAXo-1726642910-1.0.1.1-qFt4471cbHIKyBuVc9Nd2aMc7Jp8n_Q0Mc_vaWBAjkUXB5QKYge2hIcX_BGCBQMP3EIEZrDd4RV9WzG0n.2zhg;
|
|
_cfuvid=fm9xNGmptML5inFBy6LStoxl1xxuIMLGa.EXkFbg0Dg-1726642910345-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.46.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.46.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-A8izXIDZfQIPpLybDsoq12mTFi7QG\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726642935,\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_5iSXJpJDsR08YWabZE9UuRfJ\",\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\":
|
|
104,\n \"completion_tokens\": 5,\n \"total_tokens\": 109,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c4f78292ba06daf-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Wed, 18 Sep 2024 07:02:15 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:
|
|
- '154'
|
|
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:
|
|
- '49999947'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_6a07c732994aa781d338a0afdc82997d
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|