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

[Feature] 语音调用机制 #507

Open
Artrajz opened this issue Apr 2, 2023 · 2 comments
Open

[Feature] 语音调用机制 #507

Artrajz opened this issue Apr 2, 2023 · 2 comments
Labels
enhancement New feature or request

Comments

@Artrajz
Copy link
Contributor

Artrajz commented Apr 2, 2023

我有个来自于其他聊天机器人的想法,让机器人更“人性化”。可以把语音调用当做一个拓展模块,让gpt学会使用这个模块,例如

system: 你的名字是艾草,是一个聪明的助手,可以使用语音模块(用法:[voice]语音文本)

user: 发送语音,自我介绍

assistant: [voice]你好,我是艾草

当触发这个模块的标识符时,在后台调用语音合成的api
image

还可以通过交流选择是否使用语音
image
image

同理在混合语言的语音中可以让机器人在中文和日文前后使用[ZH]或[JA]包裹文本,但是大部分模型只对特定语言有比较好的处理,所以可能没什么用

当然我不知道这是否符合这个项目的开发预期,所以这只是一个想法

@Artrajz Artrajz added the enhancement New feature or request label Apr 2, 2023
@lss233
Copy link
Owner

lss233 commented Apr 2, 2023

有意思,加入这个功能应该很有趣

@Haibersut
Copy link
Collaborator

只要他不忘记的话确实挺好,现在主要问题就是解决语言匹配

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants