BigBobbas / ESP32-S3-Box3-Custom-ESPHome

Custom ESPHome config for ESP32-S3-Box-3 with sensors and touchscreen
28 stars 5 forks source link

ChatGPT's response ends early. Not possible to pronounce. #27

Open unreality81 opened 5 days ago

unreality81 commented 5 days ago

Hello, First of all, this is a great project of yours. I use an ESP32 S3 Box 3 with ChatGPT and I noticed that he can't finish his sentences before the dashboard is shown to me again and the Chatgpt announcement is also ended early. Can you set a different timeout here?

BigBobbas commented 5 days ago

Hi there, thank you for trying out this project and for giving feedback on your issue. I haven't personally tested with ChatGPT but will see if we can figure it out. Can I ask what kind of length of time does it respond for before cutting off ? also if possible if you could get device logs covering the time from before, during and after an example event. You can view the logs from the ESPHome dashboard and they will be shown in realtime. This will help me to see what is happening on the device during that time. Many thanks Rob

unreality81 commented 5 days ago

logs_esp32-s3box-3_logs (1).txt

Thank you for your quick answer :) Here is the log file! I asked for a roll recipe, after about 5 seconds the dashboard appeared again. The announcement stops at around 18 seconds! However, this has also happened at 15 seconds. I do not know why.

BigBobbas commented 5 days ago

Thanks for the logs and info, if you open this url in a browser does it play the full response http://192.168.2.154:8123/api/tts_proxy/3090767fd7bcbc2fdba80d15c3aad451042b1b0b_de-de_70263bfdba_tts.home_assistant_cloud.mp3

unreality81 commented 5 days ago

Yes, the announcement will be played in full.

unreality81 commented 5 days ago

Hello, the display conversation now remains! That's pretty cool but unfortunately the announcement keeps stopping :/