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iAiU2NvcmVyIiwgImFnZW50X2tleSI6ICI5MmU3ZWIxOTE2NjRjOTM1Nzg1ZWQ3ZDQyNDBh
Mjk0ZCIsICJ0b29sc19uYW1lcyI6IFtdfSwgeyJrZXkiOiAiNjA5ZGVlMzkxMDg4Y2QxYzg3Yjhm
YTY2YWE2N2FkYmUiLCAiaWQiOiAiNGViMjJkZTktN2JjNy00N2NiLWI3YmQtOWM4OTYwY2YzNjM4
IiwgImFzeW5jX2V4ZWN1dGlvbj8iOiBmYWxzZSwgImh1bWFuX2lucHV0PyI6IGZhbHNlLCAiYWdl
bnRfcm9sZSI6ICJTY29yZXIiLCAiYWdlbnRfa2V5IjogIjkyZTdlYjE5MTY2NGM5MzU3ODVlZDdk
NDI0MGEyOTRkIiwgInRvb2xzX25hbWVzIjogW119XXoCGAGFAQABAAASjgIKEPTugSXqr4tAykjJ
g379un0SCAY8EkpVdy0EKgxUYXNrIENyZWF0ZWQwATmQHRQWkIr1F0HQuRQWkIr1F0ouCghjcmV3
X2tleRIiCiBkNDI2MDgzM2FiMGMyMGJiNDQ5MjJjNzk5YWE5NmI0YUoxCgdjcmV3X2lkEiYKJDdk
NzZkYTVjLTBmY2QtNGFiMi05ZDY3LWE5MTM3YTE2NTAwZUouCgh0YXNrX2tleRIiCiAyN2VmMzhj
Yzk5ZGE0YThkZWQ3MGVkNDA2ZTQ0YWI4NkoxCgd0YXNrX2lkEiYKJGZlYWJkNDc2LWIwZDMtNGIw
MS1iNjg1LTIyMGFlNGFhYTc1OHoCGAGFAQABAAA=
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '2879'
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:
- Sun, 15 Sep 2024 22:13:05 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: Give me an integer score between 1-5 for the following
title: ''The impact of AI in the future of work''\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\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", "stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '955'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-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-A7rmK1EYsNEvdRepkaytriTwGoeOc\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438384,\n \"model\": \"gpt-4-0125-preview\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: To score the title \\\"The impact
of AI in the future of work\\\" from 1 to 5 based on its quality, relevance,
and interest generation, I will consider its clarity, how intriguing it is for
an audience interested in future technology and employment trends, and its specificity
to the topic of AI's role in reshaping work environments. This title directly
addresses a significant and timely issue, suggesting a comprehensive exploration
of AI\u2019s influence on future job markets, productivity, and employment patterns.
It is broad enough to encompass various aspects yet focused enough to imply
a concentrated examination of AI. Thus, I should consider these elements to
determine its effectiveness in capturing interest and conveying the theme.\\n\\nFinal
Answer: Given its relevance, timeliness, and potential to engage a wide audience
interested in technology and the future of employment, I score the title \\\"The
impact of AI in the future of work\\\" a 4 out of 5. This score reflects its
strong appeal and significance in contemporary discussions, although it could
have been more compelling with the addition of an adjective or phrase to hint
at the nature of the impact or its detailed aspects.\",\n \"refusal\":
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 187,\n \"completion_tokens\":
227,\n \"total_tokens\": 414,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf63b8c78a4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:13:11 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:
- '7210'
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:
- '1999781'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 6ms
x-request-id:
- req_1b2b7eca87133ebf1f4eebcf9ee05225
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "user", "content": "Given its relevance, timeliness,
and potential to engage a wide audience interested in technology and the future
of employment, I score the title \"The impact of AI in the future of work\"
a 4 out of 5. This score reflects its strong appeal and significance in contemporary
discussions, although it could have been more compelling with the addition of
an adjective or phrase to hint at the nature of the impact or its detailed aspects."},
{"role": "system", "content": "I''m gonna convert this raw text into valid JSON."}],
"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:
- '965'
content-type:
- application/json
cookie:
- __cf_bm=DurtHM6fkhfkA7g799_dwsE._nuW9E9Mn9HDzyFEsYs-1726437888-1.0.1.1-UoxJT1kLoPpNnFl48ADK4A8Pqx.svT3QTAd77nzKAMBqxSFs5eS6PBa.zKCvEqW2ezsF.T2kIV.wblTuq9HIhA;
_cfuvid=WvaYlp1s5wjHZ.MS6s.ZraavPzhWyZK3jqIKIgxM4f4-1726437888389-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-A7rmRvIwgdOtvpsVVBUK0lim1TVrb\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438391,\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_Qjgnl06BwK203MN55Pol6dIG\",\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\":
168,\n \"completion_tokens\": 5,\n \"total_tokens\": 173,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf66c6ec5a4f8-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:13:12 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:
- '145'
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:
- '49999861'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_168ee4a6a69de5cd103f59bfde41d344
http_version: HTTP/1.1
status_code: 200
- request:
body: !!binary |
CuEECiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSuAQKEgoQY3Jld2FpLnRl
bGVtZXRyeRKQAgoQ7UZmYWz9dPHhSaYmr2HJ1xIINWTwqw0AbegqDlRhc2sgRXhlY3V0aW9uMAE5
2AsVFpCK9RdB4O16CpKK9RdKLgoIY3Jld19rZXkSIgogZDQyNjA4MzNhYjBjMjBiYjQ0OTIyYzc5
OWFhOTZiNGFKMQoHY3Jld19pZBImCiQ3ZDc2ZGE1Yy0wZmNkLTRhYjItOWQ2Ny1hOTEzN2ExNjUw
MGVKLgoIdGFza19rZXkSIgogMjdlZjM4Y2M5OWRhNGE4ZGVkNzBlZDQwNmU0NGFiODZKMQoHdGFz
a19pZBImCiRmZWFiZDQ3Ni1iMGQzLTRiMDEtYjY4NS0yMjBhZTRhYWE3NTh6AhgBhQEAAQAAEo4C
ChCnwCM0LGNUezBLUR8w9/LdEghwmXwCeWk0gyoMVGFzayBDcmVhdGVkMAE5qLDgCpKK9RdBIA7j
CpKK9RdKLgoIY3Jld19rZXkSIgogZDQyNjA4MzNhYjBjMjBiYjQ0OTIyYzc5OWFhOTZiNGFKMQoH
Y3Jld19pZBImCiQ3ZDc2ZGE1Yy0wZmNkLTRhYjItOWQ2Ny1hOTEzN2ExNjUwMGVKLgoIdGFza19r
ZXkSIgogNjA5ZGVlMzkxMDg4Y2QxYzg3YjhmYTY2YWE2N2FkYmVKMQoHdGFza19pZBImCiQ0ZWIy
MmRlOS03YmM3LTQ3Y2ItYjdiZC05Yzg5NjBjZjM2Mzh6AhgBhQEAAQAA
headers:
Accept:
- '*/*'
Accept-Encoding:
- gzip, deflate
Connection:
- keep-alive
Content-Length:
- '612'
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:
- Sun, 15 Sep 2024 22:13:15 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:\nGiven its relevance, timeliness, and potential
to engage a wide audience interested in technology and the future of employment,
I score the title \"The impact of AI in the future of work\" a 4 out of 5. This
score reflects its strong appeal and significance in contemporary discussions,
although it could have been more compelling with the addition of an adjective
or phrase to hint at the nature of the impact or its detailed aspects.\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",
"stop": ["\nObservation:"]}'
headers:
accept:
- application/json
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1538'
content-type:
- application/json
cookie:
- __cf_bm=xCQEG8vgEvQfut0bkj2xgre9z9ePZhdKdNxBphhvH6s-1726437753-1.0.1.1-5qo0zwDCcKDtqvIzDbp2sLEPCey8v5DAsf0Mg6f2RmooOW9FXTw2P66VCTTF.vCwTpWBIFk0vzKmBAPOt6urIg;
_cfuvid=TiTyEciy7HrUlIDEsELZqkUyM4Fyn8OldZd4JefFMOA-1726437753108-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-A7rmS2j9quR2LyvW27iLae2Fh6Pnj\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438392,\n \"model\": \"gpt-4-0125-preview\",\n
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
\"assistant\",\n \"content\": \"Thought: To score the title \\\"Return
of the Jedi\\\", I'll consider its relevance, timelessness, audience engagement
potential, and iconic status. Compared to \\\"The impact of AI in the future
of work\\\", \\\"Return of the Jedi\\\" possesses a wide appeal not just limited
to technology or employment but spans across generations of movie enthusiasts,
especially within the science fiction and fantasy genre. Its timeless nature,
being part of the Star Wars saga, further elevates its status and engagement
potential. However, considering the need for a title to be informative or indicative
of its content for educational or thought-provoking purposes, \\\"Return of
the Jedi\\\" might not provide immediate insight into its subject matter for
those unfamiliar with the series, unlike the descriptive nature of \\\"The impact
of AI in the future of work\\\". Balancing these factors with the directive
to use my best judgment, I proceed to the scoring phase.\\n\\nFinal Answer:
Given the wide appeal, cultural significance, and iconic status of \\\"Return
of the Jedi\\\" but also considering its less informative nature compared to
a more descriptive title like \\\"The impact of AI in the future of work\\\",
I score \\\"Return of the Jedi\\\" a 4 out of 5. This score reflects its immense
popularity and ability to engage a broad audience while acknowledging a slight
limitation in immediate informational clarity for those outside the Star Wars
fanbase.\",\n \"refusal\": null\n },\n \"logprobs\": null,\n
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
307,\n \"completion_tokens\": 273,\n \"total_tokens\": 580,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf67009f7a4ca-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:13:21 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:
- '9336'
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:
- '1999637'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 10ms
x-request-id:
- req_17ffaf0dfe381ad6153d2ecf9b94a400
http_version: HTTP/1.1
status_code: 200
- request:
body: '{"messages": [{"role": "user", "content": "Given the wide appeal, cultural
significance, and iconic status of \"Return of the Jedi\" but also considering
its less informative nature compared to a more descriptive title like \"The
impact of AI in the future of work\", I score \"Return of the Jedi\" a 4 out
of 5. This score reflects its immense popularity and ability to engage a broad
audience while acknowledging a slight limitation in immediate informational
clarity for those outside the Star Wars fanbase."}, {"role": "system", "content":
"I''m gonna convert this raw text into valid JSON."}], "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:
- '997'
content-type:
- application/json
cookie:
- __cf_bm=DurtHM6fkhfkA7g799_dwsE._nuW9E9Mn9HDzyFEsYs-1726437888-1.0.1.1-UoxJT1kLoPpNnFl48ADK4A8Pqx.svT3QTAd77nzKAMBqxSFs5eS6PBa.zKCvEqW2ezsF.T2kIV.wblTuq9HIhA;
_cfuvid=WvaYlp1s5wjHZ.MS6s.ZraavPzhWyZK3jqIKIgxM4f4-1726437888389-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-A7rmcBhCWwmBCvR4VUK3lxF75J8kK\",\n \"object\":
\"chat.completion\",\n \"created\": 1726438402,\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_2dqg8FRxoCyM8wo81ehqh8Nm\",\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\":
172,\n \"completion_tokens\": 5,\n \"total_tokens\": 177,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": null\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c3bf6ae5eff9071-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Sun, 15 Sep 2024 22:13:22 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:
- '148'
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:
- '49999853'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_17177b961b484fb61b474b04858bdd5b
http_version: HTTP/1.1
status_code: 200
version: 1