From 4c6183127ffee457c3a7f5b02e4077f4a14b20a0 Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Wed, 7 Aug 2024 13:24:08 +0000 Subject: [PATCH 1/2] fix: no chat_transcriber --- agents/property.json.example | 54 ++++++++++++++++++++++++++++++++++++ 1 file changed, 54 insertions(+) diff --git a/agents/property.json.example b/agents/property.json.example index c84ad926..f5a012c4 100644 --- a/agents/property.json.example +++ b/agents/property.json.example @@ -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", @@ -684,6 +690,11 @@ "type": "extension_group", "addon": "default_extension_group", "name": "tts" + }, + { + "type": "extension_group", + "addon": "default_extension_group", + "name": "chat_transcriber" } ], "connections": [ @@ -701,6 +712,10 @@ { "extension_group": "chatgpt", "extension": "openai_chatgpt" + }, + { + "extension_group": "chat_transcriber", + "extension": "chat_transcriber" } ] } @@ -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)" + } + ] + } + } + ] } ] } @@ -772,6 +811,21 @@ ] } ] + }, + { + "extension_group": "chat_transcriber", + "extension": "chat_transcriber", + "data": [ + { + "name": "data", + "dest": [ + { + "extension_group": "default", + "extension": "agora_rtc" + } + ] + } + ] } ] }, From c2e3b131c4a6fb4a82a40ddf8a70980c2f1543df Mon Sep 17 00:00:00 2001 From: Jay Zhang Date: Thu, 8 Aug 2024 01:55:53 +0000 Subject: [PATCH 2/2] fix: no track on extension's property.json --- agents/.gitignore | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/agents/.gitignore b/agents/.gitignore index acb3acf1..a1ee1d30 100644 --- a/agents/.gitignore +++ b/agents/.gitignore @@ -26,4 +26,4 @@ session_control.conf.agora xdump_config .vscode *.pyc -property.json +/property.json