RafalWilinski / telegram-chatgpt-concierge-bot

Interact with OpenAI's ChatGPT via Telegram and Voice.
https://chatwithcloud.ai
1.13k stars 110 forks source link

Can I use other tts services? #14

Open iamqiuxuan opened 1 year ago

iamqiuxuan commented 1 year ago

Thanks to rafal, railway has been successfully set up, if I want to use azure or tencent tts, which part of the project should I modify?

lorrylockie commented 1 year ago

you coud check it first , https://github.com/RafalWilinski/telegram-chatgpt-concierge-bot/pull/18

iamqiuxuan commented 1 year ago

you coud check it first , https://github.com/RafalWilinski/telegram-chatgpt-concierge-bot/pull/15

謝謝大佬

iamqiuxuan commented 1 year ago

you coud check it first , #15

大佬,你的环境变量是怎么设置的 除了tts的key和region还有什么需要设置的

lorrylockie commented 1 year ago

you coud check it first , #15

大佬,你的环境变量是怎么设置的 除了tts的key和region还有什么需要设置的

看这个(check this link) https://github.com/RafalWilinski/telegram-chatgpt-concierge-bot/pull/16/commits/acb70aa457332325a2c899989064921ca0b88eb4

iamqiuxuan commented 1 year ago

you coud check it first , #15

大佬,你的环境变量是怎么设置的 除了tts的key和region还有什么需要设置的

看这个(check this link) acb70aa

成功跑通~ 謝謝大佬

lorrylockie commented 1 year ago

https://github.com/RafalWilinski/telegram-chatgpt-concierge-bot/pull/18

iamqiuxuan commented 1 year ago

https://github.com/RafalWilinski/telegram-chatgpt-concierge-bot/pull/18

大佬 能不能给电报的机器人加一点限制啊 现在任何人跟他聊天他都会回复,拖进群聊里,群里每一句话他都回复😂

lorrylockie commented 1 year ago

18

大佬 能不能给电报的机器人加一点限制啊 现在任何人跟他聊天他都会回复,拖进群聊里,群里每一句话他都回复😂

这种属于业务需求 你参考这里代码 ,对message 根据你自己想要的规则做些判断就好了 https://github.com/RafalWilinski/telegram-chatgpt-concierge-bot/blob/main/src/index.ts#L81
https://telegraf.js.org/