Skip to content

Commit 2576099

Browse files
Fix missed conversation transcriber for va.openai.cosy graph (#173)
* fix: no chat_transcriber * fix: no track on extension's property.json
1 parent f678e98 commit 2576099

File tree

2 files changed

+55
-1
lines changed

2 files changed

+55
-1
lines changed

agents/.gitignore

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,4 @@ session_control.conf.agora
2626
xdump_config
2727
.vscode
2828
*.pyc
29-
property.json
29+
/property.json

agents/property.json.example

+54
Original file line numberDiff line numberDiff line change
@@ -670,6 +670,12 @@
670670
"addon": "interrupt_detector_python",
671671
"name": "interrupt_detector"
672672
},
673+
{
674+
"type": "extension",
675+
"extension_group": "chat_transcriber",
676+
"addon": "chat_transcriber_python",
677+
"name": "chat_transcriber"
678+
},
673679
{
674680
"type": "extension_group",
675681
"addon": "default_extension_group",
@@ -684,6 +690,11 @@
684690
"type": "extension_group",
685691
"addon": "default_extension_group",
686692
"name": "tts"
693+
},
694+
{
695+
"type": "extension_group",
696+
"addon": "default_extension_group",
697+
"name": "chat_transcriber"
687698
}
688699
],
689700
"connections": [
@@ -701,6 +712,10 @@
701712
{
702713
"extension_group": "chatgpt",
703714
"extension": "openai_chatgpt"
715+
},
716+
{
717+
"extension_group": "chat_transcriber",
718+
"extension": "chat_transcriber"
704719
}
705720
]
706721
}
@@ -716,6 +731,30 @@
716731
{
717732
"extension_group": "tts",
718733
"extension": "cosy_tts"
734+
},
735+
{
736+
"extension_group": "chat_transcriber",
737+
"extension": "chat_transcriber",
738+
"cmd_conversions": [
739+
{
740+
"cmd": {
741+
"type": "per_property",
742+
"keep_original": true,
743+
"rules": [
744+
{
745+
"path": "is_final",
746+
"type": "fixed_value",
747+
"value": "bool(true)"
748+
},
749+
{
750+
"path": "stream_id",
751+
"type": "fixed_value",
752+
"value": "uint32(999)"
753+
}
754+
]
755+
}
756+
}
757+
]
719758
}
720759
]
721760
}
@@ -772,6 +811,21 @@
772811
]
773812
}
774813
]
814+
},
815+
{
816+
"extension_group": "chat_transcriber",
817+
"extension": "chat_transcriber",
818+
"data": [
819+
{
820+
"name": "data",
821+
"dest": [
822+
{
823+
"extension_group": "default",
824+
"extension": "agora_rtc"
825+
}
826+
]
827+
}
828+
]
775829
}
776830
]
777831
},

0 commit comments

Comments
 (0)