Uses of Class
org.springframework.ai.model.Media
Packages that use Media
Package
Description
Chat client.
Provides the API for chat client advisors.
Provides a set of interfaces and classes for a generic API designed to interact with
various AI models.
-
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.client.advisor.api
Methods in org.springframework.ai.chat.client.advisor.api that return types with arguments of type MediaModifier and TypeMethodDescriptionAdvisedRequest.media()
Returns the value of themedia
record component.Method parameters in org.springframework.ai.chat.client.advisor.api with type arguments of type MediaModifier and TypeMethodDescriptionSet the media.Constructor parameters in org.springframework.ai.chat.client.advisor.api with type arguments of type MediaModifierConstructorDescriptionAdvisedRequest
(ChatModel chatModel, String userText, String systemText, ChatOptions chatOptions, List<Media> media, List<String> functionNames, List<FunctionCallback> functionCallbacks, List<Message> messages, Map<String, Object> userParams, Map<String, Object> systemParams, List<Advisor> advisors, Map<String, Object> advisorParams, Map<String, Object> adviseContext, Map<String, Object> toolContext) Creates an instance of aAdvisedRequest
record class. -
Uses of Media in org.springframework.ai.chat.messages
Fields in org.springframework.ai.chat.messages with type parameters of type MediaMethods in org.springframework.ai.chat.messages that return types with arguments of type MediaConstructors in org.springframework.ai.chat.messages with parameters of type MediaConstructor parameters in org.springframework.ai.chat.messages with type arguments of type MediaModifierConstructorDescriptionUserMessage
(String textContent, Collection<Media> mediaList, Map<String, Object> metadata) UserMessage
(String textContent, List<Media> media) UserMessage
(MessageType messageType, String textContent, Collection<Media> media, Map<String, Object> metadata) -
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.document
Methods in org.springframework.ai.document that return types with arguments of type MediaMethods in org.springframework.ai.document with parameters of type MediaMethod parameters in org.springframework.ai.document with type arguments of type MediaConstructor parameters in org.springframework.ai.document with type arguments of type Media -
Uses of Media in org.springframework.ai.model
Methods in org.springframework.ai.model that return types with arguments of type MediaModifier and TypeMethodDescriptionMediaContent.getMedia()
Get the media associated with the content.