We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4ecd2cd commit 9df1a40Copy full SHA for 9df1a40
samples/agent/team_create.py
@@ -16,19 +16,18 @@
16
select_ai.connect(user=user, password=password, dsn=dsn)
17
18
# Team
19
-team_attributes = TeamAttributes(
20
- agents=[{"name": "MOVIE_ANALYST", "task": "ANALYZE_MOVIE_TASK"}],
21
- process="sequential",
22
-)
23
team = Team(
24
team_name="MOVIE_AGENT_TEAM",
25
- attributes=team_attributes,
+ attributes=TeamAttributes(
+ agents=[{"name": "MOVIE_ANALYST", "task": "ANALYZE_MOVIE_TASK"}],
+ process="sequential",
+ ),
26
)
27
team.create(enabled=True, replace=True)
28
29
print(
30
team.run(
31
- prompt="Could list the movies in the database?",
+ prompt="Could you list the movies in the database?",
32
params={"conversation_id": conversation_id},
33
34
0 commit comments