-
-
Notifications
You must be signed in to change notification settings - Fork 32.7k
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
TTS errors on message return from chatgpt #134910
Comments
Hey there @balloob, @synesthesiam, mind taking a look at this issue as it has been labeled with an integration ( Code owner commandsCode owners of
(message by CodeOwnersMention) wyoming documentation |
please also check and provide the logs of the piper add-on |
The piper stack trace above is from the piper addon logs. It doesn't say much more than that though.
|
On further testing the wav is generated as expected but the device gives up before the audio is sent back to it. If you get chatgpt to give you a long response and you're running on less powerful hardware, it takes a while for it all to process so I'm guessing it really needs to wait longer for a response.
|
Hi folks, forgive me if this is not the correct way to comms this but I figured I'd add to this post as opposed start a new one. If there are Mods who want to move or delete this, please feel free. I have the same error as @Moltenkore and under similar circumstances: TTS works for shorter requests via ChatGPT api but fails for longer responses - via Voice PE. Info1: at time of below request, CPU usage via Proxmox at 20.3%. Here is the debug log from Piper showing a failed request (apologies for length): SummaryThe story opens on a plantation called Tara, where Scarlett lives a privileged life as the daughter of a wealthy plantation owner. She is initially infatuated with Ashley Wilkes, who is about to marry his cousin, Melanie Hamilton. Heartbroken but resolute, Scarlett vows to win Ashley's heart. As the Civil War breaks out, the lives of these characters become increasingly intertwined amid the chaos of war. Themes and Messaging
End I hope this is useful and thanks to those who spend their time troubleshooting this stuff for free and to benefit the community. I appreciate that a Piper implementation for those who want a swift response to turning on a light may well have different requirements compared to those who want their voice PE to load in a novel in a .wav, and having an implementation that serves both purposes may be impossible! |
The problem
I'm using nabu preview edition and If I ask something that requires a longer output from chatgpt like "how much does a pulsar weigh?". It doesn't give a response and errors out.
It misunderstands what I'm saying each time but there is a response from chatgpt in the logs just no TTS answer.
(I'm using local piper set to en_GB alba medium and whisper.)
What version of Home Assistant Core has the issue?
core-2025.1.0
What was the last working version of Home Assistant Core?
No response
What type of installation are you running?
Home Assistant OS
Integration causing the issue
No response
Link to integration documentation on our website
No response
Diagnostics information
No response
Example YAML snippet
No response
Anything in the logs that might be useful for us?
Debug log:
Piper logs:
Additional information
No response
The text was updated successfully, but these errors were encountered: