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

@@ -14,7 +14,7 @@ interactions:
point list of 5 important events. No additional commentary.\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": ["\nObservation"]}'
your job depends on it!\n\nThought:"}], "model": "gpt-4o", "stop": ["\nResult"]}'
headers:
accept:
- application/json
@@ -23,12 +23,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1182'
- '1177'
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=e.frhlfi1m.8j1hzfGzahuOh4rgR9gvx.2zCHQ2w_Vs-1726380612-1.0.1.1-T58wIEXn0GTV8AZMALaUyULORFkNEBuxpds8RSWAM0Ltrg2U7jLBEKs0nwIneMiBAiiOmyZaoaH2RyLtNcunLQ;
_cfuvid=Bz2zevKuFYZqnEFwqmqVHcRo5pT0fm0fTtc_6_VQs4g-1726379702153-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -52,24 +52,22 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-A6vjhgbakDE5CSmTuZteQupj6W1zL\",\n \"object\":
\"chat.completion\",\n \"created\": 1726215269,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-A7cnF66xx59SaSyqusFzE8SDYfAYL\",\n \"object\":
\"chat.completion\",\n \"created\": 1726380781,\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: \\n\\n- AI in healthcare: revolutionizing diagnostics and personalized
treatments.\\n- Autonomous driving: advancements and ethical considerations.\\n-
AI agents in customer service: improving efficiency and user experience.\\n-
Machine learning in financial markets: predicting trends and managing risks.\\n-
Natural language processing: transforming communication between humans and machines.\",\n
Answer: \\n\\n- Ethical considerations in AI deployment.\\n- Future of AI in
healthcare diagnostics.\\n- AI-driven personalization in retail.\\n- Autonomous
vehicles' impact on urban planning.\\n- Advancements in natural language processing.\",\n
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 226,\n \"completion_tokens\":
73,\n \"total_tokens\": 299,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
53,\n \"total_tokens\": 279,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_992d1ea92d\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c26af197c4e2ab9-LAX
- 8c3677e97b2d745a-MIA
Connection:
- keep-alive
Content-Encoding:
@@ -77,7 +75,7 @@ interactions:
Content-Type:
- application/json
Date:
- Fri, 13 Sep 2024 08:14:30 GMT
- Sun, 15 Sep 2024 06:13:01 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -91,7 +89,7 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '997'
- '711'
openai-version:
- '2020-10-01'
strict-transport-security:
@@ -109,7 +107,7 @@ interactions:
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_9101f02a815c1d22bec227144bad18c2
- req_50f52792adf9aacdf97194b8bf612e53
http_version: HTTP/1.1
status_code: 200
version: 1