mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-08 15:48:29 +00:00
* rebuilding executor * removing langchain * Making all tests good * fixing types and adding ability for nor using system prompts * improving types * pleasing the types gods * pleasing the types gods * fixing parser, tools and executor * making sure all tests pass * final pass * fixing type * Updating Docs * preparing to cut new version
189 lines
8.7 KiB
YAML
189 lines
8.7 KiB
YAML
interactions:
|
|
- request:
|
|
body: !!binary |
|
|
CtACCiQKIgoMc2VydmljZS5uYW1lEhIKEGNyZXdBSS10ZWxlbWV0cnkSpwIKEgoQY3Jld2FpLnRl
|
|
bGVtZXRyeRKQAgoQHmlJBYzBdapZtSVKNMGqJBII8BLkKX2PvTYqDlRhc2sgRXhlY3V0aW9uMAE5
|
|
CChrngat9RdBSI3l4gat9RdKLgoIY3Jld19rZXkSIgogYzMwNzYwMDkzMjY3NjE0NDRkNTdjNzFk
|
|
MWRhM2YyN2NKMQoHY3Jld19pZBImCiQwYTY5M2NmYi00YWZmLTQwYmItOTdmNi05N2ZkYzRhZmYy
|
|
YmNKLgoIdGFza19rZXkSIgogODBkN2JjZDQ5MDk5MjkwMDgzODMyZjBlOTgzMzgwZGZKMQoHdGFz
|
|
a19pZBImCiQwMzM0ODBlZC1jZTgxLTQ4NmYtOGRlMC0wMDEwZjU4MjRmNWN6AhgBhQEAAQAA
|
|
headers:
|
|
Accept:
|
|
- '*/*'
|
|
Accept-Encoding:
|
|
- gzip, deflate
|
|
Connection:
|
|
- keep-alive
|
|
Content-Length:
|
|
- '339'
|
|
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, 16 Sep 2024 08:44:42 GMT
|
|
status:
|
|
code: 200
|
|
message: OK
|
|
- 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",
|
|
"stop": ["\nObservation:"]}'
|
|
headers:
|
|
accept:
|
|
- application/json
|
|
accept-encoding:
|
|
- gzip, deflate
|
|
connection:
|
|
- keep-alive
|
|
content-length:
|
|
- '1055'
|
|
content-type:
|
|
- application/json
|
|
cookie:
|
|
- __cf_bm=1SckBhvJ18Dazp6bi8DEKYeiS9Q4.6_6i3nmLBw9b6g-1726476036-1.0.1.1-TnN4UpDXA33YXCVCUWOaZ12vGIg_o5NpJQEUHgjn6XdUgb7M0ND8PdkTfkd8rrxG5XFlPRMzI54GxZ0FeUY9xw;
|
|
_cfuvid=0Rs4xTPk7h7OIXuSbTgMVVD9JSoZeKMwnygKHoHQo3k-1726476036297-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-A81dXrByTXv0g084WinelJOTZraCk\",\n \"object\":
|
|
\"chat.completion\",\n \"created\": 1726476279,\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: \\n\\nWhile it's a common perception that I might \\\"hate\\\" AI agents,
|
|
my actual stance is much more nuanced and guided by an in-depth understanding
|
|
of their potential and limitations. As an expert researcher in technology, I
|
|
recognize that AI agents are a significant advancement in the field of computing
|
|
and artificial intelligence, offering numerous benefits and applications across
|
|
various sectors. Here's a detailed take on AI agents:\\n\\n**Advantages of AI
|
|
Agents:**\\n1. **Automation and Efficiency:** AI agents can automate repetitive
|
|
tasks, thus freeing up human workers for more complex and creative work. This
|
|
leads to significant efficiency gains in industries such as customer service
|
|
(chatbots), data analysis, and even healthcare (AI diagnostic tools).\\n\\n2.
|
|
**24/7 Availability:** Unlike human workers, AI agents can operate continuously
|
|
without fatigue. This is particularly beneficial in customer service environments
|
|
where support can be provided around the clock.\\n\\n3. **Data Handling and
|
|
Analysis:** AI agents can process and analyze vast amounts of data more quickly
|
|
and accurately than humans. This ability is invaluable in fields like finance,
|
|
where AI can detect fraudulent activities, or in marketing, where consumer data
|
|
can be analyzed to improve customer engagement strategies.\\n\\n4. **Personalization:**
|
|
AI agents can provide personalized experiences by learning from user interactions.
|
|
For example, recommendation systems on platforms like Netflix and Amazon use
|
|
AI agents to suggest content or products tailored to individual preferences.\\n\\n5.
|
|
**Scalability:** AI agents can be scaled up easily to handle increasing workloads,
|
|
making them ideal for businesses experiencing growth or variable demand.\\n\\n**Challenges
|
|
and Concerns:**\\n1. **Ethical Implications:** The deployment of AI agents raises
|
|
significant ethical questions, including issues of bias, privacy, and the potential
|
|
for job displacement. It\u2019s crucial to address these concerns by incorporating
|
|
transparent, fair, and inclusive practices in AI development and deployment.\\n\\n2.
|
|
**Dependability and Error Rates:** While AI agents are generally reliable, they
|
|
are not infallible. Errors, especially in critical areas like healthcare or
|
|
autonomous driving, can have severe consequences. Therefore, rigorous testing
|
|
and validation are essential.\\n\\n3. **Lack of Understanding:** Many users
|
|
and stakeholders may not fully understand how AI agents work, leading to mistrust
|
|
or misuse. Improving AI literacy and transparency can help build trust in these
|
|
systems.\\n\\n4. **Security Risks:** AI agents can be vulnerable to cyber-attacks.
|
|
Ensuring robust cybersecurity measures are in place is vital to protect sensitive
|
|
data and maintain the integrity of AI systems.\\n\\n5. **Regulation and Oversight:**
|
|
The rapid development of AI technology often outpaces regulatory frameworks.
|
|
Effective governance is needed to ensure AI is used responsibly and ethically.\\n\\nIn
|
|
summary, while I thoroughly understand the transformative potential of AI agents
|
|
and their numerous advantages, I also recognize the importance of addressing
|
|
the associated challenges. It's not about hating AI agents, but rather advocating
|
|
for their responsible and ethical use to ensure they benefit society as a whole.
|
|
My critical perspective is rooted in a desire to see AI agents implemented in
|
|
ways that maximize their benefits while minimizing potential harms.\",\n \"refusal\":
|
|
null\n },\n \"logprobs\": null,\n \"finish_reason\": \"stop\"\n
|
|
\ }\n ],\n \"usage\": {\n \"prompt_tokens\": 200,\n \"completion_tokens\":
|
|
618,\n \"total_tokens\": 818,\n \"completion_tokens_details\": {\n \"reasoning_tokens\":
|
|
0\n }\n },\n \"system_fingerprint\": \"fp_25624ae3a5\"\n}\n"
|
|
headers:
|
|
CF-Cache-Status:
|
|
- DYNAMIC
|
|
CF-RAY:
|
|
- 8c3f9369a8632233-MIA
|
|
Connection:
|
|
- keep-alive
|
|
Content-Encoding:
|
|
- gzip
|
|
Content-Type:
|
|
- application/json
|
|
Date:
|
|
- Mon, 16 Sep 2024 08:44:46 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:
|
|
- '7295'
|
|
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_a8a7ba0ff499542e9c4fc4b4913be91c
|
|
http_version: HTTP/1.1
|
|
status_code: 200
|
|
version: 1
|