Skill Not Working

Hey,
I’m working on a simple skill that will always respond one answer, howvere I am trying to use the self.speak() command. It however doesn nto recongosize the commend when it is installed and says “I’m not sure how to answer that.”

Any help would be great

@avellent
It Looks like you are using the self.speak_dialog() function and not the self.speak(). The speak_dialog() function requires a *.dialog file located in the /dialog/en-us/ directory of the skill. As an example if you had a self.speak_dialog(“test”) then you would require a file called test.dialog in that directory. The test.dialog file could contain…
This is a test for research
This is a research test
Testing for research
The speak_dialog() function would randomly select one of the three entries for a spoken response.
Hope this helps.

1 Like