I’m trying to set up an Alexa chatbot with ChatGPT, as described in the YouTube video “Use ChatGPT inside your Alexa For FREE - Step-by-Step Tutorial”. Ultimately I’d like to say “Alexa, ask ChatGPT [whatever]” and have [whatever] passed directly to the ChatGPT API for a response.
Here is my current flow structure:
Start
↓
Capture entire user reply to {Query}
↓
POST {Query} to ChatGPT API
↓
Capture response to {APIreply}
↓
Speak {APIreply}
I know the API connection is set up correctly, because when I directly test the {Query} variable (using the “Send Request” modal that returns JSON), the response from the API contains the correct answer. Also, when I test the whole flow, the speech-to-text transcribes my voice accurately, and the voice at the end reads the response from ChatGPT. However, whether I speak the question or type it in the chat window, the voice always replies as if I had sent the API “0”. I can even change the API request to “Describe the history of {Query}” and it will respond with the history of the numeral zero. So everything appears to be working, it just fails to transfer my captured user input to the API.
According to comments from the YouTube video I mentioned, the problem was a bug that has since been reported and fixed, but it still seems to be happening for me. Any ideas where the disconnect is here?