Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feat/graph #456

Merged
merged 13 commits into from
Dec 3, 2024
73 changes: 51 additions & 22 deletions agents/examples/default/property.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"predefined_graphs": [
{
"name": "voice_assistant",
"auto_start": false,
"auto_start": true,
"nodes": [
{
"type": "extension",
Expand Down Expand Up @@ -73,13 +73,24 @@
"type": "extension",
"name": "interrupt_detector",
"addon": "interrupt_detector_python",
"extension_group": "default"
"extension_group": "default",
"property": {}
},
{
"type": "extension",
"name": "message_collector",
"addon": "message_collector",
"extension_group": "transcriber"
"extension_group": "transcriber",
"property": {}
},
{
"type": "extension",
"name": "weatherapi_tool_python",
"addon": "weatherapi_tool_python",
"extension_group": "default",
"property": {
"api_key": "${env:WEATHERAPI_API_KEY|}"
}
}
],
"connections": [
Expand Down Expand Up @@ -158,6 +169,15 @@
"extension": "tts"
}
]
},
{
"name": "tool_call",
"dest": [
{
"extension_group": "default",
"extension": "weatherapi_tool_python"
}
]
}
],
"data": [
Expand Down Expand Up @@ -242,6 +262,21 @@
]
}
]
},
{
"extension_group": "default",
"extension": "weatherapi_tool_python",
"cmd": [
{
"name": "tool_register",
"dest": [
{
"extension_group": "chatgpt",
"extension": "llm"
}
]
}
]
}
]
},
Expand Down Expand Up @@ -292,11 +327,11 @@
},
{
"type": "extension",
"name": "bingsearch_tool_python",
"addon": "bingsearch_tool_python",
"name": "weatherapi_tool_python",
"addon": "weatherapi_tool_python",
"extension_group": "default",
"property": {
"api_key": "${env:BING_API_KEY|}"
"api_key": "${env:WEATHERAPI_API_KEY|}"
}
}
],
Expand Down Expand Up @@ -328,6 +363,15 @@
"extension": "agora_rtc"
}
]
},
{
"name": "tool_call",
"dest": [
{
"extension_group": "default",
"extension": "weatherapi_tool_python"
}
]
}
],
"data": [
Expand Down Expand Up @@ -368,24 +412,9 @@
}
]
},
{
"extension_group": "llm",
"extension": "v2v",
"cmd": [
{
"name": "tool_call",
"dest": [
{
"extension_group": "default",
"extension": "bingsearch_tool_python"
}
]
}
]
},
{
"extension_group": "default",
"extension": "bingsearch_tool_python",
"extension": "weatherapi_tool_python",
"cmd": [
{
"name": "tool_register",
Expand Down
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ services:
networks:
- ten_agent_network
ten_agent_playground:
image: ghcr.io/ten-framework/ten_agent_playground:0.6.1-28-g00933ea
image: ghcr.io/ten-framework/ten_agent_playground:0.6.1-34-g3518957
container_name: ten_agent_playground
restart: always
ports:
Expand Down
Loading
Loading