Skip to content

Commit

Permalink
fix: Fixed links in image to add copy (#367)
Browse files Browse the repository at this point in the history
  • Loading branch information
lakshyaag committed Feb 6, 2024
1 parent b8df2be commit 3639aa6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/examples/image_to_ad_copy.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

This post demonstrates how to use GPT-4 Vision API and the Chat API to automatically generate advertising copy from product images. This method can be useful for marketing and advertising teams, as well as for e-commerce platforms.

The full code is available on [GitHub](https://github.com/jxnl/instructor/examples/vision/image_to_ad_copy.py).
The full code is available on [GitHub](https://github.com/jxnl/instructor/tree/main/examples/vision/image_to_ad_copy.py).

## Building the models

Expand Down Expand Up @@ -162,7 +162,7 @@ def generate_ad_copy(product: Product) -> AdCopy:

### Putting it all together

Finally, we can put it all together in a single function that takes a list of image URLs and generates advertising copy for the products identified in the images. Please refer to the [full code](https://github.com/jxnl/instructor/examples/vision/image_to_ad_copy.py) for the complete implementation.
Finally, we can put it all together in a single function that takes a list of image URLs and generates advertising copy for the products identified in the images. Please refer to the [full code](https://github.com/jxnl/instructor/tree/main/examples/vision/image_to_ad_copy.py) for the complete implementation.

## Input file

Expand Down

0 comments on commit 3639aa6

Please sign in to comment.