knox revisó este gist . Ir a la revisión
1 file changed, 13 insertions
CrewAI-readme-9.py(archivo creado)
@@ -0,0 +1,13 @@ | |||
1 | + | #!/usr/bin/env python | |
2 | + | # src/my_project/main.py | |
3 | + | import sys | |
4 | + | from latest_ai_development.crew import LatestAiDevelopmentCrew | |
5 | + | ||
6 | + | def run(): | |
7 | + | """ | |
8 | + | Run the crew. | |
9 | + | """ | |
10 | + | inputs = { | |
11 | + | 'topic': 'AI Agents' | |
12 | + | } | |
13 | + | LatestAiDevelopmentCrew().crew().kickoff(inputs=inputs) |
Siguiente
Anterior