mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-10 00:28:31 +00:00
448 lines
20 KiB
YAML
448 lines
20 KiB
YAML
interactions:
|
|
- request:
|
|
body: !!binary |
|
|
Cr4NCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSlQ0KEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKbAQoQ3MDaUVuVeRFgDjyvJfWBwxIIwH/jk2MhkgYqClRvb2wgVXNhZ2UwATlwdpHr
|
|
A1n1F0EwS5PrA1n1F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjU2LjBKJwoJdG9vbF9uYW1lEhoK
|
|
GEFzayBxdWVzdGlvbiB0byBjb3dvcmtlckoOCghhdHRlbXB0cxICGAF6AhgBhQEAAQAAEs8JChBa
|
|
zhrixnT58WO+vPYX29kfEgizMOnCJLQJhCoMQ3JldyBDcmVhdGVkMAE5qNKcPARZ9RdBmBagPARZ
|
|
9RdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGMC41Ni4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMuMTEu
|
|
N0ouCghjcmV3X2tleRIiCiA3NDI3NTczMTJlZjdiYjRlZTBiMDY2MmQxYzJlMjE3OUoxCgdjcmV3
|
|
X2lkEiYKJDNhZWRmNDA5LTM3MTMtNGU4ZS1hNjQwLWI4ZjBmMWI2NTQzMkocCgxjcmV3X3Byb2Nl
|
|
c3MSDAoKc2VxdWVudGlhbEoRCgtjcmV3X21lbW9yeRICEABKGgoUY3Jld19udW1iZXJfb2ZfdGFz
|
|
a3MSAhgBShsKFWNyZXdfbnVtYmVyX29mX2FnZW50cxICGAJKgAUKC2NyZXdfYWdlbnRzEvAECu0E
|
|
W3sia2V5IjogIjg5Y2YzMTFiNDhiNTIxNjlkNDJmMzkyNWM1YmUxYzVhIiwgImlkIjogIjE4NjI0
|
|
NTk5LTU4NzItNDVjNS1hODkzLTU0YjBjNWU2NWZmYiIsICJyb2xlIjogIk1hbmFnZXIiLCAidmVy
|
|
Ym9zZT8iOiBmYWxzZSwgIm1heF9pdGVyIjogMTUsICJtYXhfcnBtIjogbnVsbCwgImZ1bmN0aW9u
|
|
X2NhbGxpbmdfbGxtIjogbnVsbCwgImxsbSI6ICJncHQtNG8iLCAiZGVsZWdhdGlvbl9lbmFibGVk
|
|
PyI6IHRydWUsICJhbGxvd19jb2RlX2V4ZWN1dGlvbj8iOiBmYWxzZSwgIm1heF9yZXRyeV9saW1p
|
|
dCI6IDIsICJ0b29sc19uYW1lcyI6IFtdfSwgeyJrZXkiOiAiOTJlN2ViMTkxNjY0YzkzNTc4NWVk
|
|
N2Q0MjQwYTI5NGQiLCAiaWQiOiAiZDZkYzA3ODgtMzI0MS00NjViLWJlZmUtNDU3MjYxNmNmMzI2
|
|
IiwgInJvbGUiOiAiU2NvcmVyIiwgInZlcmJvc2U/IjogZmFsc2UsICJtYXhfaXRlciI6IDE1LCAi
|
|
bWF4X3JwbSI6IG51bGwsICJmdW5jdGlvbl9jYWxsaW5nX2xsbSI6IG51bGwsICJsbG0iOiAiZ3B0
|
|
LTRvIiwgImRlbGVnYXRpb25fZW5hYmxlZD8iOiB0cnVlLCAiYWxsb3dfY29kZV9leGVjdXRpb24/
|
|
IjogZmFsc2UsICJtYXhfcmV0cnlfbGltaXQiOiAyLCAidG9vbHNfbmFtZXMiOiBbXX1dSvwBCgpj
|
|
cmV3X3Rhc2tzEu0BCuoBW3sia2V5IjogIjI3ZWYzOGNjOTlkYTRhOGRlZDcwZWQ0MDZlNDRhYjg2
|
|
IiwgImlkIjogImE5MTIxNzcxLTU5MmItNDMyZS05YzM2LTRkYzQ3OTQ0NTdjMSIsICJhc3luY19l
|
|
eGVjdXRpb24/IjogZmFsc2UsICJodW1hbl9pbnB1dD8iOiBmYWxzZSwgImFnZW50X3JvbGUiOiAi
|
|
TWFuYWdlciIsICJhZ2VudF9rZXkiOiAiODljZjMxMWI0OGI1MjE2OWQ0MmYzOTI1YzViZTFjNWEi
|
|
LCAidG9vbHNfbmFtZXMiOiBbXX1degIYAYUBAAEAABKOAgoQZuB3Ofzj1O6rkgr1UcDf3hIILnvt
|
|
t04cttoqDFRhc2sgQ3JlYXRlZDABOdjtKD0EWfUXQYihKT0EWfUXSi4KCGNyZXdfa2V5EiIKIDc0
|
|
Mjc1NzMxMmVmN2JiNGVlMGIwNjYyZDFjMmUyMTc5SjEKB2NyZXdfaWQSJgokM2FlZGY0MDktMzcx
|
|
My00ZThlLWE2NDAtYjhmMGYxYjY1NDMySi4KCHRhc2tfa2V5EiIKIDI3ZWYzOGNjOTlkYTRhOGRl
|
|
ZDcwZWQ0MDZlNDRhYjg2SjEKB3Rhc2tfaWQSJgokYTkxMjE3NzEtNTkyYi00MzJlLTljMzYtNGRj
|
|
NDc5NDQ1N2MxegIYAYUBAAEAAA==
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '1729'
|
|
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 07:05:08 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Manager. You''re great
|
|
at delegating work about scoring.\nYour personal goal is: Coordinate scoring
|
|
processes\nYou ONLY have access to the following tools, and should NEVER make
|
|
up tools that are not listed here:\n\nTool Name: Delegate work to coworker(task:
|
|
str, context: str, coworker: Optional[str] = None, **kwargs)\nTool Description:
|
|
Delegate a specific task to one of the following coworkers: Scorer\nThe input
|
|
to this tool should be the coworker, the task you want them to do, and ALL necessary
|
|
context to execute the task, they know nothing about the task, so share absolute
|
|
everything you know, don''t reference things but instead explain them.\nTool
|
|
Arguments: {''task'': {''title'': ''Task'', ''type'': ''string''}, ''context'':
|
|
{''title'': ''Context'', ''type'': ''string''}, ''coworker'': {''title'': ''Coworker'',
|
|
''type'': ''string''}, ''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool
|
|
Name: Ask question to coworker(question: str, context: str, coworker: Optional[str]
|
|
= None, **kwargs)\nTool Description: Ask a specific question to one of the following
|
|
coworkers: Scorer\nThe input to this tool should be the coworker, the question
|
|
you have for them, and ALL necessary context to ask the question properly, they
|
|
know nothing about the question, so share absolute everything you know, don''t
|
|
reference things but instead explain them.\nTool Arguments: {''question'': {''title'':
|
|
''Question'', ''type'': ''string''}, ''context'': {''title'': ''Context'', ''type'':
|
|
''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
|
|
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\n\nUse the following
|
|
format:\n\nThought: you should always think about what to do\nAction: the action
|
|
to take, only one name of [Delegate work to coworker, Ask question to coworker],
|
|
just the name, exactly as it''s written.\nAction Input: the input to the action,
|
|
just a simple python dictionary, enclosed in curly braces, using \" to wrap
|
|
keys and values.\nObservation: the result of the action\n\nOnce all necessary
|
|
information is gathered:\n\nThought: I now know the final answer\nFinal Answer:
|
|
the final answer to the original input question\n"}, {"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-4o", "stop": ["\nResult"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '2635'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000;
|
|
__cf_bm=NOn1n25T8u1eKhL05A4mBgpDvwojMRvK1SB7TGDEjFU-1726383316-1.0.1.1-kUyz.anEyDoe9wXgChl5UWW3Z9pFTgIpyZfqI6rucN2vXQHH6k.DSvUtilpKOPnhI4LtmQYBhxkJ6wKLfS3J8Q
|
|
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-A7dbfEfKgx7Z9CvBu3GuPQMDgCJwY\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726383907,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"I need to delegate the task of scoring
|
|
the title \\\"The impact of AI in the future of work\\\" to the Scorer so that
|
|
I can provide an accurate score based on their evaluation.\\n\\nAction: Delegate
|
|
work to coworker\\nAction Input: {\\\"task\\\": \\\"Score the title 'The impact
|
|
of AI in the future of work' on a scale of 1-5.\\\", \\\"context\\\": \\\"This
|
|
title needs to be given an integer score between 1 and 5 based on its relevance,
|
|
clarity, and potential impact. Your evaluation is crucial for determining the
|
|
final score.\\\", \\\"coworker\\\": \\\"Scorer\\\"}\",\n \"refusal\":
|
|
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
|
|
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 584,\n \"completion_tokens\":
|
|
125,\n \"total_tokens\": 709,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c36c43bf9d77454-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 07:05:08 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:
|
|
- '1174'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29999361'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 1ms
|
|
x-request-id:
|
|
- req_a35c36e9f131f10c63d67277c4d3a226
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- 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: Score the title ''The impact of AI in the future
|
|
of work'' on a scale of 1-5.\n\nThis is the expect criteria for your final answer:
|
|
Your best answer to your coworker asking you this, accounting for the context
|
|
shared.\nyou MUST return the actual complete content as the final answer, not
|
|
a summary.\n\nThis is the context you''re working with:\nThis title needs to
|
|
be given an integer score between 1 and 5 based on its relevance, clarity, and
|
|
potential impact. Your evaluation is crucial for determining the final score.\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": ["\nResult"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1194'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000;
|
|
__cf_bm=NOn1n25T8u1eKhL05A4mBgpDvwojMRvK1SB7TGDEjFU-1726383316-1.0.1.1-kUyz.anEyDoe9wXgChl5UWW3Z9pFTgIpyZfqI6rucN2vXQHH6k.DSvUtilpKOPnhI4LtmQYBhxkJ6wKLfS3J8Q
|
|
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-A7dbgoScHkShqq7oYjltsvcoAPDAA\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726383908,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
|
|
Answer: 4 - The title 'The impact of AI in the future of work' is highly relevant,
|
|
clear, and has the potential to significantly impact the reader's understanding
|
|
of an important topic. However, it could potentially be more impactful with
|
|
a slight refinement for specificity.\",\n \"refusal\": null\n },\n
|
|
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
|
|
\ \"usage\": {\n \"prompt_tokens\": 238,\n \"completion_tokens\": 66,\n
|
|
\ \"total_tokens\": 304,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c36c4451eba7454-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 07:05:09 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:
|
|
- '641'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29999718'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_f1f901827531c7386c8eb5a006a25fd0
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Manager. You''re great
|
|
at delegating work about scoring.\nYour personal goal is: Coordinate scoring
|
|
processes\nYou ONLY have access to the following tools, and should NEVER make
|
|
up tools that are not listed here:\n\nTool Name: Delegate work to coworker(task:
|
|
str, context: str, coworker: Optional[str] = None, **kwargs)\nTool Description:
|
|
Delegate a specific task to one of the following coworkers: Scorer\nThe input
|
|
to this tool should be the coworker, the task you want them to do, and ALL necessary
|
|
context to execute the task, they know nothing about the task, so share absolute
|
|
everything you know, don''t reference things but instead explain them.\nTool
|
|
Arguments: {''task'': {''title'': ''Task'', ''type'': ''string''}, ''context'':
|
|
{''title'': ''Context'', ''type'': ''string''}, ''coworker'': {''title'': ''Coworker'',
|
|
''type'': ''string''}, ''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\nTool
|
|
Name: Ask question to coworker(question: str, context: str, coworker: Optional[str]
|
|
= None, **kwargs)\nTool Description: Ask a specific question to one of the following
|
|
coworkers: Scorer\nThe input to this tool should be the coworker, the question
|
|
you have for them, and ALL necessary context to ask the question properly, they
|
|
know nothing about the question, so share absolute everything you know, don''t
|
|
reference things but instead explain them.\nTool Arguments: {''question'': {''title'':
|
|
''Question'', ''type'': ''string''}, ''context'': {''title'': ''Context'', ''type'':
|
|
''string''}, ''coworker'': {''title'': ''Coworker'', ''type'': ''string''},
|
|
''kwargs'': {''title'': ''Kwargs'', ''type'': ''object''}}\n\nUse the following
|
|
format:\n\nThought: you should always think about what to do\nAction: the action
|
|
to take, only one name of [Delegate work to coworker, Ask question to coworker],
|
|
just the name, exactly as it''s written.\nAction Input: the input to the action,
|
|
just a simple python dictionary, enclosed in curly braces, using \" to wrap
|
|
keys and values.\nObservation: the result of the action\n\nOnce all necessary
|
|
information is gathered:\n\nThought: I now know the final answer\nFinal Answer:
|
|
the final answer to the original input question\n"}, {"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:"}, {"role": "assistant", "content": "I need to delegate the
|
|
task of scoring the title \"The impact of AI in the future of work\" to the
|
|
Scorer so that I can provide an accurate score based on their evaluation.\n\nAction:
|
|
Delegate work to coworker\nAction Input: {\"task\": \"Score the title ''The
|
|
impact of AI in the future of work'' on a scale of 1-5.\", \"context\": \"This
|
|
title needs to be given an integer score between 1 and 5 based on its relevance,
|
|
clarity, and potential impact. Your evaluation is crucial for determining the
|
|
final score.\", \"coworker\": \"Scorer\"}\nObservation: 4 - The title ''The
|
|
impact of AI in the future of work'' is highly relevant, clear, and has the
|
|
potential to significantly impact the reader''s understanding of an important
|
|
topic. However, it could potentially be more impactful with a slight refinement
|
|
for specificity."}], "model": "gpt-4o", "stop": ["\nResult"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '3492'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- _cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000;
|
|
__cf_bm=NOn1n25T8u1eKhL05A4mBgpDvwojMRvK1SB7TGDEjFU-1726383316-1.0.1.1-kUyz.anEyDoe9wXgChl5UWW3Z9pFTgIpyZfqI6rucN2vXQHH6k.DSvUtilpKOPnhI4LtmQYBhxkJ6wKLfS3J8Q
|
|
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-A7dbhqGZvMutTDcOzrdB5xaaXP1pT\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726383909,\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: 4\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
|
|
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
768,\n \"completion_tokens\": 14,\n \"total_tokens\": 782,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c36c44afa107454-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Sun, 15 Sep 2024 07:05:09 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:
|
|
- '260'
|
|
openai-version:
|
|
- '2020-10-01'
|
|
strict-transport-security:
|
|
- max-age=15552000; includeSubDomains; preload
|
|
x-ratelimit-limit-requests:
|
|
- '10000'
|
|
x-ratelimit-limit-tokens:
|
|
- '30000000'
|
|
x-ratelimit-remaining-requests:
|
|
- '9999'
|
|
x-ratelimit-remaining-tokens:
|
|
- '29999161'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 1ms
|
|
x-request-id:
|
|
- req_5547d44a267683a2f1e73e327aba43bb
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|