From the course: Oracle Cloud Infrastructure Generative AI Professional

Unlock this course with a free trial

Join today to access over 24,900 courses taught by industry experts.

Demo: OCI Generative AI service inference API

Demo: OCI Generative AI service inference API

(soft music) - [Rohit] Welcome to this demo on OCI Generative AI Inference API. So, in the previous demo, we saw how you can interact with the OCI Generative AI chat models using the management console and what we refer to as playground. So I can come here and all the models are listed. I can choose a particular example, which is around generating a job description and click submit. And now the chat model is generating a job description for a senior data visualization expert. And you can see all the details here. Now what if I don't want to use the management console, but rather use the same thing in a program using an SDK programmatically. So the way you do that is you click on view code and console makes it super easy. And I can see the code to execute this in both Java and Python. So I'll click Python here and you can see the code is listed right here. I can copy this code and now I can run this locally on my machine. So the way we do that is using what we refer to as Python…

Contents