Explanation Of Video - Connecting ChatGPT to an Alexa Skill



Table of Internal Links
Create Skill button (1) Name, Locale (2) Experience, Model, Hosting (3) Templates (4) Review
 
the Build tab Invocations Interaction Model Add Intent Create Custom Intent Intents / AskchatgptIntent  
  Sample Utterances Select an Existing Slot Intent Slots Slot Type Save Model Build Model
 
the Code tab First Look at Index.js Pasting New Code lambda Submenu Create File PopUp
  Empty Keys.js File Pasting to Keys.js File Save Button Deploy Button
 
the Test tab Changing Testing Mode Development Screen Alexa Simulator: Type Or Click
  Conversation Displayed Ask: How Many People in the World Ask: What Is ChatGPT


Notes from: Connect ChatGPT-3 with an Alexa skill

The "Create Skill" button

The first of 4 screens used to Create a New Skill is displayed.

(1) Name, Locale

(2) Experience, Model, Hosting service

(3) Templates

(4) Review

Creating the Alexa hosted skill


the "Build" tab

"Invocations" from the Custom panel

"Interaction Model" from the Custom panel

the "Add Intent" button from the center panel

the "Add Intent" screen from the center panel

the "Create custom intent" button from the Add Intent screen

the "Intents / AskchatgptIntent" from the main panel

the "Sample Utterances (0)" text box

the "Select an Existing Slot" pop-up window - And Creating the First Utterance

the "Select an Existing Slot" pop-up window - And Creating the Second Utterance

the "Intent Slots (1)" section from the main panel

the "Slot Type" drop-down text box from the "Intent Slots" section of the "Intents / AskChatgptIntent" window on the main panel

the "Save Model" button towards the top of the "Intents / AskChatgptInten" screen

the "Build Model" button to the right of the "Save Model" button


We need Code to Intergrates the Two Technologies: Chatgpt and Alexa


The "Code" tab

First look at the code for index.js in Alexa Developer Console's "Code" tab

Pasting the new code from Visual Studio to the Alexa Developer Console's "Code" tab, overwriting the index.js that was originally there.

Was the code that was placed into Visual Studio automatic ? Did the Alexa Developer Console somehow place the code into Visual Studio ?

Or was the new code created in a particular folder and Visual Studio can open and display it ?

the lambda submenu with the "Create File" option

the "Create File" pop-up window with the "File Path" text box and the "Create File" button

the empty Keys.js file

Pasting one line of code into Keys.js

the "Save" button in Alexa Developer Console's "Code" tab

the "Deploy" button in Alexa Developer Console's "Code" tab


The "Test" tab

Changing Testing Mode from "Off" to "Development"

The Development Screen and its panels

Alexa Simulator - the "Type or click and hold the mic" text box

Alexa Simulator - conversation displayed in the left panel, and spoken

Asking - how many people in the world ?

Asking - what is chat gpt ?

The End



Reserve



Version Info