Uses of Class
org.springframework.ai.model.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
Modifier and TypeMethodDescriptionDefaultChatClient.DefaultChatClientRequestSpec.getMedia()
DefaultChatClient.DefaultPromptUserSpec.media()
Modifier and TypeMethodDescription -
Uses of Media in org.springframework.ai.chat.client.advisor.api
Modifier and TypeMethodDescriptionAdvisedRequest.media()
Returns the value of themedia
record component.Modifier and TypeMethodDescriptionSet the media.ModifierConstructorDescriptionAdvisedRequest
(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
ModifierConstructorDescriptionUserMessage
(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
Modifier and TypeMethodDescriptionPromptTemplate.createMessage
(List<Media> mediaList) PromptTemplateMessageActions.createMessage
(List<Media> mediaList) -
Uses of Media in org.springframework.ai.document
-
Uses of Media in org.springframework.ai.model
Modifier and TypeMethodDescriptionMediaContent.getMedia()
Get the media associated with the content.