From the course: OpenAI API: Vision

Unlock the full course today

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

Challenge: Ecommerce description

Challenge: Ecommerce description - OpenAI API Tutorial

From the course: OpenAI API: Vision

Challenge: Ecommerce description

(upbeat music) - [Instructor] Are you ready for a little challenge? In this one, we're going to create descriptions for an e-commerce website, and we'll return them in a JSON compatible list. Now, the image of a mug that we looked at before comes from this imaginary e-commerce website called Binaryville, and it has various aprons and baseball hats, as well as T-shirts and mugs. We're just going to create descriptions for all these mugs. So I've taken all four image URLs for these mugs, and if we navigate to our exercise files to 0104 eCommerce dot py, you'll see that I've added them to the content, and I've added all four here. So we're going to have four images accompanied by one prompt. The prompt is defined right here, and it's ready for you to create. Now what I want you to do is experiment a little bit to see how you can get very good marketing material out of this. So we want to think about the output format and…

Contents