fixing parser, tools and executor

This commit is contained in:
João Moura
2024-09-15 18:41:59 -03:00
parent c2795307f6
commit f216b0a78c
98 changed files with 21270 additions and 26437 deletions

View File

@@ -16,8 +16,7 @@ interactions:
is the expect criteria for your final answer: The final paragraph.\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-3.5-turbo-0125",
"stop": ["\nObservation"]}'
Answer, your job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -26,12 +25,9 @@ interactions:
connection:
- keep-alive
content-length:
- '1388'
- '1371'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -55,20 +51,20 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6veMHcsIuWc2cJTYdZlVhtywyc7M\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214938,\n \"model\": \"gpt-3.5-turbo-0125\",\n
content: "{\n \"id\": \"chatcmpl-A7pYOSyCOlKTkdDHBdEGwBc8Q9Rcg\",\n \"object\":
\"chat.completion\",\n \"created\": 1726429832,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"I should gather information about AI
to write a compelling paragraph on the topic.\\n\\nAction: learn_about_AI\\nAction
Input: {}\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
280,\n \"completion_tokens\": 25,\n \"total_tokens\": 305,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
\"assistant\",\n \"content\": \"I need to gather information about AI
to write an excellent paragraph. \\n\\nAction: learn_about_AI\\nAction Input:
{}\",\n \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 277,\n \"completion_tokens\":
24,\n \"total_tokens\": 301,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c26a7017c922ab9-LAX
- 8c3b2572ba927431-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -76,9 +72,15 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:08:58 GMT
- Sun, 15 Sep 2024 19:50:32 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=FibOHMztCGP4kfVoS9BookQQGZtYBbmHXjtxEfZ..TU-1726429832-1.0.1.1-lrRK2EAGi8KuD70I.39t4tx0NkwutIhWn.vwMMIEnaijDRNqGNmezEyeqlLwLMlFGnfpapINdyJdCMhYqEg1Ow;
path=/; expires=Sun, 15-Sep-24 20:20:32 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=l2b2oP3HqGQzHTnAoFlscZueCqkrQ8_AiB_5gvF1K7U-1726429832537-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Transfer-Encoding:
- chunked
X-Content-Type-Options:
@@ -90,7 +92,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '319'
- '269'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -98,49 +100,38 @@ interactions:
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '50000000'
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '49999676'
- '29999677'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_2f2d6b325acf2207ab55c468f05d98c6
- req_09fae8d84a569255697f32b1dec4b4b8
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour
personal goal is: test goal\nYou ONLY have access to the following tools, and
should NEVER make up tools that are not listed here:\n\nTool Name: learn_about_AI(*args:
Any, **kwargs: Any) -> Any\nTool Description: learn_about_AI() - Useful for
when you need to learn about AI to write an paragraph about it. \nTool Arguments:
{}\n\nUse the following format:\n\nThought: you should always think about what
to do\nAction: the action to take, only one name of [learn_about_AI], 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: Write and then review an small paragraph on AI until it''s AMAZING\n\nThis
is the expect criteria for your final answer: The final paragraph.\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 should gather information about AI to write a compelling paragraph on the
topic.\n\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}], "model": "gpt-3.5-turbo-0125", "stop": ["\nObservation"]}'
body: '{"messages": [{"role": "user", "content": "Only tools available:\n###\nTool
Name: learn_about_ai\nTool Description: learn_about_AI() - Useful for when you
need to learn about AI to write an paragraph about it. \nTool Arguments: {}\n\nReturn
a valid schema for the tool, the tool name must be exactly equal one of the
options, use this text to inform the valid output schema:\n\n### TEXT \nI need
to gather information about AI to write an excellent paragraph. \n\nAction:
learn_about_AI\nAction Input: {}"}, {"role": "system", "content": "The schema
should have the following structure, only two keys:\n- tool_name: str\n- arguments:
dict (with all arguments being passed)\n\nExample:\n{\"tool_name\": \"tool name\",
\"arguments\": {\"arg_name1\": \"value\", \"arg_name2\": 2}}"}], "model": "gpt-4o",
"tool_choice": {"type": "function", "function": {"name": "InstructorToolCalling"}},
"tools": [{"type": "function", "function": {"name": "InstructorToolCalling",
"description": "Correctly extracted `InstructorToolCalling` with all the required
parameters with correct types", "parameters": {"properties": {"tool_name": {"description":
"The name of the tool to be called.", "title": "Tool Name", "type": "string"},
"arguments": {"anyOf": [{"type": "object"}, {"type": "null"}], "description":
"A dictionary of arguments to be passed to the tool.", "title": "Arguments"}},
"required": ["arguments", "tool_name"], "type": "object"}}}]}'
headers:
accept:
- application/json
@@ -149,12 +140,9 @@ interactions:
connection:
- keep-alive
content-length:
- '2291'
- '1432'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -178,20 +166,23 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6veNFxr99mW9QHc4QABSQ0kxV1zD\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214939,\n \"model\": \"gpt-3.5-turbo-0125\",\n
content: "{\n \"id\": \"chatcmpl-A7pYPq80ttzgRWVxT29zeNTbREDEW\",\n \"object\":
\"chat.completion\",\n \"created\": 1726429833,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I should try using the learn_about_AI
tool again.\\nAction: learn_about_AI\\nAction Input: {}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 475,\n \"completion_tokens\":
23,\n \"total_tokens\": 498,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": null\n}\n"
\"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n
\ \"id\": \"call_pFDtg2TwvXTD9iMH50NrxA2i\",\n \"type\":
\"function\",\n \"function\": {\n \"name\": \"InstructorToolCalling\",\n
\ \"arguments\": \"{\\\"tool_name\\\":\\\"learn_about_ai\\\",\\\"arguments\\\":null}\"\n
\ }\n }\n ],\n \"refusal\": null\n },\n
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
\ \"usage\": {\n \"prompt_tokens\": 259,\n \"completion_tokens\": 12,\n
\ \"total_tokens\": 271,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c26a70a7bf42ab9-LAX
- 8c3b25783ec68ddc-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -199,9 +190,15 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:09:00 GMT
- Sun, 15 Sep 2024 19:50:33 GMT
Server:
- cloudflare
Set-Cookie:
- __cf_bm=HYHDoH_NPmJ_d6.NV7B4y7H6jBmyYIdQxtd0qko4NAI-1726429833-1.0.1.1-D3qXDhQcpfXTIkSCCBrsmQ.fJ2Qx4rDkwfEo8QbEPu_MLuA5OPtEMuZ1_SKj7yGzEIbhBRF6X5zLpNhjnAJmjw;
path=/; expires=Sun, 15-Sep-24 20:20:33 GMT; domain=.api.openai.com; HttpOnly;
Secure; SameSite=None
- _cfuvid=Vap0Gpj_VfS8LdBJJx_qA58dOZPA5S9majSAGqO4F9U-1726429833360-0.0.1.1-604800000;
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
Transfer-Encoding:
- chunked
X-Content-Type-Options:
@@ -213,7 +210,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '331'
- '236'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -221,80 +218,19 @@ interactions:
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '50000000'
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '49999462'
- '29999813'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_13a092fdaaf630cde30c583cb238dfd3
- req_051f2bd4c9c2445bc10cd52c0b4123a6
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CsYNCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSnQ0KEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQCiwISZ8duLyjqILJo5Ni4xIIkp1e83EyyA4qDlRhc2sgRXhlY3V0aW9uMAE5
AANHgEa/9BdBiAU7nFa/9BdKLgoIY3Jld19rZXkSIgogNDk0ZjM2NTcyMzdhZDhhMzAzNWIyZjFi
ZWVjZGM2NzdKMQoHY3Jld19pZBImCiQ4YmJlMjljOC0yM2FmLTRkODYtOTBjNy02Mzg4M2ZmOTFi
ODRKLgoIdGFza19rZXkSIgogZjI1OTdjNzg2N2ZiZTMyNGRjNjVkYzA4ZGZkYmZjNmNKMQoHdGFz
a19pZBImCiQ5ZjBiMmZlNy0zMjI1LTRkZTYtODQ2Mi0yMjY4ODY0YzM1Yjh6AhgBhQEAAQAAEtoH
ChBbtkL951J7TQHGB4fo1hNuEghLNcqVwIknxSoMQ3JldyBDcmVhdGVkMAE5uGOVn1a/9BdBAMmX
n1a/9BdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGMC41Ni4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMu
MTEuN0ouCghjcmV3X2tleRIiCiA0OTRmMzY1NzIzN2FkOGEzMDM1YjJmMWJlZWNkYzY3N0oxCgdj
cmV3X2lkEiYKJDBjOTJiZGVlLWZhZjAtNGY5Yy05YjExLWJhNzM4ZDFiY2JlZEocCgxjcmV3X3By
b2Nlc3MSDAoKc2VxdWVudGlhbEoRCgtjcmV3X21lbW9yeRICEABKGgoUY3Jld19udW1iZXJfb2Zf
dGFza3MSAhgBShsKFWNyZXdfbnVtYmVyX29mX2FnZW50cxICGAFK+QIKC2NyZXdfYWdlbnRzEukC
CuYCW3sia2V5IjogImUxNDhlNTMyMDI5MzQ5OWY4Y2ViZWE4MjZlNzI1ODJiIiwgImlkIjogIjk0
ODU3NzI1LTJhZmMtNDNhZS05Y2M2LWFmNjM5NDUzZDZiMCIsICJyb2xlIjogInRlc3Qgcm9sZSIs
ICJ2ZXJib3NlPyI6IGZhbHNlLCAibWF4X2l0ZXIiOiAyNSwgIm1heF9ycG0iOiBudWxsLCAiZnVu
Y3Rpb25fY2FsbGluZ19sbG0iOiAiZ3B0LTMuNS10dXJiby0wMTI1IiwgImxsbSI6ICJncHQtMy41
LXR1cmJvLTAxMjUiLCAiZGVsZWdhdGlvbl9lbmFibGVkPyI6IGZhbHNlLCAiYWxsb3dfY29kZV9l
eGVjdXRpb24/IjogZmFsc2UsICJtYXhfcmV0cnlfbGltaXQiOiAyLCAidG9vbHNfbmFtZXMiOiBb
ImxlYXJuX2Fib3V0X2FpIl19XUqOAgoKY3Jld190YXNrcxL/AQr8AVt7ImtleSI6ICJmMjU5N2M3
ODY3ZmJlMzI0ZGM2NWRjMDhkZmRiZmM2YyIsICJpZCI6ICJkNTYwMmM3Mi0wZWQ2LTQwNDYtODcy
NS1hMmM1N2U1YWMwODEiLCAiYXN5bmNfZXhlY3V0aW9uPyI6IGZhbHNlLCAiaHVtYW5faW5wdXQ/
IjogZmFsc2UsICJhZ2VudF9yb2xlIjogInRlc3Qgcm9sZSIsICJhZ2VudF9rZXkiOiAiZTE0OGU1
MzIwMjkzNDk5ZjhjZWJlYTgyNmU3MjU4MmIiLCAidG9vbHNfbmFtZXMiOiBbImxlYXJuX2Fib3V0
X2FpIl19XXoCGAGFAQABAAASjgIKEF28HtdWMGXuwNeW5mjNv6sSCKZwUtTKMS20KgxUYXNrIENy
ZWF0ZWQwATlQIKqfVr/0F0FAdqqfVr/0F0ouCghjcmV3X2tleRIiCiA0OTRmMzY1NzIzN2FkOGEz
MDM1YjJmMWJlZWNkYzY3N0oxCgdjcmV3X2lkEiYKJDBjOTJiZGVlLWZhZjAtNGY5Yy05YjExLWJh
NzM4ZDFiY2JlZEouCgh0YXNrX2tleRIiCiBmMjU5N2M3ODY3ZmJlMzI0ZGM2NWRjMDhkZmRiZmM2
Y0oxCgd0YXNrX2lkEiYKJGQ1NjAyYzcyLTBlZDYtNDA0Ni04NzI1LWEyYzU3ZTVhYzA4MXoCGAGF
AQABAAAShQEKEN6QneinrWrjVb14SQAogsgSCIEPaViEuU0PKhBUb29sIFVzYWdlIEVycm9yMAE5
4ELA9Fa/9BdBmDDF9Fa/9BdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGMC41Ni4wShsKA2xsbRIUChJn
cHQtMy41LXR1cmJvLTAxMjV6AhgBhQEAAQAA
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '1737'
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:
- Fri, 13 Sep 2024 08:09:01 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour
personal goal is: test goal\nYou ONLY have access to the following tools, and
@@ -313,29 +249,9 @@ interactions:
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 should gather information about AI to write a compelling paragraph on the
topic.\n\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}], "model": "gpt-3.5-turbo-0125", "stop": ["\nObservation"]}'
"I need to gather information about AI to write an excellent paragraph. \n\nAction:
learn_about_AI\nAction Input: {}\nObservation: AI is a very broad field."}],
"model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -344,12 +260,12 @@ interactions:
connection:
- keep-alive
content-length:
- '3168'
- '1564'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-0.0.1.1-604800000
- __cf_bm=FibOHMztCGP4kfVoS9BookQQGZtYBbmHXjtxEfZ..TU-1726429832-1.0.1.1-lrRK2EAGi8KuD70I.39t4tx0NkwutIhWn.vwMMIEnaijDRNqGNmezEyeqlLwLMlFGnfpapINdyJdCMhYqEg1Ow;
_cfuvid=l2b2oP3HqGQzHTnAoFlscZueCqkrQ8_AiB_5gvF1K7U-1726429832537-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -373,20 +289,41 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6veP8CJagdCGiSeTR1pKXEs3BLG9\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214941,\n \"model\": \"gpt-3.5-turbo-0125\",\n
content: "{\n \"id\": \"chatcmpl-A7pYPZe2xU0f5FmhdhT3lGQUVGrTH\",\n \"object\":
\"chat.completion\",\n \"created\": 1726429833,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I should try using the learn_about_AI
tool again.\\nAction: learn_about_AI\\nAction Input: {}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 668,\n \"completion_tokens\":
23,\n \"total_tokens\": 691,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": null\n}\n"
\"assistant\",\n \"content\": \"I now have the information needed to
write a paragraph. Here it is:\\n\\nArtificial Intelligence (AI) is revolutionizing
the way we live and work by enabling machines to perform tasks that traditionally
required human intelligence. From natural language processing and speech recognition
to autonomous vehicles and personalized recommendations, AI systems are designed
to learn from data, adapt to new inputs, and carry out complex tasks with remarkable
efficiency. AI not only enhances productivity and innovation but also opens
up new frontiers in scientific research, healthcare, and countless other industries.
As we continue to harness the power of AI, it is crucial to ensure ethical considerations
and responsible deployments to maximize its benefits for society while minimizing
potential risks.\\n\\nThought: I believe the paragraph is well-crafted, but
I should review it to ensure it meets the criteria of being amazing.\\n\\nReviewing
the paragraph, it seems informative, cohesive, and highlights the significance
and potential of AI. It also addresses the importance of ethical considerations,
which adds depth.\\n\\nFinal Answer: Artificial Intelligence (AI) is revolutionizing
the way we live and work by enabling machines to perform tasks that traditionally
required human intelligence. From natural language processing and speech recognition
to autonomous vehicles and personalized recommendations, AI systems are designed
to learn from data, adapt to new inputs, and carry out complex tasks with remarkable
efficiency. AI not only enhances productivity and innovation but also opens
up new frontiers in scientific research, healthcare, and countless other industries.
As we continue to harness the power of AI, it is crucial to ensure ethical considerations
and responsible deployments to maximize its benefits for society while minimizing
potential risks.\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
314,\n \"completion_tokens\": 314,\n \"total_tokens\": 628,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c26a7145b552ab9-LAX
- 8c3b257b7e607431-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -394,7 +331,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:09:01 GMT
- Sun, 15 Sep 2024 19:50:36 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -408,7 +345,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '386'
- '2838'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -416,528 +353,17 @@ interactions:
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '50000000'
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '49999255'
- '29999637'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_f35d94ca865a5317b088d6dc4f3b0bc0
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour
personal goal is: test goal\nYou ONLY have access to the following tools, and
should NEVER make up tools that are not listed here:\n\nTool Name: learn_about_AI(*args:
Any, **kwargs: Any) -> Any\nTool Description: learn_about_AI() - Useful for
when you need to learn about AI to write an paragraph about it. \nTool Arguments:
{}\n\nUse the following format:\n\nThought: you should always think about what
to do\nAction: the action to take, only one name of [learn_about_AI], 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: Write and then review an small paragraph on AI until it''s AMAZING\n\nThis
is the expect criteria for your final answer: The final paragraph.\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 should gather information about AI to write a compelling paragraph on the
topic.\n\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}], "model": "gpt-3.5-turbo-0125", "stop": ["\nObservation"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '4045'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-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-A6veQYmVcQzUh4Ho6r9Vwke5jBQmZ\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214942,\n \"model\": \"gpt-3.5-turbo-0125\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I should try using the learn_about_AI
tool again.\\nAction: learn_about_AI\\nAction Input: {}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 861,\n \"completion_tokens\":
23,\n \"total_tokens\": 884,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c26a71e1b692ab9-LAX
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:09:03 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:
- '364'
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:
- '49999049'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_e6f8a1ea88978c25f4e5f07f14c437e0
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour
personal goal is: test goal\nYou ONLY have access to the following tools, and
should NEVER make up tools that are not listed here:\n\nTool Name: learn_about_AI(*args:
Any, **kwargs: Any) -> Any\nTool Description: learn_about_AI() - Useful for
when you need to learn about AI to write an paragraph about it. \nTool Arguments:
{}\n\nUse the following format:\n\nThought: you should always think about what
to do\nAction: the action to take, only one name of [learn_about_AI], 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: Write and then review an small paragraph on AI until it''s AMAZING\n\nThis
is the expect criteria for your final answer: The final paragraph.\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 should gather information about AI to write a compelling paragraph on the
topic.\n\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}], "model": "gpt-3.5-turbo-0125", "stop": ["\nObservation"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '4922'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-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-A6veSJZN8tdKWoVvGCesVoWafmGHd\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214944,\n \"model\": \"gpt-3.5-turbo-0125\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I should try using the learn_about_AI
tool again.\\nAction: learn_about_AI\\nAction Input: {}\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 1054,\n \"completion_tokens\":
23,\n \"total_tokens\": 1077,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c26a727ebd92ab9-LAX
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:09:04 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:
- '315'
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:
- '49998840'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_4318ecbab76e9f5e874b7da7234e08f8
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CtUDCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSrAMKEgoQY3Jld2FpLnRl
bGVtZXRyeRKFAQoQEXAA/2RDZegbx5/z38bCyBIIW3FElSQ6AooqEFRvb2wgVXNhZ2UgRXJyb3Iw
ATkIYlFTV7/0F0HQdlZTV7/0F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjU2LjBKGwoDbGxtEhQK
EmdwdC0zLjUtdHVyYm8tMDEyNXoCGAGFAQABAAAShQEKEPNt6VQaBxaPur7NMNc1Y60SCO8cI6MO
4RmNKhBUb29sIFVzYWdlIEVycm9yMAE5MPAasFe/9BdBAEsisFe/9BdKGgoOY3Jld2FpX3ZlcnNp
b24SCAoGMC41Ni4wShsKA2xsbRIUChJncHQtMy41LXR1cmJvLTAxMjV6AhgBhQEAAQAAEoUBChBc
M70e27JgFogiKhq3FZPjEghfUqldz8z2yyoQVG9vbCBVc2FnZSBFcnJvcjABOSg6wQ1Yv/QXQRgB
xA1Yv/QXShoKDmNyZXdhaV92ZXJzaW9uEggKBjAuNTYuMEobCgNsbG0SFAoSZ3B0LTMuNS10dXJi
by0wMTI1egIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '472'
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:
- Fri, 13 Sep 2024 08:09:06 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "system", "content": "You are test role. test backstory\nYour
personal goal is: test goal\nYou ONLY have access to the following tools, and
should NEVER make up tools that are not listed here:\n\nTool Name: learn_about_AI(*args:
Any, **kwargs: Any) -> Any\nTool Description: learn_about_AI() - Useful for
when you need to learn about AI to write an paragraph about it. \nTool Arguments:
{}\n\nUse the following format:\n\nThought: you should always think about what
to do\nAction: the action to take, only one name of [learn_about_AI], 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: Write and then review an small paragraph on AI until it''s AMAZING\n\nThis
is the expect criteria for your final answer: The final paragraph.\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 should gather information about AI to write a compelling paragraph on the
topic.\n\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}, {"role": "assistant", "content": "Thought: I should try using the learn_about_AI
tool again.\nAction: learn_about_AI\nAction Input: {}\nObservation: I encountered
an error: Failed to convert text into a pydantic model due to the following
error: ''Instructor'' object has no attribute ''content''\nMoving on then. I
MUST either use a tool (use one at time) OR give my best final answer. To Use
the following format:\n\nThought: you should always think about what to do\nAction:
the action to take, should be one of [learn_about_AI]\nAction Input: the input
to the action, dictionary enclosed in curly braces\nObservation: the result
of the action\n... (this Thought/Action/Action Input/Observation can repeat
N times)\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\n
"}], "model": "gpt-3.5-turbo-0125", "stop": ["\nObservation"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '5799'
content-type:
- application/json
cookie:
- __cf_bm=r6BNUnXat.26mviZiJYUf7Qj4ea5gbt_oPxyClKcVOE-1726214380-1.0.1.1-2S3G10sPdiG2syQSO8wKWXE7Nmdgt88imgakr81w9DemMH8mVDg0q6r9ANx6tM4_CPvgGQlMVstDhDRkIDwhzg;
_cfuvid=dp2yoCmGHVlURh_U78_UoIfnhcO5UhufnL5whkUSMTQ-1726214380689-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-A6veT8JLc9KUWiiet3oLigHWDTs6m\",\n \"object\":
\"chat.completion\",\n \"created\": 1726214945,\n \"model\": \"gpt-3.5-turbo-0125\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Final Answer: As a test role with the
goal of providing a compelling paragraph on AI, I have encountered errors while
attempting to use the learn_about_AI tool to gather information about AI. Unfortunately,
I was unable to access the necessary resources to fulfill this task. Despite
these challenges, I remain determined to learn more about AI and enhance my
understanding to write a captivating paragraph on the topic in the future.\",\n
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 1247,\n \"completion_tokens\":
80,\n \"total_tokens\": 1327,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c26a730db592ab9-LAX
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:09:06 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:
- '996'
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:
- '49998634'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_db2d0f7eebe658e7a56c65e21104463b
- req_848e03ef6a6129ae5b05bafac981e3ab
http_version: HTTP/1.1
status_code: 200
version: 1