类的使用
com.ajaxjs.mcp.message.AiMessage
使用AiMessage的程序包
-
com.ajaxjs.mcp.message中AiMessage的使用
修饰符和类型方法说明static AiMessageAiMessage.aiMessage(ToolExecutionRequest... toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.static AiMessageCreate a newAiMessagewith the given text.static AiMessageAiMessage.aiMessage(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.AiMessage.Builder.build()static AiMessageAiMessage.from(ToolExecutionRequest... toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.static AiMessageCreate a newAiMessagewith the given text.static AiMessageAiMessage.from(String text, List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given text and tool execution requests.static AiMessageAiMessage.from(List<ToolExecutionRequest> toolExecutionRequests) Create a newAiMessagewith the given tool execution requests.