| Modifier and Type | Method and Description |
|---|---|
static LLMObs.LLMMessage |
from(String role,
String content) |
static LLMObs.LLMMessage |
from(String role,
String content,
List<LLMObs.ToolCall> toolCalls) |
static LLMObs.LLMMessage |
from(String role,
String content,
List<LLMObs.ToolCall> toolCalls,
List<LLMObs.ToolResult> toolResults) |
static LLMObs.LLMMessage |
fromToolResults(String role,
List<LLMObs.ToolResult> toolResults) |
String |
getContent() |
String |
getRole() |
List<LLMObs.ToolCall> |
getToolCalls() |
List<LLMObs.ToolResult> |
getToolResults() |
public static LLMObs.LLMMessage from(String role, String content, List<LLMObs.ToolCall> toolCalls)
public static LLMObs.LLMMessage from(String role, String content, List<LLMObs.ToolCall> toolCalls, List<LLMObs.ToolResult> toolResults)
public static LLMObs.LLMMessage from(String role, String content)
public static LLMObs.LLMMessage fromToolResults(String role, List<LLMObs.ToolResult> toolResults)
public String getRole()
public String getContent()
public List<LLMObs.ToolCall> getToolCalls()
public List<LLMObs.ToolResult> getToolResults()