mirror of
https://github.com/crewAIInc/crewAI.git
synced 2026-01-09 16:18:30 +00:00
Update README.md
This example can be run faster for openai users.
This commit is contained in:
@@ -31,8 +31,11 @@ pip install crewai
|
|||||||
2. **Setting Up Your Crew**:
|
2. **Setting Up Your Crew**:
|
||||||
|
|
||||||
```python
|
```python
|
||||||
|
import os
|
||||||
from crewai import Agent, Task, Crew, Process
|
from crewai import Agent, Task, Crew, Process
|
||||||
|
|
||||||
|
os.environ["OPENAI_API_KEY"] = "Your Key"
|
||||||
|
|
||||||
# Define your agents with roles and goals
|
# Define your agents with roles and goals
|
||||||
researcher = Agent(
|
researcher = Agent(
|
||||||
role='Researcher',
|
role='Researcher',
|
||||||
|
|||||||
Reference in New Issue
Block a user