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 verdesIn 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!
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better đŸ’—
Register Login