Uses of Interface
org.springframework.ai.chat.messages.Message
Package
Description
-
Uses of Message in org.springframework.ai.bedrock
Modifier and TypeMethodDescriptionprotected String
MessageToPromptConverter.messageToString
(Message message) -
Uses of Message in org.springframework.ai.chat.messages
Modifier 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
Represents a chat message in a chat application.class
The FunctionMessage class represents a message with a function content in a chat application.class
A message of the type 'system' passed as input.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.prompt
Modifier and TypeMethodDescriptionAssistantPromptTemplate.createMessage()
AssistantPromptTemplate.createMessage
(Map<String, Object> model) PromptTemplate.createMessage()
PromptTemplate.createMessage
(Map<String, Object> model) PromptTemplateMessageActions.createMessage()
PromptTemplateMessageActions.createMessage
(Map<String, Object> model) SystemPromptTemplate.createMessage()
SystemPromptTemplate.createMessage
(Map<String, Object> model) Modifier and TypeMethodDescriptionChatPromptTemplate.createMessages()
ChatPromptTemplate.createMessages
(Map<String, Object> model) PromptTemplateChatActions.createMessages()
PromptTemplateChatActions.createMessages
(Map<String, Object> model) Prompt.getInstructions()