Bringing support to o1 family back + any models that don't support stop words

This commit is contained in:
João Moura
2024-09-24 22:18:20 -03:00
parent b8aa46a767
commit e19bdcb97d
104 changed files with 56051 additions and 65319 deletions

View File

@@ -51,8 +51,8 @@ interactions:
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
- __cf_bm=9.8sBYBkvBR8R1K_bVF7xgU..80XKlEIg3N2OBbTSCU-1727214102-1.0.1.1-.qiTLXbPamYUMSuyNsOEB9jhGu.jOifujOrx9E2JZvStbIZ9RTIiE44xKKNfLPxQkOi6qAT3h6htK8lPDGV_5g;
_cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -76,29 +76,26 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjL2tqGG1KIjKwBbeUGizytl4fke\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120924,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AB7fzflt7Fhs1oZsbsvf8UH2540zr\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214479,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"To provide an integer score between 1-5
for the title \\\"The impact of AI in the future of work,\\\" I need to rely
on the expertise of the Scorer. I'll delegate this task to them, providing clear
context and criteria for the scoring.\\n\\nAction: Delegate work to coworker\\nAction
Input: {\\\"task\\\": \\\"Provide an integer score between 1-5 for the title
'The impact of AI in the future of work'.\\\", \\\"context\\\": \\\"The score
should be based on how compelling, relevant, and engaging the title is considering
current trends and discussions regarding AI's role in the future of work. A
score of 1 indicates a very poor title, and a score of 5 indicates an excellent
title.\\\", \\\"coworker\\\": \\\"Scorer\\\"}\\n\\nObservation: The work has
been delegated to the Scorer. I will wait for their evaluation.\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 664,\n \"completion_tokens\":
176,\n \"total_tokens\": 840,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
\"assistant\",\n \"content\": \"To provide the score for the title \\\"The
impact of AI in the future of work,\\\" I need to ask Scorer to evaluate this
based on the criteria they use. \\n\\nAction: Ask question to coworker\\nAction
Input: {\\\"question\\\": \\\"Can you provide an integer score between 1-5 for
the title 'The impact of AI in the future of work'?\\\", \\\"context\\\": \\\"We
need to evaluate this title based on your criteria for scoring titles. The context
for the scoring revolves entirely around the perceived impact of AI on the future
of work.\\\", \\\"coworker\\\": \\\"Scorer\\\"}\",\n \"refusal\": null\n
\ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n
\ ],\n \"usage\": {\n \"prompt_tokens\": 664,\n \"completion_tokens\":
122,\n \"total_tokens\": 786,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0dd2bcaba4c7-MIA
- 8c85f9de4b8c1cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -106,7 +103,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:48:46 GMT
- Tue, 24 Sep 2024 21:48:01 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -118,11 +115,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '2130'
- '1846'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
- max-age=31536000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
@@ -136,9 +133,92 @@ interactions:
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_eb4e6de74c40bee2de7084cd7551e7d7
- req_11f38fee4ec6e3f51a3324984c025e8a
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CrkXCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSkBcKEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQ1tibm5O29ydlYfnOavm8RBII2SJ7HUWzRw0qDlRhc2sgRXhlY3V0aW9uMAE5
MJ81e2lM+BdB2DorkWpM+BdKLgoIY3Jld19rZXkSIgogNWU2ZWZmZTY4MGE1ZDk3ZGMzODczYjE0
ODI1Y2NmYTNKMQoHY3Jld19pZBImCiQwODczNWFkNy1iZTFhLTQ0ZDMtOTU3Ny1hMzM0ZjI2NTNm
NjFKLgoIdGFza19rZXkSIgogMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFiODZKMQoHdGFz
a19pZBImCiQ5YjE2YjE3YS0wZTg5LTRmMGItODc3NC1mZjkxODU3NGYzNjZ6AhgBhQEAAQAAEpYH
ChBxyWIltrFtco3B5ZvJkfAeEgh/kPnzKKzEGioMQ3JldyBDcmVhdGVkMAE5SKsrkmpM+BdBqIMv
kmpM+BdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGMC42MS4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMu
MTEuN0ouCghjcmV3X2tleRIiCiA1ZTZlZmZlNjgwYTVkOTdkYzM4NzNiMTQ4MjVjY2ZhM0oxCgdj
cmV3X2lkEiYKJDU3OWM3OGE3LTg2MjEtNGQ2Ni04NDQyLWRjY2NkNjY2YTk3ZkocCgxjcmV3X3By
b2Nlc3MSDAoKc2VxdWVudGlhbEoRCgtjcmV3X21lbW9yeRICEABKGg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2tfaWQSJgokYjZhNmQ4
YjUtYjFkZC00MWE3LTkyZTktY2MyMTcwMDgyZjE3egIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '3004'
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:
- Tue, 24 Sep 2024 21:48:02 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
@@ -146,17 +226,16 @@ interactions:
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: Provide an integer score between 1-5 for the title
''The impact of AI in the future of work''.\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:\nThe
score should be based on how compelling, relevant, and engaging the title is
considering current trends and discussions regarding AI''s role in the future
of work. A score of 1 indicates a very poor title, and a score of 5 indicates
an excellent title.\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"}'
"content": "\nCurrent Task: Can you provide an integer score between 1-5 for
the title ''The impact of AI in the future of work''?\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:\nWe need to evaluate this title based on your criteria for scoring titles.
The context for the scoring revolves entirely around the perceived impact of
AI on the future of work.\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
@@ -165,12 +244,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1268'
- '1197'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
- __cf_bm=9.8sBYBkvBR8R1K_bVF7xgU..80XKlEIg3N2OBbTSCU-1727214102-1.0.1.1-.qiTLXbPamYUMSuyNsOEB9jhGu.jOifujOrx9E2JZvStbIZ9RTIiE44xKKNfLPxQkOi6qAT3h6htK8lPDGV_5g;
_cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -194,19 +273,22 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjL5L1XhjAkOfh16wcxLVz7QDqNd\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120927,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AB7g1mAHJE9QnUWqbrKUvROBJKSYb\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214481,\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: 5\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
255,\n \"completion_tokens\": 15,\n \"total_tokens\": 270,\n \"completion_tokens_details\":
Answer: 4 - The title 'The impact of AI in the future of work' is clear and
directly addresses a timely and significant topic that is highly relevant in
today's context. However, it could be made even more specific to immediately
hook the reader or audience.\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
238,\n \"completion_tokens\": 64,\n \"total_tokens\": 302,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0de29cd9a4c7-MIA
- 8c85f9ec685c1cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -214,7 +296,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:48:47 GMT
- Tue, 24 Sep 2024 21:48:02 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -226,11 +308,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '294'
- '802'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
- max-age=31536000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
@@ -238,13 +320,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999693'
- '29999712'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_509c162c5aaa825aae80fb110260ea72
- req_a7c8c6c2bd1951dd5d067148bc6ceba8
http_version: HTTP/1.1
status_code: 200
- request:
@@ -286,17 +368,18 @@ interactions:
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": "user", "content": "To provide an integer score
between 1-5 for the title \"The impact of AI in the future of work,\" I need
to rely on the expertise of the Scorer. I''ll delegate this task to them, providing
clear context and criteria for the scoring.\n\nAction: Delegate work to coworker\nAction
Input: {\"task\": \"Provide an integer score between 1-5 for the title ''The
impact of AI in the future of work''.\", \"context\": \"The score should be
based on how compelling, relevant, and engaging the title is considering current
trends and discussions regarding AI''s role in the future of work. A score of
1 indicates a very poor title, and a score of 5 indicates an excellent title.\",
\"coworker\": \"Scorer\"}\n\nObservation: The work has been delegated to the
Scorer. I will wait for their evaluation.\nObservation: 5"}], "model": "gpt-4o"}'
on it!\n\nThought:"}, {"role": "assistant", "content": "To provide the score
for the title \"The impact of AI in the future of work,\" I need to ask Scorer
to evaluate this based on the criteria they use. \n\nAction: Ask question to
coworker\nAction Input: {\"question\": \"Can you provide an integer score between
1-5 for the title ''The impact of AI in the future of work''?\", \"context\":
\"We need to evaluate this title based on your criteria for scoring titles.
The context for the scoring revolves entirely around the perceived impact of
AI on the future of work.\", \"coworker\": \"Scorer\"}\nObservation: 4 - The
title ''The impact of AI in the future of work'' is clear and directly addresses
a timely and significant topic that is highly relevant in today''s context.
However, it could be made even more specific to immediately hook the reader
or audience."}], "model": "gpt-4o"}'
headers:
accept:
- application/json
@@ -305,12 +388,12 @@ interactions:
connection:
- keep-alive
content-length:
- '3820'
- '3831'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
- __cf_bm=9.8sBYBkvBR8R1K_bVF7xgU..80XKlEIg3N2OBbTSCU-1727214102-1.0.1.1-.qiTLXbPamYUMSuyNsOEB9jhGu.jOifujOrx9E2JZvStbIZ9RTIiE44xKKNfLPxQkOi6qAT3h6htK8lPDGV_5g;
_cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -334,19 +417,23 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjL6lG7XHfbk3rWtu1foXrPkx5Eb\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120928,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AB7g2oKgp7qGfodgXRIUm5FpBtpNp\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214482,\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: 5\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
848,\n \"completion_tokens\": 14,\n \"total_tokens\": 862,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
\"assistant\",\n \"content\": \"Thought: I have received the score from
Scorer.\\n\\nFinal Answer: 4 - The title 'The impact of AI in the future of
work' is clear and directly addresses a timely and significant topic that is
highly relevant in today's context. However, it could be made even more specific
to immediately hook the reader or audience.\",\n \"refusal\": null\n
\ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n
\ ],\n \"usage\": {\n \"prompt_tokens\": 843,\n \"completion_tokens\":
65,\n \"total_tokens\": 908,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0de85dbaa4c7-MIA
- 8c85f9f338e01cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -354,7 +441,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:48:48 GMT
- Tue, 24 Sep 2024 21:48:03 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -366,11 +453,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '249'
- '1078'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
- max-age=31536000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
@@ -378,110 +465,27 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999072'
- '29999071'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 1ms
x-request-id:
- req_62d9d879606722836f1e43b82f221cc0
- req_4bee152d111ba79c2f73025a64db943f
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CtgYCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSrxgKEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQpkc/4lMOp+NBPSuvS2PaoxIIzDaezuXZHr8qDlRhc2sgRXhlY3V0aW9uMAE5
YGOkKVP39xdBAG7dK1T39xdKLgoIY3Jld19rZXkSIgogNWU2ZWZmZTY4MGE1ZDk3ZGMzODczYjE0
ODI1Y2NmYTNKMQoHY3Jld19pZBImCiRmMmRhMjEyZS01MDg4LTQ0YTctYmY1Ny00NGU5NmE3OTNl
MDJKLgoIdGFza19rZXkSIgogMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFiODZKMQoHdGFz
a19pZBImCiRhNmZlNjI4YS04ODRmLTQwOTItOTdiZi05Mjc3ZDUyZjk1NTZ6AhgBhQEAAQAAEpYH
ChAFNBJSIdddwD9dxuBH495UEgjP6czceEE6+yoMQ3JldyBDcmVhdGVkMAE58J5vLVT39xdBoLd0
LVT39xdKGgoOY3Jld2FpX3ZlcnNpb24SCAoGMC42MS4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMu
MTEuN0ouCghjcmV3X2tleRIiCiA1ZTZlZmZlNjgwYTVkOTdkYzM4NzNiMTQ4MjVjY2ZhM0oxCgdj
cmV3X2lkEiYKJGMxMGZk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JjMmQtYzlmMzI0OWYzNjAySi4KCHRhc2tfa2V5
EiIKIDI3ZWYzOGNjOTlkYTRhOGRlZDcwZWQ0MDZlNDRhYjg2SjEKB3Rhc2tfaWQSJgokNDExZDNi
ODktZThiYS00NDVhLTljMDUtNGJlYWU5OWY4YWFkegIYAYUBAAEAABKcAQoQDZPxlU6mAUgXIjXW
Qm9YLRIIUZiPdVTT2REqClRvb2wgVXNhZ2UwATloc0JEVff3F0FgPlJEVff3F0oaCg5jcmV3YWlf
dmVyc2lvbhIICgYwLjYxLjBKKAoJdG9vbF9uYW1lEhsKGURlbGVnYXRlIHdvcmsgdG8gY293b3Jr
ZXJKDgoIYXR0ZW1wdHMSAhgBegIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '3163'
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:48:48 GMT
status:
code: 200
message: OK
- request:
body: '{"messages": [{"role": "user", "content": "5"}, {"role": "system", "content":
"I''m gonna convert this raw text into valid JSON.\n\nThe json should have the
following structure, with the following keys:\n{\n score: int\n}"}], "model":
"gpt-4o", "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"}}}]}'
body: '{"messages": [{"role": "user", "content": "4 - The title ''The impact of
AI in the future of work'' is clear and directly addresses a timely and significant
topic that is highly relevant in today''s context. However, it could be made
even more specific to immediately hook the reader or audience."}, {"role": "system",
"content": "I''m gonna convert this raw text into valid JSON.\n\nThe json should
have the following structure, with the following keys:\n{\n score: int\n}"}],
"model": "gpt-4o", "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
@@ -490,12 +494,12 @@ interactions:
connection:
- keep-alive
content-length:
- '615'
- '864'
content-type:
- application/json
cookie:
- __cf_bm=iOyeV6o_mR0USNA.hPdpKPtAzYgMoprpObRHvn0tmcc-1727120402-1.0.1.1-yMOSz4qncmM1wdtrwFfBQNfITkLs2w_sxijeM44F7aSIrclbkQ2G_18su02eVMVPMW2O55B1rty8BiY_WAoayg;
_cfuvid=9K_ipT1uTVyDTneB1W5OZHPxCh36aOsDZCBnsQTONqQ-1727119501207-0.0.1.1-604800000
- __cf_bm=9.8sBYBkvBR8R1K_bVF7xgU..80XKlEIg3N2OBbTSCU-1727214102-1.0.1.1-.qiTLXbPamYUMSuyNsOEB9jhGu.jOifujOrx9E2JZvStbIZ9RTIiE44xKKNfLPxQkOi6qAT3h6htK8lPDGV_5g;
_cfuvid=lbRdAddVWV6W3f5Dm9SaOPWDUOxqtZBSPr_fTW26nEA-1727213194587-0.0.1.1-604800000
host:
- api.openai.com
user-agent:
@@ -519,22 +523,22 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjL6oMJveXNAY7FJSTE60LHH3ZoO\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120928,\n \"model\": \"gpt-4o-2024-05-13\",\n
content: "{\n \"id\": \"chatcmpl-AB7g4iZixQjuGxE0RxbSIixLAsEGf\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214484,\n \"model\": \"gpt-4o-2024-05-13\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n
\ \"id\": \"call_NziqBsAL0iH63Fwib81SrubO\",\n \"type\":
\ \"id\": \"call_iIgRFzMLI0NHZwyJM2CwzJPL\",\n \"type\":
\"function\",\n \"function\": {\n \"name\": \"ScoreOutput\",\n
\ \"arguments\": \"{\\\"score\\\":5}\"\n }\n }\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\":
100,\n \"completion_tokens\": 5,\n \"total_tokens\": 105,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_e375328146\"\n}\n"
149,\n \"completion_tokens\": 5,\n \"total_tokens\": 154,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_9f2bfdaa89\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0dec4c91a4c7-MIA
- 8c85f9fc5e991cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -542,7 +546,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:48:49 GMT
- Tue, 24 Sep 2024 21:48:04 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -554,11 +558,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '260'
- '141'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
- max-age=31536000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
@@ -566,13 +570,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999947'
- '29999884'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_117153d2104a863f8be0f9cfe9db63f9
- req_dd38f9b6e9e6ac64ebbb827111e31414
http_version: HTTP/1.1
status_code: 200
version: 1