mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-05-02 07:42:40 +00:00
Adding VCr and cassetes
This commit is contained in:
677
tests/cassettes/test_crew_with_delegating_agents.yaml
Normal file
677
tests/cassettes/test_crew_with_delegating_agents.yaml
Normal file
@@ -0,0 +1,677 @@
|
||||
interactions:
|
||||
- request:
|
||||
body: '{"messages": [{"role": "user", "content": "You are CEO.\nYou''re an long
|
||||
time CEO of a content creation agency with a Senior Writer on the team. You''re
|
||||
now working on a new project and want to make sure the content produced is amazing.\n\nYour
|
||||
personal goal is: Make sure the writers in your company produce amazing content.\n\nTOOLS:\n------\nYou
|
||||
have access to the following tools:\n\nDelegate Work to Co-Worker: Useful to
|
||||
delegate a specific task to one of the \n\t\t\t\tfollowing co-workers: [CEO,
|
||||
Senior Writer].\n\t\t\t\tThe input to this tool should be a pipe (|) separated
|
||||
text of length\n\t\t\t\tthree, representing the role you want to delegate it
|
||||
to, the task and \n\t\t\t\tinformation necessary. For example, `coworker|task|information`.\n\nAsk
|
||||
Question to Co-Worker: Useful to ask a question, opinion or take from on\n\t\t\t\tof
|
||||
the following co-workers: [CEO, Senior Writer]. \n\t\t\t\tThe input to this
|
||||
tool should be a pipe (|) separated text of length \n\t\t\t\tthree, representing
|
||||
the role you want to ask it to, the question and \n\t\t\t\tinformation necessary.
|
||||
For example, `coworker|question|information`.\n\n\nTo use a tool, please use
|
||||
the exact following format:\n\n```\nThought: Do I need to use a tool? Yes\nAction:
|
||||
the action to take, should be one of [Delegate Work to Co-Worker, Ask Question
|
||||
to Co-Worker]\nAction Input: the input to the action\nObservation: the result
|
||||
of the action\n```\n\nWhen you have a response for your task, or if you do not
|
||||
need to use a tool, you MUST use the format:\n\n```\nThought: Do I need to use
|
||||
a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis is the summary
|
||||
of your work so far:\n \nBegin! This is VERY important to you, your job depends
|
||||
on it!\n\nCurrent Task: Produce and amazing 1 paragraph draft of an article
|
||||
about AI Agents.\n\n"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"],
|
||||
"stream": false, "temperature": 0.7}'
|
||||
headers:
|
||||
accept:
|
||||
- application/json
|
||||
accept-encoding:
|
||||
- gzip, deflate
|
||||
connection:
|
||||
- keep-alive
|
||||
content-length:
|
||||
- '1907'
|
||||
content-type:
|
||||
- application/json
|
||||
host:
|
||||
- api.openai.com
|
||||
user-agent:
|
||||
- OpenAI/Python 1.6.0
|
||||
x-stainless-arch:
|
||||
- arm64
|
||||
x-stainless-async:
|
||||
- 'false'
|
||||
x-stainless-lang:
|
||||
- python
|
||||
x-stainless-os:
|
||||
- MacOS
|
||||
x-stainless-package-version:
|
||||
- 1.6.0
|
||||
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-8XwL0C0AeNFxBDtNxKvF4g4SpBHMy\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1703099766,\n \"model\": \"gpt-4-0613\",\n
|
||||
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
||||
\"assistant\",\n \"content\": \"Thought: Do I need to use a tool? Yes\\nAction:
|
||||
Delegate Work to Co-Worker\\nAction Input: Senior Writer|Create a compelling
|
||||
and engaging 1 paragraph draft of an article about AI Agents|Provide a brief
|
||||
yet comprehensive overview of AI agents, their uses, and implications in the
|
||||
current world. Make sure to emphasize their potential and the role they can
|
||||
play in the future. The tone should be informative but captivating. \"\n },\n
|
||||
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
|
||||
\ \"usage\": {\n \"prompt_tokens\": 415,\n \"completion_tokens\": 88,\n
|
||||
\ \"total_tokens\": 503\n },\n \"system_fingerprint\": null\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 838a37c488c8a51d-GRU
|
||||
Cache-Control:
|
||||
- no-cache, must-revalidate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Wed, 20 Dec 2023 19:16:16 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=o0Hi1R.X9SlINxIJTVmbndjXrZ0hKGumMHX9teXwypc-1703099776-1-AYizrWsw5e5xpAQYK2ILXGT8XFsMG/cUywCKEtgqcBAn361e23iU23y2rsxZge9SVmHfbz+ltf8zup2qIqhAfWM=;
|
||||
path=/; expires=Wed, 20-Dec-23 19:46:16 GMT; domain=.api.openai.com; HttpOnly;
|
||||
Secure; SameSite=None
|
||||
- _cfuvid=ps.JYe.5DT5QaG1hDuUb70tnVJo8IPWJrGrGEO_HUYA-1703099776177-0-604800000;
|
||||
path=/; domain=.api.openai.com; HttpOnly; Secure; SameSite=None
|
||||
Transfer-Encoding:
|
||||
- chunked
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
openai-model:
|
||||
- gpt-4-0613
|
||||
openai-organization:
|
||||
- user-z7g4wmlazxqvc5wjyaaaocfz
|
||||
openai-processing-ms:
|
||||
- '9246'
|
||||
openai-version:
|
||||
- '2020-10-01'
|
||||
strict-transport-security:
|
||||
- max-age=15724800; includeSubDomains
|
||||
x-ratelimit-limit-requests:
|
||||
- '10000'
|
||||
x-ratelimit-limit-tokens:
|
||||
- '300000'
|
||||
x-ratelimit-limit-tokens_usage_based:
|
||||
- '300000'
|
||||
x-ratelimit-remaining-requests:
|
||||
- '9999'
|
||||
x-ratelimit-remaining-tokens:
|
||||
- '299559'
|
||||
x-ratelimit-remaining-tokens_usage_based:
|
||||
- '299559'
|
||||
x-ratelimit-reset-requests:
|
||||
- 6ms
|
||||
x-ratelimit-reset-tokens:
|
||||
- 88ms
|
||||
x-ratelimit-reset-tokens_usage_based:
|
||||
- 88ms
|
||||
x-request-id:
|
||||
- a893482a313d58b1b40f4af679855361
|
||||
http_version: HTTP/1.1
|
||||
status_code: 200
|
||||
- request:
|
||||
body: '{"messages": [{"role": "user", "content": "You are Senior Writer.\nYou''re
|
||||
a senior writer, specialized in technology, software engineering, AI and startups.
|
||||
You work as a freelancer and are now working on writing content for a new customer.\n\nYour
|
||||
personal goal is: Write the best content about AI and AI agents.\n\nTOOLS:\n------\nYou
|
||||
have access to the following tools:\n\n\n\nTo use a tool, please use the exact
|
||||
following format:\n\n```\nThought: Do I need to use a tool? Yes\nAction: the
|
||||
action to take, should be one of []\nAction Input: the input to the action\nObservation:
|
||||
the result of the action\n```\n\nWhen you have a response for your task, or
|
||||
if you do not need to use a tool, you MUST use the format:\n\n```\nThought:
|
||||
Do I need to use a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis
|
||||
is the summary of your work so far:\n The human asks the AI to write a paragraph
|
||||
for each of five AI-related topics, highlighting how each could make for an
|
||||
interesting article. The proposed topics are: the history of AI, AI''s role
|
||||
in healthcare, ethical considerations in AI, understanding AI algorithms, and
|
||||
AI startups. The AI provides detailed overviews for each topic, emphasizing
|
||||
the evolution and impact of AI, the transformative role of AI in healthcare,
|
||||
the ethical dilemmas faced in AI development and use, the intricacies of AI
|
||||
algorithms, and the pioneering role of AI startups in the tech industry.\nBegin!
|
||||
This is VERY important to you, your job depends on it!\n\nCurrent Task: Create
|
||||
a compelling and engaging 1 paragraph draft of an article about AI Agents\n\nThis
|
||||
is the context you are working with:\nProvide a brief yet comprehensive overview
|
||||
of AI agents, their uses, and implications in the current world. Make sure to
|
||||
emphasize their potential and the role they can play in the future. The tone
|
||||
should be informative but captivating.\n\n"}], "model": "gpt-4", "n": 1, "stop":
|
||||
["\nObservation"], "stream": false, "temperature": 0.7}'
|
||||
headers:
|
||||
accept:
|
||||
- application/json
|
||||
accept-encoding:
|
||||
- gzip, deflate
|
||||
connection:
|
||||
- keep-alive
|
||||
content-length:
|
||||
- '1969'
|
||||
content-type:
|
||||
- application/json
|
||||
cookie:
|
||||
- _cfuvid=qVpxYVGQ_iwAkrQrePYbf52GMURpsQ__qprXXMk79wI-1703091772665-0-604800000
|
||||
host:
|
||||
- api.openai.com
|
||||
user-agent:
|
||||
- OpenAI/Python 1.6.0
|
||||
x-stainless-arch:
|
||||
- arm64
|
||||
x-stainless-async:
|
||||
- 'false'
|
||||
x-stainless-lang:
|
||||
- python
|
||||
x-stainless-os:
|
||||
- MacOS
|
||||
x-stainless-package-version:
|
||||
- 1.6.0
|
||||
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-8XwLAvsNLsRlvTVGewBsy2sHjUuvo\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1703099776,\n \"model\": \"gpt-4-0613\",\n
|
||||
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
||||
\"assistant\",\n \"content\": \"Thought: Do I need to use a tool? No\\n\\nFinal
|
||||
Answer: \\\"AI agents, the digital masterminds at the heart of the 21st-century
|
||||
revolution, are shaping a new era of intelligence and innovation. They are autonomous
|
||||
entities, capable of observing their environment, making decisions, and acting
|
||||
on them, all in pursuit of a specific goal. From streamlining operations in
|
||||
logistics to personalizing customer experiences in retail, AI agents are transforming
|
||||
how businesses operate. But their potential extends far beyond the corporate
|
||||
world. They are the sentinels protecting our digital frontiers, the virtual
|
||||
assistants making our lives easier, and the unseen hands guiding autonomous
|
||||
vehicles. As this technology evolves, AI agents will play an increasingly central
|
||||
role in our world, ushering in an era of unprecedented efficiency, personalization,
|
||||
and productivity. But with great power comes great responsibility, and understanding
|
||||
and harnessing this potential responsibly will be one of our greatest challenges
|
||||
and opportunities in the coming years.\\\"\"\n },\n \"logprobs\":
|
||||
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
||||
391,\n \"completion_tokens\": 194,\n \"total_tokens\": 585\n },\n \"system_fingerprint\":
|
||||
null\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 838a3801ecc3a632-GRU
|
||||
Cache-Control:
|
||||
- no-cache, must-revalidate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Wed, 20 Dec 2023 19:16:33 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Set-Cookie:
|
||||
- __cf_bm=lM319LPDEnvF96Mm4S90dEPrAGj1BHp.EoL8Zh1oCkU-1703099793-1-AS7kVNRnez1R9AZHZcWMDEIHZ3+Ay1dO+6ucbsMG+Euq+B+uku7GPY+Yz9hBZVDn+UTIJAw5aBsQH3U34sHaie4=;
|
||||
path=/; expires=Wed, 20-Dec-23 19:46:33 GMT; domain=.api.openai.com; HttpOnly;
|
||||
Secure; SameSite=None
|
||||
Transfer-Encoding:
|
||||
- chunked
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
openai-model:
|
||||
- gpt-4-0613
|
||||
openai-organization:
|
||||
- user-z7g4wmlazxqvc5wjyaaaocfz
|
||||
openai-processing-ms:
|
||||
- '16857'
|
||||
openai-version:
|
||||
- '2020-10-01'
|
||||
strict-transport-security:
|
||||
- max-age=15724800; includeSubDomains
|
||||
x-ratelimit-limit-requests:
|
||||
- '10000'
|
||||
x-ratelimit-limit-tokens:
|
||||
- '300000'
|
||||
x-ratelimit-limit-tokens_usage_based:
|
||||
- '300000'
|
||||
x-ratelimit-remaining-requests:
|
||||
- '9999'
|
||||
x-ratelimit-remaining-tokens:
|
||||
- '299534'
|
||||
x-ratelimit-remaining-tokens_usage_based:
|
||||
- '299534'
|
||||
x-ratelimit-reset-requests:
|
||||
- 6ms
|
||||
x-ratelimit-reset-tokens:
|
||||
- 93ms
|
||||
x-ratelimit-reset-tokens_usage_based:
|
||||
- 93ms
|
||||
x-request-id:
|
||||
- d158efaaade6655137aaa299ea674831
|
||||
http_version: HTTP/1.1
|
||||
status_code: 200
|
||||
- request:
|
||||
body: '{"messages": [{"role": "user", "content": "Progressively summarize the
|
||||
lines of conversation provided, adding onto the previous summary returning a
|
||||
new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks
|
||||
of artificial intelligence. The AI thinks artificial intelligence is a force
|
||||
for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial
|
||||
intelligence is a force for good?\nAI: Because artificial intelligence will
|
||||
help humans reach their full potential.\n\nNew summary:\nThe human asks what
|
||||
the AI thinks of artificial intelligence. The AI thinks artificial intelligence
|
||||
is a force for good because it will help humans reach their full potential.\nEND
|
||||
OF EXAMPLE\n\nCurrent summary:\nThe human asks the AI to write a paragraph for
|
||||
each of five AI-related topics, highlighting how each could make for an interesting
|
||||
article. The proposed topics are: the history of AI, AI''s role in healthcare,
|
||||
ethical considerations in AI, understanding AI algorithms, and AI startups.
|
||||
The AI provides detailed overviews for each topic, emphasizing the evolution
|
||||
and impact of AI, the transformative role of AI in healthcare, the ethical dilemmas
|
||||
faced in AI development and use, the intricacies of AI algorithms, and the pioneering
|
||||
role of AI startups in the tech industry.\n\nNew lines of conversation:\nHuman:
|
||||
Create a compelling and engaging 1 paragraph draft of an article about AI Agents\n\nThis
|
||||
is the context you are working with:\nProvide a brief yet comprehensive overview
|
||||
of AI agents, their uses, and implications in the current world. Make sure to
|
||||
emphasize their potential and the role they can play in the future. The tone
|
||||
should be informative but captivating.\nAI: \"AI agents, the digital masterminds
|
||||
at the heart of the 21st-century revolution, are shaping a new era of intelligence
|
||||
and innovation. They are autonomous entities, capable of observing their environment,
|
||||
making decisions, and acting on them, all in pursuit of a specific goal. From
|
||||
streamlining operations in logistics to personalizing customer experiences in
|
||||
retail, AI agents are transforming how businesses operate. But their potential
|
||||
extends far beyond the corporate world. They are the sentinels protecting our
|
||||
digital frontiers, the virtual assistants making our lives easier, and the unseen
|
||||
hands guiding autonomous vehicles. As this technology evolves, AI agents will
|
||||
play an increasingly central role in our world, ushering in an era of unprecedented
|
||||
efficiency, personalization, and productivity. But with great power comes great
|
||||
responsibility, and understanding and harnessing this potential responsibly
|
||||
will be one of our greatest challenges and opportunities in the coming years.\"\n\nNew
|
||||
summary:"}], "model": "gpt-4", "n": 1, "stream": false, "temperature": 0.7}'
|
||||
headers:
|
||||
accept:
|
||||
- application/json
|
||||
accept-encoding:
|
||||
- gzip, deflate
|
||||
connection:
|
||||
- keep-alive
|
||||
content-length:
|
||||
- '2786'
|
||||
content-type:
|
||||
- application/json
|
||||
cookie:
|
||||
- _cfuvid=qVpxYVGQ_iwAkrQrePYbf52GMURpsQ__qprXXMk79wI-1703091772665-0-604800000;
|
||||
__cf_bm=lM319LPDEnvF96Mm4S90dEPrAGj1BHp.EoL8Zh1oCkU-1703099793-1-AS7kVNRnez1R9AZHZcWMDEIHZ3+Ay1dO+6ucbsMG+Euq+B+uku7GPY+Yz9hBZVDn+UTIJAw5aBsQH3U34sHaie4=
|
||||
host:
|
||||
- api.openai.com
|
||||
user-agent:
|
||||
- OpenAI/Python 1.6.0
|
||||
x-stainless-arch:
|
||||
- arm64
|
||||
x-stainless-async:
|
||||
- 'false'
|
||||
x-stainless-lang:
|
||||
- python
|
||||
x-stainless-os:
|
||||
- MacOS
|
||||
x-stainless-package-version:
|
||||
- 1.6.0
|
||||
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-8XwLRKqCp8gf0ELMrLkRepygaoLrI\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1703099793,\n \"model\": \"gpt-4-0613\",\n
|
||||
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
||||
\"assistant\",\n \"content\": \"The human asks the AI to write a paragraph
|
||||
for each of five AI-related topics: the history of AI, AI's role in healthcare,
|
||||
ethical considerations in AI, understanding AI algorithms, and AI startups.
|
||||
The AI provides detailed overviews for each topic, emphasizing the evolution
|
||||
and impact of AI, the transformative role of AI in healthcare, the ethical dilemmas
|
||||
faced in AI development and use, the intricacies of AI algorithms, and the pioneering
|
||||
role of AI startups in the tech industry. The human then asks the AI to draft
|
||||
a paragraph about AI Agents. The AI creates an engaging overview of AI agents,
|
||||
discussing their roles, potential, and implications in the current world, highlighting
|
||||
their transformative impact on various sectors and their potential for the future
|
||||
while noting the importance of responsibly harnessing this potential.\"\n },\n
|
||||
\ \"logprobs\": null,\n \"finish_reason\": \"stop\"\n }\n ],\n
|
||||
\ \"usage\": {\n \"prompt_tokens\": 498,\n \"completion_tokens\": 158,\n
|
||||
\ \"total_tokens\": 656\n },\n \"system_fingerprint\": null\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 838a386d398da632-GRU
|
||||
Cache-Control:
|
||||
- no-cache, must-revalidate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Wed, 20 Dec 2023 19:16:50 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Transfer-Encoding:
|
||||
- chunked
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
openai-model:
|
||||
- gpt-4-0613
|
||||
openai-organization:
|
||||
- user-z7g4wmlazxqvc5wjyaaaocfz
|
||||
openai-processing-ms:
|
||||
- '16935'
|
||||
openai-version:
|
||||
- '2020-10-01'
|
||||
strict-transport-security:
|
||||
- max-age=15724800; includeSubDomains
|
||||
x-ratelimit-limit-requests:
|
||||
- '10000'
|
||||
x-ratelimit-limit-tokens:
|
||||
- '300000'
|
||||
x-ratelimit-limit-tokens_usage_based:
|
||||
- '300000'
|
||||
x-ratelimit-remaining-requests:
|
||||
- '9999'
|
||||
x-ratelimit-remaining-tokens:
|
||||
- '299320'
|
||||
x-ratelimit-remaining-tokens_usage_based:
|
||||
- '299320'
|
||||
x-ratelimit-reset-requests:
|
||||
- 6ms
|
||||
x-ratelimit-reset-tokens:
|
||||
- 136ms
|
||||
x-ratelimit-reset-tokens_usage_based:
|
||||
- 136ms
|
||||
x-request-id:
|
||||
- c4705d7c284541ec74df0a25eb51aa7f
|
||||
http_version: HTTP/1.1
|
||||
status_code: 200
|
||||
- request:
|
||||
body: '{"messages": [{"role": "user", "content": "You are CEO.\nYou''re an long
|
||||
time CEO of a content creation agency with a Senior Writer on the team. You''re
|
||||
now working on a new project and want to make sure the content produced is amazing.\n\nYour
|
||||
personal goal is: Make sure the writers in your company produce amazing content.\n\nTOOLS:\n------\nYou
|
||||
have access to the following tools:\n\nDelegate Work to Co-Worker: Useful to
|
||||
delegate a specific task to one of the \n\t\t\t\tfollowing co-workers: [CEO,
|
||||
Senior Writer].\n\t\t\t\tThe input to this tool should be a pipe (|) separated
|
||||
text of length\n\t\t\t\tthree, representing the role you want to delegate it
|
||||
to, the task and \n\t\t\t\tinformation necessary. For example, `coworker|task|information`.\n\nAsk
|
||||
Question to Co-Worker: Useful to ask a question, opinion or take from on\n\t\t\t\tof
|
||||
the following co-workers: [CEO, Senior Writer]. \n\t\t\t\tThe input to this
|
||||
tool should be a pipe (|) separated text of length \n\t\t\t\tthree, representing
|
||||
the role you want to ask it to, the question and \n\t\t\t\tinformation necessary.
|
||||
For example, `coworker|question|information`.\n\n\nTo use a tool, please use
|
||||
the exact following format:\n\n```\nThought: Do I need to use a tool? Yes\nAction:
|
||||
the action to take, should be one of [Delegate Work to Co-Worker, Ask Question
|
||||
to Co-Worker]\nAction Input: the input to the action\nObservation: the result
|
||||
of the action\n```\n\nWhen you have a response for your task, or if you do not
|
||||
need to use a tool, you MUST use the format:\n\n```\nThought: Do I need to use
|
||||
a tool? No\nFinal Answer: [your response here]\n```\n\t\tThis is the summary
|
||||
of your work so far:\n \nBegin! This is VERY important to you, your job depends
|
||||
on it!\n\nCurrent Task: Produce and amazing 1 paragraph draft of an article
|
||||
about AI Agents.\nThought: Do I need to use a tool? Yes\nAction: Delegate Work
|
||||
to Co-Worker\nAction Input: Senior Writer|Create a compelling and engaging 1
|
||||
paragraph draft of an article about AI Agents|Provide a brief yet comprehensive
|
||||
overview of AI agents, their uses, and implications in the current world. Make
|
||||
sure to emphasize their potential and the role they can play in the future.
|
||||
The tone should be informative but captivating. \nObservation: \"AI agents,
|
||||
the digital masterminds at the heart of the 21st-century revolution, are shaping
|
||||
a new era of intelligence and innovation. They are autonomous entities, capable
|
||||
of observing their environment, making decisions, and acting on them, all in
|
||||
pursuit of a specific goal. From streamlining operations in logistics to personalizing
|
||||
customer experiences in retail, AI agents are transforming how businesses operate.
|
||||
But their potential extends far beyond the corporate world. They are the sentinels
|
||||
protecting our digital frontiers, the virtual assistants making our lives easier,
|
||||
and the unseen hands guiding autonomous vehicles. As this technology evolves,
|
||||
AI agents will play an increasingly central role in our world, ushering in an
|
||||
era of unprecedented efficiency, personalization, and productivity. But with
|
||||
great power comes great responsibility, and understanding and harnessing this
|
||||
potential responsibly will be one of our greatest challenges and opportunities
|
||||
in the coming years.\"\nThought: \n"}], "model": "gpt-4", "n": 1, "stop": ["\nObservation"],
|
||||
"stream": false, "temperature": 0.7}'
|
||||
headers:
|
||||
accept:
|
||||
- application/json
|
||||
accept-encoding:
|
||||
- gzip, deflate
|
||||
connection:
|
||||
- keep-alive
|
||||
content-length:
|
||||
- '3352'
|
||||
content-type:
|
||||
- application/json
|
||||
cookie:
|
||||
- __cf_bm=o0Hi1R.X9SlINxIJTVmbndjXrZ0hKGumMHX9teXwypc-1703099776-1-AYizrWsw5e5xpAQYK2ILXGT8XFsMG/cUywCKEtgqcBAn361e23iU23y2rsxZge9SVmHfbz+ltf8zup2qIqhAfWM=;
|
||||
_cfuvid=ps.JYe.5DT5QaG1hDuUb70tnVJo8IPWJrGrGEO_HUYA-1703099776177-0-604800000
|
||||
host:
|
||||
- api.openai.com
|
||||
user-agent:
|
||||
- OpenAI/Python 1.6.0
|
||||
x-stainless-arch:
|
||||
- arm64
|
||||
x-stainless-async:
|
||||
- 'false'
|
||||
x-stainless-lang:
|
||||
- python
|
||||
x-stainless-os:
|
||||
- MacOS
|
||||
x-stainless-package-version:
|
||||
- 1.6.0
|
||||
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-8XwLixNfdsK3l1iSw7Uf11mrHwOwr\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1703099810,\n \"model\": \"gpt-4-0613\",\n
|
||||
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
||||
\"assistant\",\n \"content\": \"Do I need to use a tool? No\\nFinal Answer:
|
||||
The Senior Writer has created a compelling and engaging 1 paragraph draft about
|
||||
AI agents. The paragraph provides a brief yet comprehensive overview of AI agents,
|
||||
their uses, and implications in the current world. It emphasizes their potential
|
||||
and the role they can play in the future. The tone is informative but captivating,
|
||||
meeting the objectives of the task.\"\n },\n \"logprobs\": null,\n
|
||||
\ \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
|
||||
688,\n \"completion_tokens\": 80,\n \"total_tokens\": 768\n },\n \"system_fingerprint\":
|
||||
null\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 838a38d99b590199-GRU
|
||||
Cache-Control:
|
||||
- no-cache, must-revalidate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Wed, 20 Dec 2023 19:17:02 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Transfer-Encoding:
|
||||
- chunked
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
openai-model:
|
||||
- gpt-4-0613
|
||||
openai-organization:
|
||||
- user-z7g4wmlazxqvc5wjyaaaocfz
|
||||
openai-processing-ms:
|
||||
- '11599'
|
||||
openai-version:
|
||||
- '2020-10-01'
|
||||
strict-transport-security:
|
||||
- max-age=15724800; includeSubDomains
|
||||
x-ratelimit-limit-requests:
|
||||
- '10000'
|
||||
x-ratelimit-limit-tokens:
|
||||
- '300000'
|
||||
x-ratelimit-limit-tokens_usage_based:
|
||||
- '300000'
|
||||
x-ratelimit-remaining-requests:
|
||||
- '9999'
|
||||
x-ratelimit-remaining-tokens:
|
||||
- '299200'
|
||||
x-ratelimit-remaining-tokens_usage_based:
|
||||
- '299200'
|
||||
x-ratelimit-reset-requests:
|
||||
- 6ms
|
||||
x-ratelimit-reset-tokens:
|
||||
- 160ms
|
||||
x-ratelimit-reset-tokens_usage_based:
|
||||
- 160ms
|
||||
x-request-id:
|
||||
- 91515805acf37358b0e3b73fa4b302ed
|
||||
http_version: HTTP/1.1
|
||||
status_code: 200
|
||||
- request:
|
||||
body: '{"messages": [{"role": "user", "content": "Progressively summarize the
|
||||
lines of conversation provided, adding onto the previous summary returning a
|
||||
new summary.\n\nEXAMPLE\nCurrent summary:\nThe human asks what the AI thinks
|
||||
of artificial intelligence. The AI thinks artificial intelligence is a force
|
||||
for good.\n\nNew lines of conversation:\nHuman: Why do you think artificial
|
||||
intelligence is a force for good?\nAI: Because artificial intelligence will
|
||||
help humans reach their full potential.\n\nNew summary:\nThe human asks what
|
||||
the AI thinks of artificial intelligence. The AI thinks artificial intelligence
|
||||
is a force for good because it will help humans reach their full potential.\nEND
|
||||
OF EXAMPLE\n\nCurrent summary:\n\n\nNew lines of conversation:\nHuman: Produce
|
||||
and amazing 1 paragraph draft of an article about AI Agents.\nAI: The Senior
|
||||
Writer has created a compelling and engaging 1 paragraph draft about AI agents.
|
||||
The paragraph provides a brief yet comprehensive overview of AI agents, their
|
||||
uses, and implications in the current world. It emphasizes their potential and
|
||||
the role they can play in the future. The tone is informative but captivating,
|
||||
meeting the objectives of the task.\n\nNew summary:"}], "model": "gpt-4", "n":
|
||||
1, "stream": false, "temperature": 0.7}'
|
||||
headers:
|
||||
accept:
|
||||
- application/json
|
||||
accept-encoding:
|
||||
- gzip, deflate
|
||||
connection:
|
||||
- keep-alive
|
||||
content-length:
|
||||
- '1282'
|
||||
content-type:
|
||||
- application/json
|
||||
cookie:
|
||||
- __cf_bm=o0Hi1R.X9SlINxIJTVmbndjXrZ0hKGumMHX9teXwypc-1703099776-1-AYizrWsw5e5xpAQYK2ILXGT8XFsMG/cUywCKEtgqcBAn361e23iU23y2rsxZge9SVmHfbz+ltf8zup2qIqhAfWM=;
|
||||
_cfuvid=ps.JYe.5DT5QaG1hDuUb70tnVJo8IPWJrGrGEO_HUYA-1703099776177-0-604800000
|
||||
host:
|
||||
- api.openai.com
|
||||
user-agent:
|
||||
- OpenAI/Python 1.6.0
|
||||
x-stainless-arch:
|
||||
- arm64
|
||||
x-stainless-async:
|
||||
- 'false'
|
||||
x-stainless-lang:
|
||||
- python
|
||||
x-stainless-os:
|
||||
- MacOS
|
||||
x-stainless-package-version:
|
||||
- 1.6.0
|
||||
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-8XwLutLT441lOLap9gUd0ttpfvq8b\",\n \"object\":
|
||||
\"chat.completion\",\n \"created\": 1703099822,\n \"model\": \"gpt-4-0613\",\n
|
||||
\ \"choices\": [\n {\n \"index\": 0,\n \"message\": {\n \"role\":
|
||||
\"assistant\",\n \"content\": \"The human asks the AI to produce a draft
|
||||
of an article about AI agents. The AI responds by creating a compelling and
|
||||
engaging paragraph that provides a comprehensive overview of AI agents, their
|
||||
uses, and implications in the current world, emphasizing their potential future
|
||||
role.\"\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
|
||||
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 219,\n \"completion_tokens\":
|
||||
51,\n \"total_tokens\": 270\n },\n \"system_fingerprint\": null\n}\n"
|
||||
headers:
|
||||
CF-Cache-Status:
|
||||
- DYNAMIC
|
||||
CF-RAY:
|
||||
- 838a39248aa10199-GRU
|
||||
Cache-Control:
|
||||
- no-cache, must-revalidate
|
||||
Connection:
|
||||
- keep-alive
|
||||
Content-Encoding:
|
||||
- gzip
|
||||
Content-Type:
|
||||
- application/json
|
||||
Date:
|
||||
- Wed, 20 Dec 2023 19:17:10 GMT
|
||||
Server:
|
||||
- cloudflare
|
||||
Transfer-Encoding:
|
||||
- chunked
|
||||
access-control-allow-origin:
|
||||
- '*'
|
||||
alt-svc:
|
||||
- h3=":443"; ma=86400
|
||||
openai-model:
|
||||
- gpt-4-0613
|
||||
openai-organization:
|
||||
- user-z7g4wmlazxqvc5wjyaaaocfz
|
||||
openai-processing-ms:
|
||||
- '7304'
|
||||
openai-version:
|
||||
- '2020-10-01'
|
||||
strict-transport-security:
|
||||
- max-age=15724800; includeSubDomains
|
||||
x-ratelimit-limit-requests:
|
||||
- '10000'
|
||||
x-ratelimit-limit-tokens:
|
||||
- '300000'
|
||||
x-ratelimit-limit-tokens_usage_based:
|
||||
- '300000'
|
||||
x-ratelimit-remaining-requests:
|
||||
- '9999'
|
||||
x-ratelimit-remaining-tokens:
|
||||
- '299695'
|
||||
x-ratelimit-remaining-tokens_usage_based:
|
||||
- '299695'
|
||||
x-ratelimit-reset-requests:
|
||||
- 6ms
|
||||
x-ratelimit-reset-tokens:
|
||||
- 61ms
|
||||
x-ratelimit-reset-tokens_usage_based:
|
||||
- 61ms
|
||||
x-request-id:
|
||||
- 70b697c208659cf5af8ff46e2fc0ab69
|
||||
http_version: HTTP/1.1
|
||||
status_code: 200
|
||||
version: 1
|
||||
Reference in New Issue
Block a user