-
Notifications
You must be signed in to change notification settings - Fork 1.3k
feat: asr & tts & main #1206
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
Merged
Merged
feat: asr & tts & main #1206
Changes from all commits
Commits
Show all changes
181 commits
Select commit
Hold shift + click to select a range
2be3cd6
feat: add asr guarder
sunxilin 85a6d59
chore: refine code
sunxilin 88f24bc
feat: refine azure asr extension
sunxilin c33387f
feat: refine azure asr extension
sunxilin 140f3c1
feat: add vscode settings
sunxilin 76fb79b
feat: add configs for test
sunxilin 6939a05
feat: refine azure asr extension
sunxilin f952e37
feat: refine azure asr extension
sunxilin a70f88a
feat: refine azure asr extension
sunxilin 6a67109
feat:add azure_asr_python extension connect and reconnect guarder tes…
ZhangPengPaul 4e65672
feat: refine azure asr extension
sunxilin c4c254b
feat: refine asr guarder
sunxilin 69cb8ff
feat: refine asr guarder
sunxilin dbce2f2
feat: refine asr guarder workflow
sunxilin 3bb4d00
fix: requirements
sunxilin 945cb19
fix: workflow
sunxilin 984510e
fix: workflow
sunxilin 3afb330
feat: add comprehensive ASR vendor error validation (#1137)
ZhangPengPaul f5f7b58
fix: workflow
sunxilin abc6303
fix: asr guarder
sunxilin 9a869d5
fix: asr guarder
sunxilin 15f5b0e
feat: add comprehensive ASR testing suite with multi-language support…
ZhangPengPaul f8c0033
feat: add comprehensive ASR integration test suite (#1148)
ZhangPengPaul a11911f
fix: azure asr
sunxilin 13d621e
feat: improve ASR test validation logicFeat/asr guarder (#1152)
ZhangPengPaul 3c76813
fix: asr guarder task file
sunxilin 08710ba
refactor: replace silence packet logic with finalize signal in ASR te…
ZhangPengPaul 07ddb3d
feat: add tencent_asr_python extension (#1154)
ygcaicn ce73485
fix: move dump and dump_path from params to config root level in asr_…
ZhangPengPaul 23e659f
feat: add new deepgram (#1151)
liaochenliang c7bacee
fix: asr guarder workflow
sunxilin a74589f
fix: asr guarder workflow
sunxilin 89582ed
feat: add new aliyun bigmodel asr (#1166)
liaochenliang 6e4e3fc
feat: add new bytedance asr (#1170)
ZhangPengPaul 82af945
feat: update ten_ai_base version and image version
sunxilin d590c9c
fix: add words in asr result
sunxilin 4d9bef9
Feat/asr guarder (#1179)
YiminW 90f3231
fix: optimize audio timestamp test for multiple ASR providers compati…
ZhangPengPaul 8ab262e
fix: update ten_ai_base version to 0.6
sunxilin 7e64fb9
chore: azure asr version update
sunxilin e47f6e1
feat: add openai_asr_python extension (#1176)
ygcaicn b75d13f
chore: ten_ai_base version
sunxilin 535f06c
fix: tencent asr version
sunxilin 261a2fe
[feat]tts2 (#1183)
HugoChaan 6f35adc
feat: add Tencent TTS Python extension (#1199)
sunshinexcode a167184
fix: azure asr
sunxilin 70f1345
Merge branch 'main' into feat/asr_guarder
plutoless 0d55505
feature: main pipeline (#1134)
plutoless 5976131
fix: temp fix for task use error
zhangqianze 7bab645
fix: remove unnecessary connections & fix transcript
zhangqianze e3c4f6c
fix: enable tts2 & fix llm tool
zhangqianze d3ac4a9
feat: add aws_asr_python extension (#1200)
ygcaicn c6ece45
feat: add soniox asr extension (#1201)
anexpn 17df265
feat: add xfyun asr extension (#1202)
liaochenliang 07a1fb0
fix: adapt with latest ten_ai_base
sunxilin d4ed0fe
fix: fix metadata
zhangqianze 4452f4b
Feat/main plus (#1221)
plutoless 10d028c
feat: place main into default folder
zhangqianze ba8e45e
feat: rename main_python & remove module selector/property editor in …
zhangqianze 811aab3
feat: support mllm initial draft
zhangqianze 4488e60
feat: support realtime conversation
zhangqianze 01a5d7a
feat: support realtime api toolcall + fix web ui encoding issue
zhangqianze 5af02bf
fix: remove tmp path
zhangqianze 77d8d85
feat: add lint-extension task
sunxilin 9e5f498
fix: azure asr lint
sunxilin dbd7963
feat: adjust openai mllm protocols
zhangqianze 87b0ff8
test: guarder test for tts and fix bug in bydance_tts_duplex (#1187)
YiminW 6d3b777
feat: upgrade ten_ai_base to 0.6 latest
zhangqianze 508b7af
feat: support grouped names for connections
zhangqianze 51d114c
fix: fix connections
zhangqianze 8986823
fix: audio dumper in azure asr
sunxilin 9de2acc
fix: xfyun asr lint (#1237)
liaochenliang b8b1f96
chore: lint code (#1235)
ygcaicn 9280a2b
feat: add new dify/coze extensions
zhangqianze d8fee9c
feat: add new gemini v2v & stepfun v2v extensions
zhangqianze 0723258
Update ai_agents.yaml
plutoless 9253f8a
Update ai_agents.yaml
plutoless dde4611
feat: fix docker file
zhangqianze 5b4360c
fix: refactor azure mllm
zhangqianze 11cc4f4
Merge branch 'main' into feat/asr_guarder
plutoless 14930e4
[feat]tts guarder test (#1240)
HugoChaan 7a3a9d0
feat: add aws polly tts extension (#1233)
ygcaicn cd33c05
feat: bytedance_tts_duplex bump version to 0.1.1
wangyoucao577 0e6f6d5
feat: add JSON ADC credentials for Google ASR and streamline logs; fi…
ZhangPengPaul 22c2ab8
fix: asr extension lint fix
sunxilin 79ee54c
Feat/tts refactor-elvenlabs (#1220)
YiminW 085df26
feat: add back glm mllm ext
zhangqianze 369d9b3
feat: remove redundant extensions
zhangqianze 68ba691
Merge branch 'main' into feat/asr_guarder
plutoless c1cb25c
fix: fix manifest.json
zhangqianze 17938cd
feat: adjust examples
zhangqianze b10bd7f
fix: google asr
sunxilin 06863d5
fix: format fix
zhangqianze d2fc709
fix: fix lint issues
zhangqianze f8b3014
fix: fix lint issues
zhangqianze b03359f
fix: adjust install script to take out llama deps
zhangqianze 689c8b8
fix: aws_asr_python unitest (#1247)
ygcaicn 4c20b1e
fix: add format for main
zhangqianze 97375f8
chore: update version for aws openai and tencent asr
sunxilin 3cf376d
fix: replace all base_uri with base_url
zhangqianze bc7dc68
feat: support multiple example local packages
zhangqianze a107eb9
feat: adjust demo structure
zhangqianze 1c79cb7
fix: fix reasoning mode
zhangqianze 64cff88
fix: tts manifest (#1251)
HugoChaan 090ce99
fix: amazon-transcribe version (#1249)
ygcaicn b3f0bca
feat: adding demo cases..
zhangqianze 13d4015
feat: google tts
YiminW 3cfc12e
fix: add gemini live
zhangqianze 3ddd78e
Merge branch 'main' into feat/asr_guarder
plutoless faaaf29
fix: fix lint issues
zhangqianze 3381922
fix: fix gladia tests
zhangqianze b9e5c8b
fix: fix tests
zhangqianze be26764
feat: add rest demo graphs
zhangqianze 195288b
feat: demo update
zhangqianze e576f89
Merge branch 'main' into feat/asr_guarder
plutoless aafc81e
fix: UT for aliyun gladia speechmatics
sunxilin 8d9a86d
fix: format update
zhangqianze 8cd7d9d
feat: add cosy TTS Python extension (#1252)
sunshinexcode 80f84d5
fix: tts error (#1253)
HugoChaan e6f99d3
fix: 11labs ut use fark key instead of reading environment var
YiminW c030799
fix: fix google tts issue and update tencent tts version
YiminW 741b97a
test: tts guarder test change
YiminW 4e8a5a8
fix: fix google asr test
zhangqianze 2998a36
fix: fix format
zhangqianze aef755a
fix: fix ut tests
zhangqianze b17d5be
fix: fix google tts ut issue
YiminW 1410af8
feat: fix format
zhangqianze 06f3f24
Merge branch 'main' into feat/asr_guarder
plutoless 918a065
fix: remove dependency on pyaudio
zhangqianze 9d8bcfd
fix: remove all sounddevice dependencies
zhangqianze cebf75c
fix: fix openai_asr_python tests
zhangqianze ba37da8
fix: fix tests
zhangqianze 008fd73
fix: fix format
zhangqianze 1d275b7
fix: avoid error racing condition
zhangqianze 882cb94
fix: codeQL warning
sunxilin f9fd8e1
Merge branch 'main' into feat/asr_guarder
sunxilin a7bc7aa
fix: codeQL warning
sunxilin a0e1d29
fix: fix flush behavior
zhangqianze f621656
fix: fix format
zhangqianze e8af947
feat: update 11labs tts and google tts version
YiminW 36cb9b8
fix:tts flush (#1260)
HugoChaan cbdf5fb
feat: speechmatics (#1261)
liaochenliang 58dea8a
fix: add package include list for asr exts and upgrade
sunxilin d3f9ee2
feat: update package manifest
wangyoucao577 d24dcf5
Merge branch 'main' into feat/asr_guarder
plutoless afb5b59
fix: minimax flush (#1265)
HugoChaan 328421b
fix: fix interrupt issues
plutoless a1868ea
feat: add Cartesia TTS、Openai TTS and Fish Audio TTS Extenions (#1268)
seymourtang cc0236c
feat: support spanish in speechmatics
sunxilin 8c78576
feat: update package include for fish_audio openai and cartesia tts
YiminW 3ebd83b
Fix property for minimax tts
HugoChaan c864a1b
Merge branch 'main' into feat/asr_guarder
plutoless 4e18669
fix: fix lint issue
zhangqianze c9bcd68
fix: final (#1278)
liaochenliang 14d4818
fix: fix main cascade
zhangqianze 09df202
fix: fix cascade
zhangqianze 5ec213b
feat: implement tts google bytdance 11labs (#1279)
YiminW 34604bf
fix: fix integration test err err and unit test err (#1280)
seymourtang 6bbfec3
fix: add polly_tts property.json (#1282)
ygcaicn 2aa49c1
fix:self test bugs (#1283)
HugoChaan c590ecd
feat: support turn & reasoning
plutoless c10986f
fix: handling interrupt
plutoless 5c3a100
fix: fix reasoning & adapt
plutoless da436a7
fix: fix formats
plutoless e3bcecc
feat: add ten vad use case
zhangqianze 63df427
fix: bytedance reconnect (#1285)
HugoChaan d924379
fix: 11labs tts loop maintance websocket connection (#1289)
YiminW de10fca
fix: fix bytedance asr finalize (#1288)
ZhangPengPaul b0dbcdc
fix: xfyun timeout (#1286)
liaochenliang 945a2d1
fix: ws_client cancel the receiver_task when ws disconnected (#1290)
ygcaicn 5eaf2af
chore: update version of openai and tencent asr
sunxilin b5cdef7
Feat/tts2 improve bytedance (#1291)
HugoChaan 144e208
feat: remove legacy tts
plutoless e3a180b
fix: language (#1293)
liaochenliang 628a82e
fix: fix wrong dump file naming convention in OpenaiTTSExtension (#1297)
seymourtang aa0afcb
fix: fix 11labs tts no audio for short text and change websockt loop …
YiminW 1764ca1
feat: azure tts python (#1294)
ygcaicn e618233
chore: update version for ten publish
YiminW 46543cb
fix: mute_pkg (#1300)
liaochenliang 33422ad
fix: update default vendors & fix fish audio issue
plutoless 0b051bf
Merge branch 'main' into feat/asr_guarder
plutoless File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Check warning
Code scanning / CodeQL
Excessive Secrets Exposure Medium
Copilot Autofix
AI about 1 year ago
To fix the problem, we should remove the line that sets
_ALL_SECRETS: ${{ toJSON(secrets) }}in theenvsection. Instead, we should only expose the specific secrets that are needed by the workflow. Since the workflow appears to support dynamic environment variable keys (via theenv_varsinput), the best practice is to require users to explicitly list the needed secrets in the workflow file, or to enumerate the possible secrets and set them individually in theenvsection. If dynamic access is absolutely required, the workflow should be refactored to use only the explicitly named secrets, possibly by using conditional steps or matrix strategies.For this fix, since we cannot see the rest of the code, the minimal and safest change is to remove the line that sets
_ALL_SECRETS: ${{ toJSON(secrets) }}. The user should then update the workflow to explicitly reference only the required secrets in theenvsection or in the steps that need them.