Update README.md

This example can be run faster for openai users.
This commit is contained in:
LiuYongFeng
2023-12-22 11:40:22 +08:00
committed by GitHub
parent c01abc9567
commit f9754c9f1f

View File

@@ -31,8 +31,11 @@ pip install crewai
2. **Setting Up Your Crew**:
```python
import os
from crewai import Agent, Task, Crew, Process
os.environ["OPENAI_API_KEY"] = "Your Key"
# Define your agents with roles and goals
researcher = Agent(
role='Researcher',