Asked

Chatgpt Skill Response Delay Issue

I have a question regarding the OpenAI ChatGPT robot skill in Synthiam ARC.

When I use Bing Speech Recognition in conjunction with the ChatGPT skill, activated by a wake word, the responses seem to be consistently one question behind.

Why is there a delay or silence when I ask the first question?

Additionally, why does it respond to the first question only after I have asked a second question?

How can I resolve this issue so that the system answers the correct question in real-time?


Related Hardware EZ-InMoov Robot Head

ARC Pro

Upgrade to ARC Pro

Take control of your robot's destiny by subscribing to Synthiam ARC Pro, and watch it evolve into a versatile and responsive machine.

#9   — Edited

Those are the correct scripts. Looks like you have it figured out! As DJ posted in his image above, that's the ControlCommand workflow that you wish to follow.

*Note: we edited your post to format the code so it could be visually understood. Without code formatting, we humans can't read it:). When possible, in the future, the buttons in the editor can be used to format code. If you do not, our system will automatically remove your posts if they can't be read because they'll be considered illegible. But fortunately, sometimes we humans get to it to help provide a tip, so that doesn't happen.

#10  

I Did not change anything yet. these are the current scripts and the delay issues is still there.

PRO
Synthiam
#11   — Edited

Hey Chris. What issue are you having? Your code looks fine.

#12  

Still the response delay issue. chatgpt remains silent when I ask the 1st question. Then every subsequent is answers the previous one. it is always responding one interaction behind the current one.

PRO
Portugal
#13  

Chris, get the $BingSpeech variable first then send it to chatgpt.

PRO
Synthiam
#14   — Edited

His scripts looks fine

Bing Script:
ControlCommand("OpenAI ChatGPT", "Send",getVar("$BingSpeech"));

ChatGpt Script:
ControlCommand("Azure Text To Speech", "speak", getVar("$OpenAIResponse"));

Have you tried clearing your conversation history? Maybe the AI is doing that on purpose.

Also, if you ever have an issue, ensure you’re running the latest software. Your software is outdated (ARC Pro Version: 2025.02.23.00), which could also be an issue. It’s impossible to diagnose something when the software is outdated.:)

Although I don’t think it’s a bug. Something tells me the AI is being cranky, and clearing your history will make a difference. Also, use the default model. Default settings. If you change a bunch of settings, who knows what that AI will do haha. The AI learns by its behavior, like a trend - so if it's performing a certain way, it may choose to continue that path. Clear the conversation, make sure you're using a good model (ideally default model gpt-4o), and you should be good to go.

#15  

Everything is updated and conversation cache is cleared, but I am still getting the same problem. I am going to experiment with clearing the $BingSpeech variable with some feedback reporting and see what I can find. I am stumped.

I got the robot to write some poetry about hotdogs and kittens albeit with a delay. I can sort of make it catch up by manually pressing start and stop record quickly after asking it a question with a wake word. It would be nice not to have to use a clunky work around.

Robot Poetry

#16  

I made a video of the error and I show my setup. Maybe you can see something dumb I am missing?