How to integrate OpenAI GPT3 with a Databases – Crash Course

Adrian Twarog

Databases can be connected to an AI through an API. In this tutorial, I’ll show the practical uses of creating a simple connection from OpenAI to a new Database built on Singlestore.

00:00 – Introduction
01:00 – Project Plan
01:32 – Accessing Youtube API
01:59 – Connecting to the Youtube API
03:07 – Retrieving Comments from Youtubes API
04:16 – Setting up a Database on SingleStore
05:01 – Connecting to the Database via API
05:50 – Creating Database Tables and Structures
06:34 – Inserting Row to Database
07:31 – Populating Database with Youtube Comments
09:36 – Connect to OpenAI API
11:09 – Connect Database to GPT3
14:05 – Using GPT AI to Analyse and Update Database
16:29 – Conclusion

⭐ New – Teach Me OpenAI Digital Book ⭐
I’ve put together a easy to understand book with ~60 pages about OpenAI and GPT with how to get started to integrate it into projects, code examples, and much more!

SingleStore: (also today’s sponsor)
Unified data engine for transactional and analytical workloads.

Creator of ChatGPT, Open AI creates models like davinci, ada, and chat gpt and can be accessed via their APIs.

Learn Design for Developers!
A book I’ve created to help you improve the look of your apps and websites.
📘 Enhance UI:

Feel free to follow me on:
🐦 Twitter:
💬 Discord:
💸 Patreon:

Software & Discounts:
🚾 Webflow:
🌿 Envato:
🌿 Envato Elements:
🔴 Elementor:
✖ Editor X:

Computer Gear:
⬛ Monitor:
⌨ Keyboard:
🐁 Mouse:
🎤 Mic:
📱 Tablet:
💡 Lighting:
💡 Key Lighting:

Camera Equipment:
📷 Camera:
📸 Primary Lens:
📸 Secondary Lens:
🎥 Secondary Camera:
🎙 Camera Mic:
🎞 USB to HDMI: