mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-07 15:18:29 +00:00
573 lines
26 KiB
YAML
573 lines
26 KiB
YAML
interactions:
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are CEO. You''re an long
|
|
time CEO of a content creation agency with a Senior Writer on the team. You''re
|
|
now working on a new project and want to make sure the content produced is amazing.\nYour
|
|
personal goal is: Make sure the writers in your company produce amazing content.\nYou
|
|
ONLY have access to the following tools, and should NEVER make up tools that
|
|
are not listed here:\n\nTool Name: multiplier(*args: Any, **kwargs: Any) ->
|
|
Any\nTool Description: multiplier(first_number: ''integer'', second_number:
|
|
''integer'') - Useful for when you need to multiply two numbers together. \nTool
|
|
Arguments: {''first_number'': {''title'': ''First Number'', ''type'': ''integer''},
|
|
''second_number'': {''title'': ''Second Number'', ''type'': ''integer''}}\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: Researcher\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: Researcher\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 [multiplier, 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: What is 2 tims 6? Return only the number.\n\nThis is the expect
|
|
criteria for your final answer: the result of multiplication\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"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '3082'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=4rzJDR3F8S3Dp4B_qwylZU0mdm_WUwmv8vNHHp3IplM-1727119501-1.0.1.1-qobO_Sf88yG1qtXFnLgykvyc9YXR_fm1J7ZpXIhvtynVnsz67Uwcf4122PgHs4GMrlvZMaL6z_UVcVYSYUJOKQ;
|
|
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.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-AAjB4Oylzui6sJYmv8iSRoL0TaEmt\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727120306,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I need to calculate the result
|
|
of the multiplication of 2 times 6.\\n\\nAction: multiplier\\nAction Input:
|
|
{\\\"first_number\\\": 2, \\\"second_number\\\": 6}\",\n \"refusal\":
|
|
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
|
|
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 691,\n \"completion_tokens\":
|
|
39,\n \"total_tokens\": 730,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_3537616b13\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c7cfebbbfb2a4c7-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:38:27 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '548'
|
|
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:
|
|
- '29999244'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 1ms
|
|
x-request-id:
|
|
- req_b688b0c179b90fa38622e0bb7118e505
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are CEO. You''re an long
|
|
time CEO of a content creation agency with a Senior Writer on the team. You''re
|
|
now working on a new project and want to make sure the content produced is amazing.\nYour
|
|
personal goal is: Make sure the writers in your company produce amazing content.\nYou
|
|
ONLY have access to the following tools, and should NEVER make up tools that
|
|
are not listed here:\n\nTool Name: multiplier(*args: Any, **kwargs: Any) ->
|
|
Any\nTool Description: multiplier(first_number: ''integer'', second_number:
|
|
''integer'') - Useful for when you need to multiply two numbers together. \nTool
|
|
Arguments: {''first_number'': {''title'': ''First Number'', ''type'': ''integer''},
|
|
''second_number'': {''title'': ''Second Number'', ''type'': ''integer''}}\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: Researcher\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: Researcher\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 [multiplier, 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: What is 2 tims 6? Return only the number.\n\nThis is the expect
|
|
criteria for your final answer: the result of multiplication\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": "user", "content": "Thought:
|
|
I need to calculate the result of the multiplication of 2 times 6.\n\nAction:
|
|
multiplier\nAction Input: {\"first_number\": 2, \"second_number\": 6}\nObservation:
|
|
12"}], "model": "gpt-4o"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '3288'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=4rzJDR3F8S3Dp4B_qwylZU0mdm_WUwmv8vNHHp3IplM-1727119501-1.0.1.1-qobO_Sf88yG1qtXFnLgykvyc9YXR_fm1J7ZpXIhvtynVnsz67Uwcf4122PgHs4GMrlvZMaL6z_UVcVYSYUJOKQ;
|
|
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.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-AAjB5MKcn1RTSlzhSPbFfBOdQLxIB\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727120307,\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.\\n\\nFinal
|
|
Answer: 12\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
|
|
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
738,\n \"completion_tokens\": 14,\n \"total_tokens\": 752,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_3537616b13\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c7cfec12fd7a4c7-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:38:27 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '300'
|
|
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:
|
|
- '29999203'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 1ms
|
|
x-request-id:
|
|
- req_65fed394ebe6ad84aeb1e4eb80619770
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: !!binary |
|
|
CsERCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSmBEKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKQAgoQVN4rsUm5DXnhuv3wlzzS+BIIw7dwfD1M2LkqDlRhc2sgRXhlY3V0aW9uMAE5
|
|
+GgXeML29xdBIJQyisT29xdKLgoIY3Jld19rZXkSIgogOWJmMmNkZTZiYzVjNDIwMWQ2OWI5YmNm
|
|
ZmYzNWJmYjlKMQoHY3Jld19pZBImCiRkMTA3MTAyNi01MTk2LTRiYzQtOTc0Zi1jYWU5NzQ1ZWY1
|
|
MzRKLgoIdGFza19rZXkSIgogYzUwMmM1NzQ1YzI3ODFhZjUxYjJmM2VmNWQ2MmZjNzRKMQoHdGFz
|
|
a19pZBImCiQwMGZiMmFkMS1jODM3LTQ3N2QtOTliMS1mZTNiZmE2NDdhMmZ6AhgBhQEAAQAAEs0L
|
|
ChALeLG8zBiaP288HWV8dvG+EgghXucOSXsosyoMQ3JldyBDcmVhdGVkMAE5CMOHjMT29xdBUCiK
|
|
jMT29xdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGMC42MS4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMu
|
|
MTEuN0ouCghjcmV3X2tleRIiCiA0NzNlNGRiZDI5OTg3NzEyMGViNzVjMjVkYTYyMjM3NUoxCgdj
|
|
cmV3X2lkEiYKJGZlZWQzMmMxLTdkNmYtNDFhNC1hMzFmLTZhOTlmNjFlZGFkNEocCgxjcmV3X3By
|
|
b2Nlc3MSDAoKc2VxdWVudGlhbEoRCgtjcmV3X21lbW9yeRICEABKGgoUY3Jld19udW1iZXJfb2Zf
|
|
dGFza3MS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CBVc2FnZTABORAFHcHE9vcXQXBaIcHE9vcXShoK
|
|
DmNyZXdhaV92ZXJzaW9uEggKBjAuNjEuMEoZCgl0b29sX25hbWUSDAoKbXVsdGlwbGllckoOCghh
|
|
dHRlbXB0cxICGAF6AhgBhQEAAQAA
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '2244'
|
|
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:
|
|
- Mon, 23 Sep 2024 19:38:28 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Researcher. You''re
|
|
an expert researcher, specialized in technology, software engineering, AI and
|
|
startups. You work as a freelancer and is now working on doing research and
|
|
analysis for a new customer.\nYour personal goal is: Make the best research
|
|
and analysis on content about AI and AI agents\nYou ONLY have access to the
|
|
following tools, and should NEVER make up tools that are not listed here:\n\nTool
|
|
Name: multiplier(*args: Any, **kwargs: Any) -> Any\nTool Description: multiplier(first_number:
|
|
''integer'', second_number: ''integer'') - Useful for when you need to multiply
|
|
two numbers together. \nTool Arguments: {''first_number'': {''title'': ''First
|
|
Number'', ''type'': ''integer''}, ''second_number'': {''title'': ''Second Number'',
|
|
''type'': ''integer''}}\n\nUse the following format:\n\nThought: you should
|
|
always think about what to do\nAction: the action to take, only one name of
|
|
[multiplier], 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: What is 2 times 6? Return only the number.\n\nThis
|
|
is the expect criteria for your final answer: the result of multiplication\nyou
|
|
MUST return the actual complete content as the final answer, not a summary.\n\nThis
|
|
is the context you''re working with:\n12\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"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1763'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=4rzJDR3F8S3Dp4B_qwylZU0mdm_WUwmv8vNHHp3IplM-1727119501-1.0.1.1-qobO_Sf88yG1qtXFnLgykvyc9YXR_fm1J7ZpXIhvtynVnsz67Uwcf4122PgHs4GMrlvZMaL6z_UVcVYSYUJOKQ;
|
|
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.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-AAjB6IB7E4cgWtUPSMCmiFwgEHfrA\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727120308,\n \"model\": \"gpt-4o-2024-05-13\",\n
|
|
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
|
\"assistant\",\n \"content\": \"Thought: I need to find the result of
|
|
multiplying 2 by 6. I will use the multiplier tool to get the answer.\\n\\nAction:
|
|
multiplier\\nAction Input: {\\\"first_number\\\": 2, \\\"second_number\\\":
|
|
6}\",\n \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
|
|
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 365,\n \"completion_tokens\":
|
|
48,\n \"total_tokens\": 413,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c7cfec4dd46a4c7-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:38:29 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '1071'
|
|
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:
|
|
- '29999573'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_622ad2dec13b3688177663a0f5ed6422
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
- request:
|
|
body: '{"messages": [{"role": "system", "content": "You are Researcher. You''re
|
|
an expert researcher, specialized in technology, software engineering, AI and
|
|
startups. You work as a freelancer and is now working on doing research and
|
|
analysis for a new customer.\nYour personal goal is: Make the best research
|
|
and analysis on content about AI and AI agents\nYou ONLY have access to the
|
|
following tools, and should NEVER make up tools that are not listed here:\n\nTool
|
|
Name: multiplier(*args: Any, **kwargs: Any) -> Any\nTool Description: multiplier(first_number:
|
|
''integer'', second_number: ''integer'') - Useful for when you need to multiply
|
|
two numbers together. \nTool Arguments: {''first_number'': {''title'': ''First
|
|
Number'', ''type'': ''integer''}, ''second_number'': {''title'': ''Second Number'',
|
|
''type'': ''integer''}}\n\nUse the following format:\n\nThought: you should
|
|
always think about what to do\nAction: the action to take, only one name of
|
|
[multiplier], 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: What is 2 times 6? Return only the number.\n\nThis
|
|
is the expect criteria for your final answer: the result of multiplication\nyou
|
|
MUST return the actual complete content as the final answer, not a summary.\n\nThis
|
|
is the context you''re working with:\n12\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": "user", "content": "Thought: I need to find the
|
|
result of multiplying 2 by 6. I will use the multiplier tool to get the answer.\n\nAction:
|
|
multiplier\nAction Input: {\"first_number\": 2, \"second_number\": 6}\nObservation:
|
|
12"}], "model": "gpt-4o"}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '2001'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=4rzJDR3F8S3Dp4B_qwylZU0mdm_WUwmv8vNHHp3IplM-1727119501-1.0.1.1-qobO_Sf88yG1qtXFnLgykvyc9YXR_fm1J7ZpXIhvtynVnsz67Uwcf4122PgHs4GMrlvZMaL6z_UVcVYSYUJOKQ;
|
|
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
|
|
host:
|
|
- api.openai.com
|
|
user-agent:
|
|
- OpenAI/Python 1.47.0
|
|
x-stainless-arch:
|
|
- arm64
|
|
x-stainless-async:
|
|
- 'false'
|
|
x-stainless-lang:
|
|
- python
|
|
x-stainless-os:
|
|
- MacOS
|
|
x-stainless-package-version:
|
|
- 1.47.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-AAjB7gTKvJTDB0KnkDhnUgedgqqGB\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1727120309,\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: 12\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
|
|
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
|
421,\n \"completion_tokens\": 14,\n \"total_tokens\": 435,\n \"completion_tokens_details\":
|
|
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c7cfecd4937a4c7-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 23 Sep 2024 19:38:29 GMT
|
|
Server:
|
|
- cloudflare
|
|
Transfer-Encoding:
|
|
- chunked
|
|
X-Content-Type-Options:
|
|
- nosniff
|
|
access-control-expose-headers:
|
|
- X-Request-ID
|
|
openai-organization:
|
|
- crewai-iuxna1
|
|
openai-processing-ms:
|
|
- '361'
|
|
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:
|
|
- '29999524'
|
|
x-ratelimit-reset-requests:
|
|
- 6ms
|
|
x-ratelimit-reset-tokens:
|
|
- 0s
|
|
x-request-id:
|
|
- req_e3d12da18bdab6045554b04c1fbac12d
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|