Skip to content

Image Understanding with RAG Cookbook #1838

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
May 19, 2025
Merged

Conversation

robtinn
Copy link
Contributor

@robtinn robtinn commented May 13, 2025

Summary

The goal of this PR is to add a new cookbook to the multimodal examples in this repo. The new OpenAI image understanding capabilities have unlocked new use cases for systems that analyse multimodal data and many real-world datasets are multimodal. The cookbook covers creating a model which can leverage text and image context to answer questions about a synthetic dataset, with evals to test performance for different models.

Motivation

Why are these changes necessary? How do they improve the cookbook?

  • There has been a lot of interest in the new OpenAI image understanding capabilities recently and this notebook explores how you can leverage them as part of a RAG workflow.
  • In addition, many teams are still using the chat completions API when a lot of new functionality is available in the Responses API which this cookbook focuses on, in particular File Search capabilities with image analysis context.
  • I am also helping organise content for a hackathon around customer service and many of the use cases that are popular projects for the hackathon are covered in this notebook, (I hope to share this cookbook as a template for starting the hackathon).
  • Generally, a lot of the examples for the Evals API are out-of-date or incomplete and this cookbook also covers a simple example of the Evals API end-to-end.

TODO: add authors in authors.yaml

@robtinn robtinn requested a review from lspacagna-oai May 13, 2025 09:07
@robtinn robtinn merged commit 024c433 into main May 19, 2025
1 check passed
@robtinn robtinn deleted the rtinn/image_understanding branch May 19, 2025 08:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants