Uses of Class
org.springframework.ai.model.Media.Builder
Package
Description
Provides a set of interfaces and classes for a generic API designed to interact with
various AI models.
-
Uses of Media.Builder in org.springframework.ai.model
Modifier and TypeMethodDescriptionstatic final Media.Builder
Media.builder()
Creates a new Media builder.Sets the media data from any Object.Sets the media data from a URL.Media.Builder.data
(org.springframework.core.io.Resource resource) Sets the media data from a Resource.Sets the ID for the media object.Media.Builder.mimeType
(org.springframework.util.MimeType mimeType) Sets the MIME type for the media object.Sets the name for the media object.