Spaces:
Running
Running
File size: 545 Bytes
074a596 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
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
) |