You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

team.json 895 B

1234567891011121314151617181920212223242526272829303132
  1. {
  2. "name": "weather_team",
  3. "component_type": "team",
  4. "participants": [
  5. {
  6. "name": "writing_agent",
  7. "component_type": "agent",
  8. "model_client": {
  9. "model": "gpt-4o-2024-08-06",
  10. "model_type": "OpenAIChatCompletionClient",
  11. "component_type": "model"
  12. },
  13. "tools": [
  14. {
  15. "name": "get_weather",
  16. "description": "Get the weather for a city",
  17. "content": "async def get_weather(city: str) -> str:\n return f\"The weather in {city} is 73 degrees and Sunny.\"",
  18. "tool_type": "PythonFunction",
  19. "component_type": "tool"
  20. }
  21. ],
  22. "agent_type": "AssistantAgent"
  23. }
  24. ],
  25. "termination_condition": {
  26. "termination_type": "MaxMessageTermination",
  27. "max_messages": 5,
  28. "component_type": "termination"
  29. },
  30. "team_type": "RoundRobinGroupChat",
  31. "model_client": null
  32. }