Voice + GPT | Build your own AI assistant connected to GPT | Python | 2023

Опубликовано: 05 Июль 2026
на канале: Mikael Codes
16,127
352

Let's turbocharge our voice-controlled Python AI assistant by connecting it to OpenAI's API so that we can ask it any question and get a spoken response from our growing exobrain.

We'll look at how to gain access to OpenAI's API, how to formulate basic prompts and query that API, and then how to add a module to our AI Assistant so that it knows when to go ask ChatGPT for wisdom which it can then speak out to us.

Note that currently there is a cost to query the OpenAI API and you will need to add some card details to follow this tutorial exactly. One dollar should allow you to ask over 500 questions with the example parameters in the video.

00:00 Intro
00:38 Recap
02:41 OpenAI API
04:34 Coding the AI assistant
08:15 Querying the OpenAI API
11:25 Result
12:58 Closing

Code repository:
https://github.com/Mikael-Codes/ai-as...

OpenAI API documentation:
https://platform.openai.com/docs/intr...
Here you can also learn how to fine-tune your GPT models

Previous video on coding an AI assistant:
   • Python AI Assistant with a Natural Voice  

Click here to Subscribe:
   / @mikaelcodes  

What would you like to see next?

#Python #OpenAI #ChatGPT #AI #Coding #Tutorial