Uses of Class
dev.langchain4j.data.message.AiMessage
Packages that use AiMessage
Package
Description
-
Uses of AiMessage in dev.langchain4j.data.message
Methods in dev.langchain4j.data.message that return AiMessageModifier and TypeMethodDescriptionstatic AiMessage
AiMessage.aiMessage
(ToolExecutionRequest... toolExecutionRequests) Create a newAiMessage
with the given tool execution requests.static AiMessage
Create a newAiMessage
with the given text.static AiMessage
AiMessage.aiMessage
(String text, List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessage
with the given text and tool execution requests.static AiMessage
AiMessage.aiMessage
(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessage
with the given tool execution requests.AiMessage.Builder.build()
static AiMessage
AiMessage.from
(ToolExecutionRequest... toolExecutionRequests) Create a newAiMessage
with the given tool execution requests.static AiMessage
Create a newAiMessage
with the given text.static AiMessage
AiMessage.from
(String text, List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessage
with the given text and tool execution requests.static AiMessage
AiMessage.from
(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessage
with the given tool execution requests. -
Uses of AiMessage in dev.langchain4j.model.chat.response
Methods in dev.langchain4j.model.chat.response that return AiMessageMethods in dev.langchain4j.model.chat.response with parameters of type AiMessageModifier and TypeMethodDescription -
Uses of AiMessage in dev.langchain4j.model.input
Methods in dev.langchain4j.model.input that return AiMessage