Files
crewAI/tests/agent_tools/cassettes/test_delegate_work.yaml
2024-09-23 17:45:20 -03:00

134 lines
6.2 KiB
YAML

interactions:
- request:
body: '{"messages": [{"role": "system", "content": "You are researcher. You''re
an expert researcher, specialized in technology\nYour personal goal is: make
the best research and analysis on content about AI and AI agents\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: share your take on AI Agents\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:\nI heard you hate
them\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
accept-encoding:
- gzip, deflate
connection:
- keep-alive
content-length:
- '1027'
content-type:
- application/json
cookie:
- __cf_bm=4rzJDR3F8S3Dp4B_qwylZU0mdm_WUwmv8vNHHp3IplM-1727119501-1.0.1.1-qobO_Sf88yG1qtXFnLgykvyc9YXR_fm1J7ZpXIhvtynVnsz67Uwcf4122PgHs4GMrlvZMaL6z_UVcVYSYUJOKQ;
_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-AAj5GtLyNeoi362hyl2GJiMrzptj5\",\n \"object\":
\"chat.completion\",\n \"created\": 1727119946,\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: While I understand the concerns and skepticism surrounding AI agents,
I wouldn't say that I hate them. My standpoint is more nuanced. AI agents, which
are software entities that perform tasks autonomously using machine learning
and other AI technologies, have tremendous potential to revolutionize various
sectors.\\n\\nOn the positive side, AI agents can significantly enhance efficiency
and productivity. For example, in customer service, AI agents can handle routine
inquiries, allowing human agents to focus on more complex issues. In healthcare,
they can assist in diagnosing diseases, thus speeding up the decision-making
process and potentially saving lives. In finance, AI agents can automate trading,
detect fraudulent activities, and provide personalized financial advice.\\n\\nHowever,
there are legitimate concerns that need to be addressed. One major issue is
the ethical implications of deploying AI agents. These include data privacy,
biases in decision-making algorithms, and the lack of transparency in how these
agents operate. Another concern is the potential job displacement that could
result from increased automation. While AI agents can handle many tasks more
efficiently than humans, this could lead to significant job losses in certain
sectors.\\n\\nMoreover, there's the matter of reliability and accountability.
AI agents, despite their advanced capabilities, are not infallible. They can
make mistakes, and when they do, it can be challenging to pinpoint where things
went wrong and who is responsible. This raises important questions about oversight
and governance.\\n\\nIn summary, while I am cautious about the unchecked deployment
of AI agents due to these ethical and practical concerns, I also recognize their
potential to bring about significant positive changes. The key lies in finding
a balanced approach that maximizes their benefits while mitigating their risks.
This includes rigorous testing, continuous monitoring, and establishing clear
ethical guidelines and policies to govern their use. \\n\\nBy addressing these
challenges head-on, we can harness the power of AI agents in a way that is both
innovative and responsible.\",\n \"refusal\": null\n },\n \"logprobs\":
null,\n \"finish_reason\": \"stop\"\n }\n ],\n \"usage\": {\n \"prompt_tokens\":
200,\n \"completion_tokens\": 385,\n \"total_tokens\": 585,\n \"completion_tokens_details\":
{\n \"reasoning_tokens\": 0\n }\n },\n \"system_fingerprint\": \"fp_3537616b13\"\n}\n"
headers:
CF-Cache-Status:
- DYNAMIC
CF-RAY:
- 8c7cf5ec6ff1a4c7-MIA
Connection:
- keep-alive
Content-Encoding:
- gzip
Content-Type:
- application/json
Date:
- Mon, 23 Sep 2024 19:32:33 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:
- '7793'
openai-version:
- '2020-10-01'
strict-transport-security:
- max-age=15552000; includeSubDomains; preload
x-ratelimit-limit-requests:
- '10000'
x-ratelimit-limit-tokens:
- '30000000'
x-ratelimit-remaining-requests:
- '9999'
x-ratelimit-remaining-tokens:
- '29999755'
x-ratelimit-reset-requests:
- 6ms
x-ratelimit-reset-tokens:
- 0s
x-request-id:
- req_d6492e54c65e7ad1c30636b6da8f5983
http_version: HTTP/1.1
status_code: 200
version: 1