public class AiMessage extends ChatMessage
ToolExecutionResultMessage.text| Constructor and Description |
|---|
AiMessage(List<ToolExecutionRequest> toolExecutionRequests) |
AiMessage(String text) |
| Modifier and Type | Method and Description |
|---|---|
static AiMessage |
aiMessage(List<ToolExecutionRequest> toolExecutionRequests) |
static AiMessage |
aiMessage(String text) |
static AiMessage |
aiMessage(ToolExecutionRequest... toolExecutionRequests) |
boolean |
equals(Object o) |
static AiMessage |
from(List<ToolExecutionRequest> toolExecutionRequests) |
static AiMessage |
from(String text) |
static AiMessage |
from(ToolExecutionRequest... toolExecutionRequests) |
int |
hashCode() |
boolean |
hasToolExecutionRequests() |
List<ToolExecutionRequest> |
toolExecutionRequests() |
String |
toString() |
ChatMessageType |
type() |
textpublic AiMessage(String text)
public AiMessage(List<ToolExecutionRequest> toolExecutionRequests)
public List<ToolExecutionRequest> toolExecutionRequests()
public boolean hasToolExecutionRequests()
public ChatMessageType type()
type in class ChatMessagepublic static AiMessage from(ToolExecutionRequest... toolExecutionRequests)
public static AiMessage from(List<ToolExecutionRequest> toolExecutionRequests)
public static AiMessage aiMessage(ToolExecutionRequest... toolExecutionRequests)
public static AiMessage aiMessage(List<ToolExecutionRequest> toolExecutionRequests)
Copyright © 2023. All rights reserved.