@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsInferenceRunResult extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ASSESSMENT |
static String |
JSON_PROPERTY_CONTENT |
static String |
JSON_PROPERTY_FINISH_REASON |
static String |
JSON_PROPERTY_INFERENCE_CODES |
static String |
JSON_PROPERTY_INPUT_TOKENS |
static String |
JSON_PROPERTY_INTERNAL_REASONING |
static String |
JSON_PROPERTY_LATENCY |
static String |
JSON_PROPERTY_OUTPUT_TOKENS |
static String |
JSON_PROPERTY_TOOLS |
static String |
JSON_PROPERTY_TOTAL_TOKENS |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsInferenceRunResult() |
LLMObsInferenceRunResult(String assessment,
String content,
String finishReason,
List<LLMObsInferenceCode> inferenceCodes,
Long inputTokens,
Long latency,
Long outputTokens,
List<LLMObsInferenceTool> tools,
Long totalTokens) |
| Modifier and Type | Method and Description |
|---|---|
LLMObsInferenceRunResult |
addInferenceCodesItem(LLMObsInferenceCode inferenceCodesItem) |
LLMObsInferenceRunResult |
addToolsItem(LLMObsInferenceTool toolsItem) |
LLMObsInferenceRunResult |
assessment(String assessment) |
LLMObsInferenceRunResult |
content(String content) |
boolean |
equals(Object o)
Return true if this LLMObsInferenceRunResult object is equal to o.
|
LLMObsInferenceRunResult |
finishReason(String finishReason) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
String |
getAssessment()
An optional assessment of the inference output quality.
|
String |
getContent()
The text content of the model response.
|
String |
getFinishReason()
The reason the model stopped generating tokens.
|
List<LLMObsInferenceCode> |
getInferenceCodes()
List of generated code snippets for the inference configuration.
|
Long |
getInputTokens()
Number of input tokens consumed.
|
LLMObsInternalReasoning |
getInternalReasoning()
The model's internal reasoning or thinking output, if available.
|
Long |
getLatency()
Request latency in milliseconds.
|
Long |
getOutputTokens()
Number of output tokens generated.
|
List<LLMObsInferenceTool> |
getTools()
List of tools available to the model.
|
Long |
getTotalTokens()
Total tokens used (input plus output).
|
int |
hashCode() |
LLMObsInferenceRunResult |
inferenceCodes(List<LLMObsInferenceCode> inferenceCodes) |
LLMObsInferenceRunResult |
inputTokens(Long inputTokens) |
LLMObsInferenceRunResult |
internalReasoning(LLMObsInternalReasoning internalReasoning) |
LLMObsInferenceRunResult |
latency(Long latency) |
LLMObsInferenceRunResult |
outputTokens(Long outputTokens) |
LLMObsInferenceRunResult |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
void |
setAssessment(String assessment) |
void |
setContent(String content) |
void |
setFinishReason(String finishReason) |
void |
setInferenceCodes(List<LLMObsInferenceCode> inferenceCodes) |
void |
setInputTokens(Long inputTokens) |
void |
setInternalReasoning(LLMObsInternalReasoning internalReasoning) |
void |
setLatency(Long latency) |
void |
setOutputTokens(Long outputTokens) |
void |
setTools(List<LLMObsInferenceTool> tools) |
void |
setTotalTokens(Long totalTokens) |
LLMObsInferenceRunResult |
tools(List<LLMObsInferenceTool> tools) |
String |
toString() |
LLMObsInferenceRunResult |
totalTokens(Long totalTokens) |
public boolean unparsed
public static final String JSON_PROPERTY_ASSESSMENT
public static final String JSON_PROPERTY_CONTENT
public static final String JSON_PROPERTY_FINISH_REASON
public static final String JSON_PROPERTY_INFERENCE_CODES
public static final String JSON_PROPERTY_INPUT_TOKENS
public static final String JSON_PROPERTY_INTERNAL_REASONING
public static final String JSON_PROPERTY_LATENCY
public static final String JSON_PROPERTY_OUTPUT_TOKENS
public static final String JSON_PROPERTY_TOOLS
public static final String JSON_PROPERTY_TOTAL_TOKENS
public LLMObsInferenceRunResult assessment(String assessment)
@Nullable public String getAssessment()
public void setAssessment(String assessment)
public LLMObsInferenceRunResult content(String content)
public String getContent()
public void setContent(String content)
public LLMObsInferenceRunResult finishReason(String finishReason)
public String getFinishReason()
public void setFinishReason(String finishReason)
public LLMObsInferenceRunResult inferenceCodes(List<LLMObsInferenceCode> inferenceCodes)
public LLMObsInferenceRunResult addInferenceCodesItem(LLMObsInferenceCode inferenceCodesItem)
public List<LLMObsInferenceCode> getInferenceCodes()
public void setInferenceCodes(List<LLMObsInferenceCode> inferenceCodes)
public LLMObsInferenceRunResult inputTokens(Long inputTokens)
public Long getInputTokens()
public void setInputTokens(Long inputTokens)
public LLMObsInferenceRunResult internalReasoning(LLMObsInternalReasoning internalReasoning)
@Nullable public LLMObsInternalReasoning getInternalReasoning()
public void setInternalReasoning(LLMObsInternalReasoning internalReasoning)
public LLMObsInferenceRunResult latency(Long latency)
public Long getLatency()
public void setLatency(Long latency)
public LLMObsInferenceRunResult outputTokens(Long outputTokens)
public Long getOutputTokens()
public void setOutputTokens(Long outputTokens)
public LLMObsInferenceRunResult tools(List<LLMObsInferenceTool> tools)
public LLMObsInferenceRunResult addToolsItem(LLMObsInferenceTool toolsItem)
public List<LLMObsInferenceTool> getTools()
public void setTools(List<LLMObsInferenceTool> tools)
public LLMObsInferenceRunResult totalTokens(Long totalTokens)
public Long getTotalTokens()
public void setTotalTokens(Long totalTokens)
public LLMObsInferenceRunResult putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.