Skip to content

Commit

Permalink
Fix missed conversation transcriber for va.openai.cosy graph (#173)
Browse files Browse the repository at this point in the history
* fix: no chat_transcriber

* fix: no track on extension's property.json
  • Loading branch information
wangyoucao577 authored Aug 10, 2024
1 parent f678e98 commit 2576099
Show file tree
Hide file tree
Showing 2 changed files with 55 additions and 1 deletion.
2 changes: 1 addition & 1 deletion agents/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -26,4 +26,4 @@ session_control.conf.agora
xdump_config
.vscode
*.pyc
property.json
/property.json
54 changes: 54 additions & 0 deletions agents/property.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -670,6 +670,12 @@
"addon": "interrupt_detector_python",
"name": "interrupt_detector"
},
{
"type": "extension",
"extension_group": "chat_transcriber",
"addon": "chat_transcriber_python",
"name": "chat_transcriber"
},
{
"type": "extension_group",
"addon": "default_extension_group",
Expand All @@ -684,6 +690,11 @@
"type": "extension_group",
"addon": "default_extension_group",
"name": "tts"
},
{
"type": "extension_group",
"addon": "default_extension_group",
"name": "chat_transcriber"
}
],
"connections": [
Expand All @@ -701,6 +712,10 @@
{
"extension_group": "chatgpt",
"extension": "openai_chatgpt"
},
{
"extension_group": "chat_transcriber",
"extension": "chat_transcriber"
}
]
}
Expand All @@ -716,6 +731,30 @@
{
"extension_group": "tts",
"extension": "cosy_tts"
},
{
"extension_group": "chat_transcriber",
"extension": "chat_transcriber",
"cmd_conversions": [
{
"cmd": {
"type": "per_property",
"keep_original": true,
"rules": [
{
"path": "is_final",
"type": "fixed_value",
"value": "bool(true)"
},
{
"path": "stream_id",
"type": "fixed_value",
"value": "uint32(999)"
}
]
}
}
]
}
]
}
Expand Down Expand Up @@ -772,6 +811,21 @@
]
}
]
},
{
"extension_group": "chat_transcriber",
"extension": "chat_transcriber",
"data": [
{
"name": "data",
"dest": [
{
"extension_group": "default",
"extension": "agora_rtc"
}
]
}
]
}
]
},
Expand Down

0 comments on commit 2576099

Please sign in to comment.