Skip to content
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

Support SummarizeImages with non-OpenAI LLMs. #941

Merged
merged 2 commits into from
Oct 17, 2024
Merged

Conversation

bsowell
Copy link
Contributor

@bsowell bsowell commented Oct 17, 2024

This commit adds a generic LLMImageSummarizer that takes an LLM instance. In order to account for differences in image formats accepted by the LLMs, I also added a format_image method to the LLM interface. Finally, I fixed a serialization issue in the Bedrock class by not serializing the boto client.

This commit adds a generic LLMImageSummarizer that takes an LLM
instance. In order to account for differences in image formats
accepted by the LLMs, I also added a `format_image` method to the LLM
interface. Finally, I fixed a serialization issue in the Bedrock class
by not serializing the boto client.
@bsowell bsowell requested a review from mdwelsh October 17, 2024 20:35
Copy link
Contributor

@mdwelsh mdwelsh left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

@bsowell bsowell merged commit b9c6f9f into main Oct 17, 2024
10 of 11 checks passed
@bsowell bsowell deleted the summarize_images_bedrock branch October 17, 2024 22:58
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