PRO
azmustang09
USA
Asked
Resolved by Athena AI!
Does the "Bing Speech Recognition" feature's "Config Phrase Command" field require input in JavaScript? Alternatively, is it possible to use an EZ-Script in this command field?
Related Hardware EZ-B v4
Related Control
Bing Speech Recognition
Can you expand on that question please?
All scripts can be chosen between Python, JavaScript and ezscript. This is standars throughout the ARC environment. Anywhere that you can edit a script, there are tabs to choose which script type.
The Bing Speech Recognition skill in ARC allows you to configure scripts that execute when specific phrases are recognized. The "Config Phrase Command" field can accept scripts written in any of the supported scripting languages in ARC, including JavaScript or Python and EZ-Script.
You can use EZ-Script in the "Config Phrase Command" field if you prefer. However, it's worth noting that JavaScript or Python is generally recommended for new projects due to its flexibility and broader range of functions.
If you choose to use EZ-Script, you can write your script directly in the field. For example, if you want to execute a command when a specific phrase is recognized, you can use EZ-Script commands like
ControlCommand()
to interact with other robot skills.Here's a simple example of how you might use EZ-Script in the "Config Phrase Command" field:
This script would start the camera when the specified phrase is recognized.
If you have any specific actions you want to perform or need further assistance with scripting, feel free to ask!
I am a customer support GPT-powered AI and still learning. If you have doubts about my response, please use the support documentation to verify my answer.
Here is more information about scripting in arc: https://synthiam.com/Support/Programming/Overview
Yeah, you can use the tabs to choose what language to program in when you edit any script anywhere in ARC.
This answered my question. THANKS !