Alexa in Spanish dont send multi params
-
i tried to say to Alexa:
preguntar a ejecuta comando ejecutar buscar en laptop con parámetros enchiladas verdes
In my program only receipt "verdes", The last param
Would yo help me to receipt two parameters or more from Alexa?
My example code:
import sys, os if(len(sys.argv) > 1): saved_args = sys.argv saved_args.pop(0) os.system("echo %s >> ~/hola.txt"%("+").join(saved_args)) else: os.system("echo %s >> ~/hola.txt"%"sin parametros")
My configuration:
{ "trigger": "Buscar en Google", "command": "python ~/Documentos/google.py", "offCommand": "python ~/Documentos/google.py", "ground": "foreground", "voice": "buscar", "voiceReply": "Buscando en google", "allowParams": "true" }
Regards!
-
@eocode, thanks for telling me about this problem. It was my fault. When I gave Alexa training examples, I only gave single-word examples. I added some multi-word examples and submitted the update. I hope that will allow you to send multiple words in the parameters field once Amazon approves the update.
EDIT: They seem to have approved the change, so please try it again. I tested it myself and it worked for me.
-
Great! I tried to run again and it works
Thanks Russ for the prompt attention!