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

@@ -1,69 +1,4 @@
interactions:
- request:
body: !!binary |
Cp8PCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkS9g4KEgoQY3Jld2FpLnRl
bGVtZXRyeRKcAQoQVVUvR24mxTwQOJhhomJIWxII74YR0I9/OTwqClRvb2wgVXNhZ2UwATnwY0j2
Vvf3F0E4BFb2Vvf3F0oaCg5jcmV3YWlfdmVyc2lvbhIICgYwLjYxLjBKKAoJdG9vbF9uYW1lEhsK
GURlbGVnYXRlIHdvcmsgdG8gY293b3JrZXJKDgoIYXR0ZW1wdHMSAhgBegIYAYUBAAEAABKQAgoQ
FfwqVRq+0lV/NaEGzRx8kRIIkYjG8jSte1UqDlRhc2sgRXhlY3V0aW9uMAE5mGOSI1b39xdBENsp
PFf39xdKLgoIY3Jld19rZXkSIgogNWU2ZWZmZTY4MGE1ZDk3ZGMzODczYjE0ODI1Y2NmYTNKMQoH
Y3Jld19pZBImCiQ1MjBhNGMxNC05MDQ4LTQ5ZTYtYjY1Ny1jMjAyY2RmMzE0ZDFKLgoIdGFza19r
ZXkSIgogMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFiODZKMQoHdGFza19pZBImCiQyN2Iy
NTQxMS1mN2ExLTRmNzctYjIzMC0zMzk0YjZjMmVlMTF6AhgBhQEAAQAAEpwJChBvO6NWl6BtgtCV
KcEmXocQEghRrZG6PaJE1SoMQ3JldyBDcmVhdGVkMAE5aEi9PVf39xdBWAPCPVf39xdKGgoOY3Jl
d2FpX3ZlcnNpb24SCAoGMC42MS4wShoKDnB5dGhvbl92ZXJzaW9uEggKBjMuMTEuN0ouCghjcmV3
X2tleRIiCiBkNDI2MDgzM2FiMGMyMGJiNDQ5MjJjNzk5YWE5NmI0YUoxCgdjcmV3X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diOGZhNjZhYTY3YWRiZSIs
ICJpZCI6ICI4OTYzZGFmNC1lNThkLTQyMGItYTMxOC0zNWU3MTcxZGM3OWUiLCAiYXN5bmNfZXhl
Y3V0aW9uPyI6IGZhbHNlLCAiaHVtYW5faW5wdXQ/IjogZmFsc2UsICJhZ2VudF9yb2xlIjogIlNj
b3JlciIsICJhZ2VudF9rZXkiOiAiOTJlN2ViMTkxNjY0YzkzNTc4NWVkN2Q0MjQwYTI5NGQiLCAi
dG9vbHNfbmFtZXMiOiBbXX1degIYAYUBAAEAABKOAgoQ5/wJOdRMTFtHSlgWWY4SHRIIIjygamFc
zEYqDFRhc2sgQ3JlYXRlZDABOeDT4T1X9/cXQagA4z1X9/cXSi4KCGNyZXdfa2V5EiIKIGQ0MjYw
ODMzYWIwYzIwYmI0NDkyMmM3OTlhYTk2YjRhSjEKB2NyZXdfaWQSJgokMzRjN2NhOWQtYTIwMC00
NzI3LWI3Y2MtNzQxNGE0OGU5MTU2Si4KCHRhc2tfa2V5EiIKIDI3ZWYzOGNjOTlkYTRhOGRlZDcw
ZWQ0MDZlNDRhYjg2SjEKB3Rhc2tfaWQSJgokZTljY2IzMTMtNzJlZS00ZGZlLWI5YzQtYWZlMzRj
ODA0YTUzegIYAYUBAAEAAA==
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '1954'
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:58 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
@@ -89,8 +24,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:
@@ -114,33 +49,19 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjLElX48YK9s87jpQwwOHFFu4BEl\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120936,\n \"model\": \"gpt-4-0125-preview\",\n
content: "{\n \"id\": \"chatcmpl-AB7gEbfUEcEY8uxRqngZ1AHO3Kh8G\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214494,\n \"model\": \"gpt-4-0125-preview\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: To score this title accurately,
I need to consider its relevance, specificity, interest generation, and the
importance of the topic it covers. 'The impact of AI in the future of work'
touches on a highly pertinent and contemporary issue, hinting at an analysis
of artificial intelligence's influence on job markets, employment types, and
workplace dynamics. It promises a discussion that is both crucial and wide-reaching,
appealing to a broad audience interested in technology, future trends, and job
security. The title is forward-thinking, indicates a deep dive into evolving
technology's effects, and is likely to spur curiosity and engagement. However,
it could be perceived as slightly generic given the vast amount of similar discussions
and analyses available. Balancing these factors is key to assigning the most
suitable score.\\n\\nFinal Answer: Considering relevance, specificity, interest
generation, and significance, the title 'The impact of AI in the future of work'
earns a score of 4 out of 5. It is a compelling and timely topic, but loses
a point for potential lack of uniqueness in an overcrowded discussion space.\",\n
\ \"refusal\": null\n },\n \"logprobs\": null,\n \"finish_reason\":
\"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\": 187,\n \"completion_tokens\":
218,\n \"total_tokens\": 405,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": null\n}\n"
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\nFinal
Answer: 4\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
187,\n \"completion_tokens\": 15,\n \"total_tokens\": 202,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0e1d5d19a4c7-MIA
- 8c85fa3b6b9e1cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -148,7 +69,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:49:03 GMT
- Tue, 24 Sep 2024 21:48:14 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -160,11 +81,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '7161'
- '730'
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:
@@ -178,22 +99,18 @@ interactions:
x-ratelimit-reset-tokens:
- 6ms
x-request-id:
- req_a4ba8bbc6971623f04e6acbef8f3c30a
- req_7229ec6efc9642277f866a4769b8428c
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "user", "content": "Considering relevance, specificity,
interest generation, and significance, the title ''The impact of AI in the future
of work'' earns a score of 4 out of 5. It is a compelling and timely topic,
but loses a point for potential lack of uniqueness in an overcrowded discussion
space."}, {"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-3.5-turbo-0125", "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"}, {"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-3.5-turbo-0125", "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
@@ -202,12 +119,12 @@ interactions:
connection:
- keep-alive
content-length:
- '904'
- '627'
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:
@@ -231,22 +148,22 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjLM3nFBpu0n92Ziof2ZTMecNhkj\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120944,\n \"model\": \"gpt-3.5-turbo-0125\",\n
content: "{\n \"id\": \"chatcmpl-AB7gF9MWuZGxknKnrtesloXhXendq\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214495,\n \"model\": \"gpt-3.5-turbo-0125\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n
\ \"id\": \"call_UlH9wsccMGwMP6qN9ZJgHT57\",\n \"type\":
\ \"id\": \"call_vIxfdg9Ebnr1Z3TthsEcVXby\",\n \"type\":
\"function\",\n \"function\": {\n \"name\": \"ScoreOutput\",\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\":
161,\n \"completion_tokens\": 5,\n \"total_tokens\": 166,\n \"completion_tokens_details\":
103,\n \"completion_tokens\": 5,\n \"total_tokens\": 108,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0e4bfe18a4c7-MIA
- 8c85fa41bc891cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -254,7 +171,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:49:04 GMT
- Tue, 24 Sep 2024 21:48:15 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -266,11 +183,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '166'
- '253'
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:
@@ -278,28 +195,166 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '49999876'
- '49999946'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_874cc68c054716476a8adeb8ad144c06
- req_fe42bae7f8f0d8830aa96ac82a70bb78
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "system", "content": "You are Scorer. You''re an
expert scorer, specialized in scoring titles.\nYour personal goal is: Score
the title\nTo give my best complete final answer to the task use the exact following
format:\n\nThought: I now can give a great answer\nFinal Answer: Your final
answer must be the great and the most complete as possible, it must be outcome
described.\n\nI MUST use these formats, my job depends on it!"}, {"role": "user",
"content": "\nCurrent Task: Given the score the title ''The impact of AI in
the future of work'' got, give me an integer score between 1-5 for the following
title: ''Return of the Jedi'', you MUST give it a score, use your best judgment\n\nThis
is the expect criteria for your final answer: The score of the title.\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\n4\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-4-0125-preview"}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1076'
content-type:
- application/json
cookie:
- __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:
- 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-AB7gFkgb0JsYMhXR8qaHnXKOQfP7B\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214495,\n \"model\": \"gpt-4-0125-preview\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\n\\nFinal
Answer: 5\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
223,\n \"completion_tokens\": 15,\n \"total_tokens\": 238,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c85fa461a4d1cf3-GRU
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Tue, 24 Sep 2024 21:48:16 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:
- '799'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=31536000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '2000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '1999744'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 7ms
x-request-id:
- req_7ea6637f8e14c2b260cce6e3e3004cbb
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CuEECiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSuAQKEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQmyMzNW62yacai6VvzgJ5EBIIPb6Vh60Op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ions:
Content-Type:
- application/x-protobuf
Date:
- Mon, 23 Sep 2024 19:49:08 GMT
- Tue, 24 Sep 2024 21:48:17 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
the title\nTo give my best complete final answer to the task use the exact following
format:\n\nThought: I now can give a great answer\nFinal Answer: Your final
answer must be the great and the most complete as possible, it must be outcome
described.\n\nI MUST use these formats, my job depends on it!"}, {"role": "user",
"content": "\nCurrent Task: Given the score the title ''The impact of AI in
the future of work'' got, give me an integer score between 1-5 for the following
title: ''Return of the Jedi'', you MUST give it a score, use your best judgment\n\nThis
is the expect criteria for your final answer: The score of the title.\nyou MUST
return the actual complete content as the final answer, not a summary.\n\nThis
is the context you''re working with:\nConsidering relevance, specificity, interest
generation, and significance, the title ''The impact of AI in the future of
work'' earns a score of 4 out of 5. It is a compelling and timely topic, but
loses a point for potential lack of uniqueness in an overcrowded discussion
space.\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-4-0125-preview"}'
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-3.5-turbo-0125", "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
@@ -355,12 +400,12 @@ interactions:
connection:
- keep-alive
content-length:
- '1353'
- '627'
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:
@@ -384,141 +429,22 @@ interactions:
method: POST
uri: https://api.openai.com/v1/chat/completions
response:
content: "{\n \"id\": \"chatcmpl-AAjLMYsumz6rYl9dSyHo5fXDCdHlk\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120944,\n \"model\": \"gpt-4-0125-preview\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: I now can give a great answer\\n\\nFinal
Answer: Given the context and applying similar criteria for scoring, 'Return
of the Jedi' as a title evokes strong recognition and interest, especially among
fans of the Star Wars franchise. It signals a significant part of a beloved
storyline and carries historical cinematic importance. However, it may lack
the specificity regarding the storyline details for those unfamiliar with the
series and may not generate interest outside its fanbase to the same extent.
Balancing between relevance, specificity, interest generation, and significance
within its genre and considering the previous score as a benchmark, 'Return
of the Jedi' earns a score of 4 out of 5. It is iconic and generates significant
interest but is somewhat niche in its appeal.\",\n \"refusal\": null\n
\ },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n
\ ],\n \"usage\": {\n \"prompt_tokens\": 280,\n \"completion_tokens\":
150,\n \"total_tokens\": 430,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0e4f7b28a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:49:10 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:
- '5470'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '2000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '1999676'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 9ms
x-request-id:
- req_ef7ac46837e7741ba1ed630010e3a141
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "user", "content": "Given the context and applying
similar criteria for scoring, ''Return of the Jedi'' as a title evokes strong
recognition and interest, especially among fans of the Star Wars franchise.
It signals a significant part of a beloved storyline and carries historical
cinematic importance. However, it may lack the specificity regarding the storyline
details for those unfamiliar with the series and may not generate interest outside
its fanbase to the same extent. Balancing between relevance, specificity, interest
generation, and significance within its genre and considering the previous score
as a benchmark, ''Return of the Jedi'' earns a score of 4 out of 5. It is iconic
and generates significant interest but is somewhat niche in its appeal."}, {"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-3.5-turbo-0125", "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
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1365'
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
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-AAjLSd7wnO4C7qKAfCllflw4n4Re0\",\n \"object\":
\"chat.completion\",\n \"created\": 1727120950,\n \"model\": \"gpt-3.5-turbo-0125\",\n
content: "{\n \"id\": \"chatcmpl-AB7gHtXxJaZ5NZiXZzc0HUAObflqc\",\n \"object\":
\"chat.completion\",\n \"created\": 1727214497,\n \"model\": \"gpt-3.5-turbo-0125\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": null,\n \"tool_calls\": [\n {\n
\ \"id\": \"call_23L1UUtKWj7uhdmLMrBINTaz\",\n \"type\":
\ \"id\": \"call_hFpl2Plo4DudP1t3SGHby2vo\",\n \"type\":
\"function\",\n \"function\": {\n \"name\": \"ScoreOutput\",\n
\ \"arguments\": \"{\\\"score\\\":4}\"\n }\n }\n
\ \"arguments\": \"{\\\"score\\\":5}\"\n }\n }\n
\ ],\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
239,\n \"completion_tokens\": 5,\n \"total_tokens\": 244,\n \"completion_tokens_details\":
103,\n \"completion_tokens\": 5,\n \"total_tokens\": 108,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7d0e737f54a4c7-MIA
- 8c85fa4cebc21cf3-GRU
Connection:
- keep-alive
Content-Encoding:
@@ -526,7 +452,7 @@ interactions:
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:49:10 GMT
- Tue, 24 Sep 2024 21:48:17 GMT
Server:
- cloudflare
Transfer-Encoding:
@@ -538,11 +464,11 @@ interactions:
openai-organization:
- crewai-iuxna1
openai-processing-ms:
- '226'
- '196'
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:
@@ -550,13 +476,13 @@ interactions:
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '49999761'
- '49999947'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_40c93d403a79de5340d4786cbabff2a8
- req_deaa35bcd479744c6ce7363ae1b27d9e
http_version: HTTP/1.1
status_code: 200
version: 1