Uses of Class
org.springframework.ai.content.Media
Packages that use Media
Package
Description
Chat client API.
Core observation abstractions.
-
Uses of Media in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client that return types with arguments of type MediaModifier and TypeMethodDescriptionDefaultChatClient.DefaultChatClientRequestSpec.getMedia()DefaultChatClient.DefaultPromptUserSpec.media()Methods in org.springframework.ai.chat.client with parameters of type MediaModifier and TypeMethodDescription -
Uses of Media in org.springframework.ai.chat.messages
Fields in org.springframework.ai.chat.messages with type parameters of type MediaModifier and TypeFieldDescriptionAssistantMessage.Builder.mediaAssistantMessage.mediaUserMessage.mediaMethods in org.springframework.ai.chat.messages that return types with arguments of type MediaMethods in org.springframework.ai.chat.messages with parameters of type MediaMethod parameters in org.springframework.ai.chat.messages with type arguments of type Media -
Uses of Media in org.springframework.ai.chat.prompt
Method parameters in org.springframework.ai.chat.prompt with type arguments of type MediaModifier and TypeMethodDescriptionPromptTemplate.createMessage(List<Media> mediaList) PromptTemplateMessageActions.createMessage(List<Media> mediaList) -
Uses of Media in org.springframework.ai.content
Methods in org.springframework.ai.content that return MediaModifier and TypeMethodDescriptionMedia.Builder.build()Builds a new Media instance with the configured properties.Methods in org.springframework.ai.content that return types with arguments of type Media -
Uses of Media in org.springframework.ai.document
Methods in org.springframework.ai.document that return MediaModifier and TypeMethodDescription@Nullable MediaDocument.getMedia()Returns the document's media content, if any.Methods in org.springframework.ai.document with parameters of type MediaModifier and TypeMethodDescriptionSets the media content of the document.Constructors in org.springframework.ai.document with parameters of type MediaModifierConstructorDescriptionCreates a media document with a generated ID and the given metadata.Creates a media document with an explicit ID and the given metadata. -
Uses of Media in org.springframework.ai.image
Methods in org.springframework.ai.image that return types with arguments of type MediaConstructor parameters in org.springframework.ai.image with type arguments of type MediaModifierConstructorDescriptionImageMessage(String text, @Nullable Float weight, Collection<Media> media, Map<String, Object> metadata) Create a newImageMessage.