Welcome to Synthiam!

Program robots using technologies created from industry experts. ARC is our free-to-use robot programming software that makes features like vision recognition, navigation and artificial intelligence easy.

Get Started
Asked
Resolved Resolved by DJ Sures!

Dialogue Flow Error

Hello.

Is anyone else experiencing this error with the dialogflow skill in arc?

User-inserted image



This happens every other time I send something to DialogFlow using the Dialogflow skill in ARC. The script runs fine sometimes, but occasionally, seemingly at random, the error occurs and then script fails to execute, it seems. I do get a valid response from Dialogflow, but the script will not execute when this error appears.

This is the EZ-Script I'm using that runs in the dialogflow skill when sending anything.

Code:

controlCommand("Bing Speech Recognition", "PauseListening")
saywait($APIResponse)
sleep(1000)
controlCommand("Bing Speech Recognition", "UnpauseListening")
It occurs randomly whenever I send anything to dialogflow, regardless if I type it in manually or whether the script in the BingSpeech skill I'm using sends it.

Here is a screenshot of my ARC project.

User-inserted image


Thanks in advance. Hope you can help me resolve this.


Related Hardware EZ-Robot EZ-B v4
Related Control DialogFlow
AI Support Bot
Related Content
Synthiam
Based on your post activity, we found some content that may be interesting to you. Explore these other tutorials and community conversations.
PRO
Synthiam
#1  
Interesting. I wonder if the dialog flow response is missing a parameter that the code expects. 

I’ll update the plug-in with some additional debugging info to see what’s going on.
PRO
Synthiam
#2  
Hard as i might, I'm unable to reproduce this error. Is there a missing configuration in the dialog flow configuration for your project? A missing intent or a missing response?
#3  
Hi DJ Sures.

I went back to check on my Dialogflow setup. I seemed everything was okay. However, I noticed that the error was being thrown whenever a request was sent correlating to Dialogflow's "Small Talk" feature (which I have setup for my robot). The error gets thrown every time for every phrase in Small Talk. I think I'll just have to hard code everything by hand--which I suppose will give me more liberty anyway.

Thanks! This resolves my issue.