News for hackers. Stuff that matters.
Re:Show HN: ChatGPT Inline Bot on Telegram by marckohlbrugge on Tuesday March 07, 2023 @07:10AM (#35054445)
Congrats on the launch!

Made something similar which also uses Whisper to support voice memos (talk to GPT) and TTS (hear GPT’s responses)

Not sure it warrants a separate post, so sharing it here.

https://t.me/marcbot

Re:Show HN: ChatGPT Inline Bot on Telegram by Tepix on Tuesday March 07, 2023 @07:38AM (#35054639)
Hey that's pretty awesome, can you make the TTS output language configurable?

Also when i send something to the bot i can only send video, (with the iOS app) it makes more sense to send audio. Is this something you can change?

Finally, you should have a privacy policy for a service like this.

Re:Show HN: ChatGPT Inline Bot on Telegram by aero-glide2 on Tuesday March 07, 2023 @07:53AM (#35054749)
Tap on video once, it will change to audio.
Re:Show HN: ChatGPT Inline Bot on Telegram by nielsole on Tuesday March 07, 2023 @08:06AM (#35054874)
or autodetect the output language. Both Whisper and ChatGPT handle multilingual just fine
Re:Show HN: ChatGPT Inline Bot on Telegram by marckohlbrugge on Tuesday March 07, 2023 @08:08AM (#35054897)
Yes, you can configure the TTS voices (and languages).

If you send /voices you can pick from multiple voices.

Right now it only shows voices in English, but you can send the secret `/setvoice <voiceName>` with an Amazon Polly[0] neural voice and it will work as well.

The only downside right now is that I don't auto-identify languages, so if you set it to Dutch, but ask a question in English, you'll get a response in English with a very Dutch accent haha.

P.S. And yes @aero-glide2 is correct that you can toggle between Telegram's audio/video inputs by tapping the camera/microphone icon. – Right now MarcBot only supports audio inputs.

[0] https://docs.aws.amazon.com/polly/latest/dg/voicelist.html

Re:Show HN: ChatGPT Inline Bot on Telegram by RobinL on Tuesday March 07, 2023 @09:46AM (#35055888)
I love this - thanks! Easiest interface into ChatGPT I've found.

/setvoice didn't see to work for me.

I was looking for a British voice and tried

/setvoice Brian

Am I doing something wrong?

Re:Show HN: ChatGPT Inline Bot on Telegram by aero-glide2 on Tuesday March 07, 2023 @07:53AM (#35054755)
Does this also use chatgpt's api? Just tried it, it's very useful.
Re:Show HN: ChatGPT Inline Bot on Telegram by marckohlbrugge on Tuesday March 07, 2023 @08:04AM (#35054858)
Yep! Same ChatGPT API for text generation. And Whisper AP for speech recognition.

If you speak other languages than English, make sure to give those a try well. It should understand you and respond in the same language.

Re:Show HN: ChatGPT Inline Bot on Telegram by sandoche on Tuesday March 07, 2023 @08:08AM (#35054893)
Thanks, I saw it yesterday and tried it, it's pretty awesome! Well done!
Re:Show HN: ChatGPT Inline Bot on Telegram by sebastiennight on Tuesday March 07, 2023 @08:22AM (#35055009)
What do you use for TTS? I'm designing an in-app chatbot and having a hard time figuring out a fast-enough TTS library.

Currently considering either pre-recording all the outputs (ugh) or using the browser's TTS api (ugh^2) :)

Re:Show HN: ChatGPT Inline Bot on Telegram by darkstar999 on Tuesday March 07, 2023 @09:52AM (#35055965)
Re:Show HN: ChatGPT Inline Bot on Telegram by sebastiennight on Tuesday March 07, 2023 @12:33PM (#35058267)
Ah, it looks great. It's just 100% English though, which doesn't fit my use case (customers in 6 languages)
Re:Show HN: ChatGPT Inline Bot on Telegram by tuga on Wednesday March 08, 2023 @08:16AM (#35068601)
Can you share the source code?