From the course: Enhancing Your Productivity as a Data Scientist with Generative AI
Unlock this course with a free trial
Join today to access over 25,500 courses taught by industry experts.
Use case 17: API documentation assistant
From the course: Enhancing Your Productivity as a Data Scientist with Generative AI
Use case 17: API documentation assistant
- [Instructor] Okay, so the next use case is really straightforward as it builds up exactly on top of what we have just built before. Now we use the same GPT, the same assistant, and also the same chat as just previously. The only thing we are adding now is that we asked the GPT to create documentation based on what it just did. So in this case, actually went just one step further and said, let's deploy this as an API as well. Remember before we deployed our app using streamlet, and now we want to deploy just as an API and also we want to use Replit for this. Now the GPT will go ahead and list out all the steps of how we can do this. You see, we need to install some new packages over here. We need to create a new API file. This is the code for this API file, and then we save it on Replit. We call this command in order to launch our API and then our API should be ready under our custom URL. Feel free to follow along here, but that's not the main demonstration for this use case. The…