Azure-Samples / azure-openai-gpt-4-vision-pdf-extraction-sample

This sample demonstrates how to use GPT-4o with Vision to extract structured JSON data from PDF documents, such as invoices, using the Azure OpenAI Service.
MIT License
56 stars 16 forks source link

Update for GPT-4o #5

Closed jamesmcroft closed 3 months ago

jamesmcroft commented 4 months ago

Purpose

This pull request contains changes primarily focused on updating the usage of Azure OpenAI from GPT-4 Vision to GPT-4o in both the README.md and Sample.ipynb files. The changes include modifications to the descriptions and instructions for using the OpenAI model, as well as updates to the code snippets to reflect the new model.

Major changes include:

Updating model references:

Changes in instructions:

Modifications in code snippets:

Please review these changes with the context of the transition from GPT-4 Vision to GPT-4o in Azure OpenAI usage.

Does this introduce a breaking change?

[ ] Yes
[x] No

Pull Request Type

What kind of change does this Pull Request introduce?

[ ] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[x] Refactoring (no functional changes, no api changes)
[ ] Documentation content changes
[ ] Other... Please describe:

Other Information