ChatGPT plug-ins are here! One of the newest features available with GPT-4, plugins effectively allow you to get out to the internet to retrieve real-time information from the provider. Plugins are currently available for a handful of companies like Expedia, Kayak or Wolfram, but even more exciting is that you can create your own! And that’s the focus of this video.
In this hands-on tutorial, I’ll walk you step-by-step through how to create a ChatGPT plugin from scratch (but with code provided if you’d like it). Using Replit, we’ll create a Flask API that retrieves stock information from an external API (Alpha Vantage). Then we’ll test it locally before deploying it to a public endpoint (also hosted in Replit). Finally, we’ll install the plugin from the ChatGPT interface and see it in action.
Links referenced in this video:
🌟 Code in GitHub: [ Ссылка ]
🌟 Alpha Vantage API for stock information: [ Ссылка ]
🌟 Replit for an IDE and hosting: www.replit.com
🌟 OpenAI documentation for plugins: [ Ссылка ]
🌟 Waitlist for ChatGPT plugin developer access: [ Ссылка ]
00:00 – Previewing the ChatGPT plugins we’ll build together from scratch
01:11 – Getting on the OpenAI waitlist for ChatGPT plugin development
02:20 – What exactly is a ChatGPT plugin? The three components.
03:03 – Overviewing the Python/Flask app we’ll build to retrieve stock information
03:48 – Getting a free API key for Alpha Vantage
04:23 – Setting up an IDE and web host (I’m using Replit)
05:28 – Getting started with replit.com and a Repl project for our plugin
06:00 – Importing or cloning a GitHub repo into a Replit Repl
06:35 – Reviewing the Flask API code in main.py
10:10 – Reviewing the ai-plugin.json code
11:00 - Reviewing the openapi.yaml file
12:10 – Testing our Flask API locally in Replit
14:22 – Starting the deployment of our API to a public endpoint through Replit
14:45 – Pricing for hosting in Replit
15:26 – Updating the domain name in the manifest (ai-plugin.json) and OpenAPI spec (openapi.yaml)
17:00 – Doing the actual deployment with Replit and testing it
17:57 – Installing our custom plugin from the ChatGPT interface
18:27 – Using “develop your own plugin” link and what to do if you don’t see it
19:57 – The moment of truth! Testing our custom ChatGPT plugin
20:43 – Reviewing next steps and the full documentation from OpenAI
21:17 – IMPORTANT! Shutting down the deployment/hosting subscription in Replit
![](https://s2.save4k.ru/pic/-GV7DAJ4dVU/maxresdefault.jpg)