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: https://github.com/tinytechnicaltutor...
🌟 Alpha Vantage API for stock information: https://www.alphavantage.co/documenta...
🌟 Replit for an IDE and hosting: www.replit.com
🌟 OpenAI documentation for plugins: https://platform.openai.com/docs/plugins
🌟 Waitlist for ChatGPT plugin developer access: https://openai.com/waitlist/plugins
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
Смотрите видео Create a ChatGPT Plugin from Scratch | Step-by-Step Tutorial онлайн без регистрации, длительностью часов минут секунд в хорошем качестве. Это видео добавил пользователь Tiny Technical Tutorials 15 Июнь 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 8,06 раз и оно понравилось 23 людям.