Implementation of Bing GPT as a Alexa Skil.
Youtube Demo
https://youtube.com/shorts/LKjYoFaYkv8?feature=share
You need python 3.10.9
pip install -r requirements.txt
on cmdpython server.py
https://developer.amazon.com/alexa/console/ask
Create Skill
other
use the custom model, in the bottom, select Alexa-hosted (Python)
and NextStart from scratch
and NextCreate Skill
Invocations
select Skill Invocation Name
and choose a nameInteraction Model
select Intents
to create your first intent for recieve the questions+ Add Intent
write QuestionIntent
and Create custom intent
Sample Utterances
add ask {question}
accept the dialog box Add
, and click in the +
to add.question
in the slot type choose AMAZON.SearchQuery
+ Add Intent
write CodeIntent
and Create custom intent
Sample Utterances
add password {code}
accept the dialog box Add
, and click in the +
to add.code
in the slot type choose AMAZON.SearchQuery
Save Model
and Build Model
code
replace the code on lambda_function.py
for the code on the github with the same nameSERVER_ADDRESS
and replace by your IP + port if needed. if you have trouble with port fowarding, see the next topic bellow.SAVE
and DEPLOY
Test
tab select Development
on topHello, say ask and your question!
ask what is your name?
say, password: ##
password ##
jprq-windows-amd64.exe http 8080
and you will recieve an SERVER_ADDRESS.