k4l1sh / alexa-gpt

A tutorial on how to use ChatGPT in Alexa
MIT License
204 stars 44 forks source link

Persistent problem with the requested skill's response in Alexa #3

Closed imoforte closed 1 year ago

imoforte commented 1 year ago

Good morning. Note: Invocation name in Alexa must be a minimum of two words. I'm doing ALL what your manual says, step by step. Alexa's response: There was a problem with the requested skill's response

k4l1sh commented 1 year ago

If you edit directly the invocationName by JSON Editor you can put only one word. If you don't do it by JSON Editor, then you need to put two words image

imoforte commented 1 year ago

I understood. More so doing with a word or two... still doesn't work. And I'm strictly following the steps in the guide manual... but unfortunately... it still doesn't work

imoforte commented 1 year ago

Good morning

I understood. More so doing with a word or two... still doesn't work. And I'm strictly following the steps in the guide manual... but unfortunately... it still doesn't work.

Good Sunday

Em sáb., 13 de mai. de 2023 às 16:27, kalish @.***> escreveu:

If you edit directly the invocationName by JSON Editor you can put only one word. If you don't do it by JSON Editor, then you need to put two words [image: image] https://camo.githubusercontent.com/c5cae06c0e4892a38719c7ea26233755f318920dc03b7460a26cfef9326f77e6/68747470733a2f2f692e696d6775722e636f6d2f41565154526a6c2e706e67

— Reply to this email directly, view it on GitHub https://github.com/kalishcode/alexa-gpt/issues/3#issuecomment-1546735347, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHEB7ECZPGZKWKXV6SYFZD3XF7OB5ANCNFSM6AAAAAAX7UBI5U . You are receiving this because you authored the thread.Message ID: @.***>

k4l1sh commented 1 year ago

I don't know why it didn't work for you, so I modified this repository to be able to directly import the skill. Now you just need to follow steps 1, 2, 3, 4, 5, 12 and 13. See the changes in step 5 Let me know if now it works.

imoforte commented 1 year ago

Good morning. With your skill import function... it worked!! - Now it's working perfectly. Thank you very much. I have discovered the following... if I manually put the ALL code ...
if in requeriments if in requirements I put ...

ask-sdk-core==1.11.0 boto3==1.9.216 openai

It worked

if in requeriments if in requirement I put ONLY ...

ask-sdk-core==1.11.0 openai

Does not work.

I don't know why this happens.

But now I can make the code work without importing through git

Now that I've seen it... your application HAS now boto3==1.9.216

This is what avoids the error.

Thank you very much for your great help

k4l1sh commented 1 year ago

Perfect. I updated the README.md file to make sure boto3 is in the requirements.txt