An Alexa Skill template that gives you a ready to use skill to start a turn conversation with an AI. Ask a question and get answered with Alexa's soothing voice, powered by ChatGPT or other llm.
- Copy
config.example.json
toconfig.json
- Set
llm_url
value inconfig.json
to an Open AI API Compatible provider api url. - Set
llm_key
inconfig.json
to your llm provider API key - Set
llm_model
to a provider compatiblemodel
argument (or 'webhook' to proxy request as POST tollm_api_url
), inconfig.json
. - Zip this repository (to later import it in the Alexa Developer Console).
- Create a new Alexa Skill in the Alexa Developer Console.
- Go in the Code tab of the Alexa Developer Console and click "Import Code".
- Select the zip file with the contents of this repository.
- Click "Save" and "Build Model".
- Go in the Test tab of the Alexa Developer Console and test! You can also use your alexa devices if they are connected to the same account!
Alexa, I want to ask <invokation_name> a question
Alexa, ask <invokation_name> about our solar system
Alexa, ask <invokation_name> to explain the NP theorem
Use at your own risk. This is a template and should be used as a starting point for your own Alexa Skill. The code is provided as is and I am not responsible for any misuse or damages caused by this code.