From the course: AI-Powered Software Development: Coding, Testing, and System Design
Unlock this course with a free trial
Join today to access over 24,900 courses taught by industry experts.
Text completion applications
From the course: AI-Powered Software Development: Coding, Testing, and System Design
Text completion applications
- [Instructor] All right, so now that we've created an API key and added it to our project, the next thing that we're gonna do is we're gonna see how to create a simple text completion application that uses ChatGPT to do basically what we usually use ChatGPT to do in the interface, which is generate some sort of response to a prompt. And by the way, I guess I should mention that this is the basis of a lot of the AI agents that are out there, is this very thing. So there's a lot more than meets the eye when you start creating programs that do this. So now that we have our API key, the next thing we're gonna need to do is enable billing. And yes, this is a little bit of a downside, but the good news is that after you create your account, if you enable billing, OpenAI usually, at least at the time of recording, gives you free credits to use. So you're gonna go up to your icon here and click on it, and then you're gonna go…
Contents
-
-
-
-
-
The basics of generative AI API integration5m 37s
-
(Locked)
Text completion applications6m 5s
-
(Locked)
Image generation and vision applications4m 45s
-
(Locked)
Audio and speech applications4m 43s
-
(Locked)
Challenge: Creating an AI-powered application1m 35s
-
(Locked)
Solution: Creating an AI-powered application5m 14s
-
-
-