Setup · 1:32
Introduction and setup
VS Code and SDK.
- Build text apps in VS Code.
- Use the OpenAI SDK with Azure.
- Part of the Gen AI series.
| Tool | Role |
|---|---|
| VS Code | Editor |
| OpenAI SDK | Client |
Do this in your own tools, step by step. Ticks are saved on this device.
Editor?
VS Code.
Library?
OpenAI SDK.
0:08 okay hey folks welcome to another video in this series about generative AI my name is Chris noring I'm a senior Cloud Advocate at Microsoft and in this very exciting lesson you'll learn how to build your own text generation app isn't that super cool as usual you can go to this bottom link here at the slide akam Ms gen AI beginner that will show you the entire series of everything you want to know but this lesson is very Hands-On so without further Ado let's go into Visual Studio code your code editor where you can see how we can craft our own code and build our own AI augmented app so let's uh start off here where we used to be right we have a open text window there are a couple of things I want you to know about building apps like this one of them is uh how to import aser open aai we're going to need this to instantiate a client but before that we need libraries called open AI andv open AI this is the library that helps you make it easy to make those calls towards your Asher open AI or open
1:18 AI resource and get that response back from your AI assistant the other bit here is going to help us during development time and it's called envv has uh the role of loading secrets and other environment variables from an environment file the idea is that you have some kind of key value setup where you say these are my keys and these are
Get the other 3 chapters, the exam and your certificate for LinkedIn, plus all 700+ AI courses.