Alexa and ChatGPT
- Internal Links:
- External Links:
First Finds
YouTube Search
Related Articles
- Linked in | 01/20/23 | Alexa & ChatGPT: a match made in AI heaven
- Late in 2022, the media was writing off smart speakers like Alexa and Google Home as a "colossal failure."
- But then something happened: ChatGPT launched and everyone on the planet realized just how world-altering LLMs (large language models) and AI will be for our future.
- Organization | MM/DD/YY | reserve for Title
- reserve for bullet point from article
- reserve for bullet point from article
- reserve
Notes from: Connect ChatGPT-3 with an Alexa skill
Notes from: Alexa and GPT-3
Details from the "Alexa and GPT-3" YouTube Video
- 00:00:11 The first "slide" displays the speaker's contact info with lots of references to "habuma"
- 00:00:35 the video shows a DOS Command Prompt screen displaying: [habuma:videos]$
- 00:01:42 he says: he will create an Alexa skill, that uses openAI GPT-3 as its source of information
- so you can ask it anything you want
- 00:01:59 he says: I will create a new project
- at the prompt he types: [habuma:videos]$ ask new
- 00:02:01 after he types "ask new", the following text is displayed on the Command Prompt
- note: programming language: NodeJS
- note: method to host backend: Alexa-hosted skills
- note: default region: us-east-1
- note: folder name for the skill project: MisterKnowItAll
- Creating your Alexa hosted skill. It will take about a minute
- Go to Top | Video
- 00:02:18 He said it takes about a minute to create the skill, set it up, and to clone to one of his directories, so he can start to work on it.
- 00:02:34 Command Prompt displaying: Cloning Alexa Hosted Skill
- Go to Top | Video
- 00:02:44 the first thing he's doing is changing directories to "MisterKnowItAll" by typing in the command: CD MisterKnowItAll
- 00:02:50 he says: we need to install the "openai" library, he types into the command prompt screen: npm install --prefix lambda openai
- 00:02:53 he says: we have to use this prefix because all the lambda code, node.js code, is living in the lamba directory
- Go to Top | Video
- 00:03:08 he says: now we're ready to open this thing up, he types: code . and the Command Prompt disappears
- 00:03:16 and it first looks like Visual Studio is displaying an "Alexa Skills Kit" screen that includes items like:
- Create new skill, Import existing skill, Manage account profiles, Developer blog, etc
- However, he closes that screen, still leaving Visual Studio up.
- 00:03:29 he says he wants to make a few changes to the interaction model
- in the left panel he expands "skill-package", then he expands "interactiveModels", then he selects "en-US.json"
- and now code statements are displayed on Visual Studio's main panel
- 00:03:31 on one line of code is: "invocationName": "change me",
- we need to place a name in there, he explains you launch an Alexa skill by saying the invocationName
- Go to Top | Video
- 00:00:00 reserve
- 00:00:00 reserve
- 00:00:00 reserve
- 00:00:00 reserve
- 00:00:00 reserve
- 00:00:00 reserve
Reserve
Version Info