spring-projects / spring-projects/spring-ai
Add WebP image support for multimodality
Nobody has claimed this yet.
- Dominant language
- Java
- Stars
- 9.5k
- Forks
- 2.9k
- Avg merge
- 1d 7h
- Merged PRs (30d)
- 6
Description
Please do a quick search on GitHub issues first, the feature you are about to request might have already been requested. => I searched for "webp".
Expected Behavior
WebP images can be used in multimodality
Current Behavior
Currently no constant is available for WebP in https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/util/MimeTypeUtils.html which is used by Spring AI Media class.
Context
How has this issue affected you?
Currently my company has a PDF to WebP converter pipeline and we'd like to then send these webp images to a LLM supporting multimodality.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by inspecting the Spring AI Media class and the referenced Spring MimeTypeUtils API to see how supported image media types are represented. Confirm how multimodality inputs are tested in the repository, then verify that WebP images are accepted and covered by the relevant tests.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- java, spring
- Domain
- ai
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Quiet
- Clarity
- Mostly clear
- Newbie friendliness
- 67/100