Spaces:
Running
Running
from crewai import Agent, Task, Crew | |
# Define the crew with agents and tasks | |
financial_trading_crew = Crew( | |
agents=[data_analyst_agent, | |
trading_strategy_agent, | |
execution_agent, | |
risk_management_agent], | |
tasks=[data_analysis_task, | |
strategy_development_task, | |
execution_planning_task, | |
risk_assessment_task], | |
manager_llm=ChatOpenAI(model="gpt-3.5-turbo", | |
temperature=0.7), | |
process=Process.hierarchical, | |
verbose=True | |
) |