Uses of Interface
org.springframework.ai.chat.messages.Message
Packages that use Message
Package
Description
Chat client.
Provides the API for chat client advisors.
-
Uses of Message in org.springframework.ai.bedrock
Methods in org.springframework.ai.bedrock with parameters of type MessageModifier and TypeMethodDescriptionprotected String
MessageToPromptConverter.messageToString
(Message message) Method parameters in org.springframework.ai.bedrock with type arguments of type Message -
Uses of Message in org.springframework.ai.chat.client
Methods in org.springframework.ai.chat.client that return types with arguments of type MessageMethods in org.springframework.ai.chat.client with parameters of type MessageModifier and TypeMethodDescriptionMethod parameters in org.springframework.ai.chat.client with type arguments of type MessageModifier and TypeMethodDescription -
Uses of Message in org.springframework.ai.chat.client.advisor.api
Methods in org.springframework.ai.chat.client.advisor.api that return types with arguments of type MessageModifier and TypeMethodDescriptionAdvisedRequest.messages()
Returns the value of themessages
record component.Method parameters in org.springframework.ai.chat.client.advisor.api with type arguments of type MessageModifier and TypeMethodDescriptionAdvisedRequest.Builder.withMessages
(List<Message> messages) Set the messages. -
Uses of Message in org.springframework.ai.chat.memory
Methods in org.springframework.ai.chat.memory that return types with arguments of type MessageModifier and TypeMethodDescriptionMethods in org.springframework.ai.chat.memory with parameters of type MessageModifier and TypeMethodDescriptionvoid
default void
Method parameters in org.springframework.ai.chat.memory with type arguments of type Message -
Uses of Message in org.springframework.ai.chat.messages
Classes in org.springframework.ai.chat.messages that implement MessageModifier and TypeClassDescriptionclass
The AbstractMessage class is an abstract implementation of the Message interface.class
Lets the generative know the content was generated as a response to the user.class
A message of the type 'system' passed as input.class
The ToolResponseMessage class represents a message with a function content in a chat application.class
A message of the type 'user' passed as input Messages with the user role are from the end-user or developer. -
Uses of Message in org.springframework.ai.chat.model
Methods in org.springframework.ai.chat.model that return types with arguments of type MessageModifier and TypeMethodDescriptionAbstractToolCallSupport.buildToolCallConversation
(List<Message> previousMessages, AssistantMessage assistantMessage, ToolResponseMessage toolResponseMessage) ToolContext.getToolCallHistory()
Returns the tool call history from the context map.AbstractToolCallSupport.handleToolCalls
(Prompt prompt, ChatResponse response) Methods in org.springframework.ai.chat.model with parameters of type MessageMethod parameters in org.springframework.ai.chat.model with type arguments of type MessageModifier and TypeMethodDescriptionAbstractToolCallSupport.buildToolCallConversation
(List<Message> previousMessages, AssistantMessage assistantMessage, ToolResponseMessage toolResponseMessage) -
Uses of Message in org.springframework.ai.chat.prompt
Methods in org.springframework.ai.chat.prompt that return MessageModifier and TypeMethodDescriptionAssistantPromptTemplate.createMessage()
AssistantPromptTemplate.createMessage
(Map<String, Object> model) PromptTemplate.createMessage()
PromptTemplate.createMessage
(List<Media> mediaList) PromptTemplate.createMessage
(Map<String, Object> model) PromptTemplateMessageActions.createMessage()
PromptTemplateMessageActions.createMessage
(List<Media> mediaList) PromptTemplateMessageActions.createMessage
(Map<String, Object> model) SystemPromptTemplate.createMessage()
SystemPromptTemplate.createMessage
(Map<String, Object> model) Methods in org.springframework.ai.chat.prompt that return types with arguments of type MessageModifier and TypeMethodDescriptionChatPromptTemplate.createMessages()
ChatPromptTemplate.createMessages
(Map<String, Object> model) PromptTemplateChatActions.createMessages()
PromptTemplateChatActions.createMessages
(Map<String, Object> model) Prompt.getInstructions()
Constructors in org.springframework.ai.chat.prompt with parameters of type MessageConstructor parameters in org.springframework.ai.chat.prompt with type arguments of type Message -
Uses of Message in org.springframework.ai.model.function
Methods in org.springframework.ai.model.function that return types with arguments of type MessageModifier and TypeMethodDescriptionFunctionCallingHelper.buildToolCallConversation
(List<Message> previousMessages, AssistantMessage assistantMessage, ToolResponseMessage toolResponseMessage) FunctionCallingHelper.handleToolCalls
(Prompt prompt, ChatResponse response) Method parameters in org.springframework.ai.model.function with type arguments of type MessageModifier and TypeMethodDescriptionFunctionCallingHelper.buildToolCallConversation
(List<Message> previousMessages, AssistantMessage assistantMessage, ToolResponseMessage toolResponseMessage) -
Uses of Message in org.springframework.ai.watsonx.utils
Methods in org.springframework.ai.watsonx.utils with parameters of type MessageModifier and TypeMethodDescriptionprotected String
MessageToPromptConverter.messageToString
(Message message) Method parameters in org.springframework.ai.watsonx.utils with type arguments of type Message