From the course: Oracle Cloud Infrastructure Generative AI Professional Cert Prep

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

(ambient music) - [Instructor] Welcome to this demo on OCI generative AI service API. In particular, in this demo, we are going to look at generative AI service inference API. Now what do I mean by inference API? If you click on this link here, you can see documentation on inference API. You can use the generative AI service inference API to access your custom model endpoints or try to use the out of the box models to generate text, summarize, or create text embeddings. In this particular demo, we are going to generate text and we are going to use the out-of-the-box models. So let's get started. The first thing I'm going to do is I'm in the OCI console here, generative AI service console. I'll click on playground and this takes me to the playground where I can interact with various models. Now, I'm going to pick the first model here and going to give a very simple prompt, such as how does a telescope work? And I'm using the cohere command here and it is generating a response, as you…

Contents