@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsIntegrationInferenceResponse extends Object
| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ANTHROPIC_METADATA |
static String |
JSON_PROPERTY_AZURE_OPENAI_METADATA |
static String |
JSON_PROPERTY_BEDROCK_METADATA |
static String |
JSON_PROPERTY_ERROR_RESPONSE |
static String |
JSON_PROPERTY_FREQUENCY_PENALTY |
static String |
JSON_PROPERTY_JSON_SCHEMA |
static String |
JSON_PROPERTY_MAX_COMPLETION_TOKENS |
static String |
JSON_PROPERTY_MAX_TOKENS |
static String |
JSON_PROPERTY_MESSAGES |
static String |
JSON_PROPERTY_MODEL_ID |
static String |
JSON_PROPERTY_OPENAI_METADATA |
static String |
JSON_PROPERTY_PRESENCE_PENALTY |
static String |
JSON_PROPERTY_RESPONSE |
static String |
JSON_PROPERTY_TEMPERATURE |
static String |
JSON_PROPERTY_TOOLS |
static String |
JSON_PROPERTY_TOP_K |
static String |
JSON_PROPERTY_TOP_P |
static String |
JSON_PROPERTY_VERTEX_AI_METADATA |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsIntegrationInferenceResponse() |
LLMObsIntegrationInferenceResponse(List<LLMObsInferenceMessage> messages,
String modelId,
LLMObsInferenceRunResult response) |
| Modifier and Type | Method and Description |
|---|---|
LLMObsIntegrationInferenceResponse |
addMessagesItem(LLMObsInferenceMessage messagesItem) |
LLMObsIntegrationInferenceResponse |
addToolsItem(LLMObsInferenceTool toolsItem) |
LLMObsIntegrationInferenceResponse |
anthropicMetadata(LLMObsAnthropicMetadata anthropicMetadata) |
LLMObsIntegrationInferenceResponse |
azureOpenaiMetadata(LLMObsAzureOpenAIMetadata azureOpenaiMetadata) |
LLMObsIntegrationInferenceResponse |
bedrockMetadata(LLMObsBedrockMetadata bedrockMetadata) |
boolean |
equals(Object o)
Return true if this LLMObsIntegrationInferenceResponse object is equal to o.
|
LLMObsIntegrationInferenceResponse |
errorResponse(LLMObsInferenceErrorResponse errorResponse) |
LLMObsIntegrationInferenceResponse |
frequencyPenalty(Double frequencyPenalty) |
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
LLMObsAnthropicMetadata |
getAnthropicMetadata()
Anthropic-specific metadata for an inference request.
|
LLMObsAzureOpenAIMetadata |
getAzureOpenaiMetadata()
Azure OpenAI-specific metadata for an integration account or inference request.
|
LLMObsBedrockMetadata |
getBedrockMetadata()
Amazon Bedrock-specific metadata for an inference request.
|
LLMObsInferenceErrorResponse |
getErrorResponse()
Error details returned when an inference provider returns an error.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getFrequencyPenalty_JsonNullable() |
Double |
getFrequencyPenalty()
Frequency penalty that was applied.
|
org.openapitools.jackson.nullable.JsonNullable<String> |
getJsonSchema_JsonNullable() |
String |
getJsonSchema()
JSON schema that was applied for structured output.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getMaxCompletionTokens_JsonNullable() |
Long |
getMaxCompletionTokens()
Maximum number of completion tokens that were configured.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getMaxTokens_JsonNullable() |
Long |
getMaxTokens()
Maximum number of tokens that were configured.
|
List<LLMObsInferenceMessage> |
getMessages()
List of messages in an inference conversation.
|
String |
getModelId()
The model identifier used for inference.
|
LLMObsOpenAIMetadata |
getOpenaiMetadata()
OpenAI-specific metadata for an inference request.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getPresencePenalty_JsonNullable() |
Double |
getPresencePenalty()
Presence penalty that was applied.
|
LLMObsInferenceRunResult |
getResponse()
The output of a completed LLM inference call.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getTemperature_JsonNullable() |
Double |
getTemperature()
Sampling temperature that was used.
|
List<LLMObsInferenceTool> |
getTools()
List of tools available to the model.
|
org.openapitools.jackson.nullable.JsonNullable<Long> |
getTopK_JsonNullable() |
Long |
getTopK()
Top-K sampling parameter that was used.
|
org.openapitools.jackson.nullable.JsonNullable<Double> |
getTopP_JsonNullable() |
Double |
getTopP()
Nucleus sampling parameter that was used.
|
LLMObsVertexAIMetadata |
getVertexAiMetadata()
Vertex AI-specific metadata for an integration account or inference request.
|
int |
hashCode() |
LLMObsIntegrationInferenceResponse |
jsonSchema(String jsonSchema) |
LLMObsIntegrationInferenceResponse |
maxCompletionTokens(Long maxCompletionTokens) |
LLMObsIntegrationInferenceResponse |
maxTokens(Long maxTokens) |
LLMObsIntegrationInferenceResponse |
messages(List<LLMObsInferenceMessage> messages) |
LLMObsIntegrationInferenceResponse |
modelId(String modelId) |
LLMObsIntegrationInferenceResponse |
openaiMetadata(LLMObsOpenAIMetadata openaiMetadata) |
LLMObsIntegrationInferenceResponse |
presencePenalty(Double presencePenalty) |
LLMObsIntegrationInferenceResponse |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
LLMObsIntegrationInferenceResponse |
response(LLMObsInferenceRunResult response) |
void |
setAnthropicMetadata(LLMObsAnthropicMetadata anthropicMetadata) |
void |
setAzureOpenaiMetadata(LLMObsAzureOpenAIMetadata azureOpenaiMetadata) |
void |
setBedrockMetadata(LLMObsBedrockMetadata bedrockMetadata) |
void |
setErrorResponse(LLMObsInferenceErrorResponse errorResponse) |
void |
setFrequencyPenalty_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> frequencyPenalty) |
void |
setFrequencyPenalty(Double frequencyPenalty) |
void |
setJsonSchema_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jsonSchema) |
void |
setJsonSchema(String jsonSchema) |
void |
setMaxCompletionTokens_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> maxCompletionTokens) |
void |
setMaxCompletionTokens(Long maxCompletionTokens) |
void |
setMaxTokens_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> maxTokens) |
void |
setMaxTokens(Long maxTokens) |
void |
setMessages(List<LLMObsInferenceMessage> messages) |
void |
setModelId(String modelId) |
void |
setOpenaiMetadata(LLMObsOpenAIMetadata openaiMetadata) |
void |
setPresencePenalty_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> presencePenalty) |
void |
setPresencePenalty(Double presencePenalty) |
void |
setResponse(LLMObsInferenceRunResult response) |
void |
setTemperature_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> temperature) |
void |
setTemperature(Double temperature) |
void |
setTools(List<LLMObsInferenceTool> tools) |
void |
setTopK_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> topK) |
void |
setTopK(Long topK) |
void |
setTopP_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> topP) |
void |
setTopP(Double topP) |
void |
setVertexAiMetadata(LLMObsVertexAIMetadata vertexAiMetadata) |
LLMObsIntegrationInferenceResponse |
temperature(Double temperature) |
LLMObsIntegrationInferenceResponse |
tools(List<LLMObsInferenceTool> tools) |
LLMObsIntegrationInferenceResponse |
topK(Long topK) |
LLMObsIntegrationInferenceResponse |
topP(Double topP) |
String |
toString() |
LLMObsIntegrationInferenceResponse |
vertexAiMetadata(LLMObsVertexAIMetadata vertexAiMetadata) |
public boolean unparsed
public static final String JSON_PROPERTY_ANTHROPIC_METADATA
public static final String JSON_PROPERTY_AZURE_OPENAI_METADATA
public static final String JSON_PROPERTY_BEDROCK_METADATA
public static final String JSON_PROPERTY_ERROR_RESPONSE
public static final String JSON_PROPERTY_FREQUENCY_PENALTY
public static final String JSON_PROPERTY_JSON_SCHEMA
public static final String JSON_PROPERTY_MAX_COMPLETION_TOKENS
public static final String JSON_PROPERTY_MAX_TOKENS
public static final String JSON_PROPERTY_MESSAGES
public static final String JSON_PROPERTY_MODEL_ID
public static final String JSON_PROPERTY_OPENAI_METADATA
public static final String JSON_PROPERTY_PRESENCE_PENALTY
public static final String JSON_PROPERTY_RESPONSE
public static final String JSON_PROPERTY_TEMPERATURE
public static final String JSON_PROPERTY_TOOLS
public static final String JSON_PROPERTY_TOP_K
public static final String JSON_PROPERTY_TOP_P
public static final String JSON_PROPERTY_VERTEX_AI_METADATA
public LLMObsIntegrationInferenceResponse()
public LLMObsIntegrationInferenceResponse(List<LLMObsInferenceMessage> messages, String modelId, LLMObsInferenceRunResult response)
public LLMObsIntegrationInferenceResponse anthropicMetadata(LLMObsAnthropicMetadata anthropicMetadata)
@Nullable public LLMObsAnthropicMetadata getAnthropicMetadata()
public void setAnthropicMetadata(LLMObsAnthropicMetadata anthropicMetadata)
public LLMObsIntegrationInferenceResponse azureOpenaiMetadata(LLMObsAzureOpenAIMetadata azureOpenaiMetadata)
@Nullable public LLMObsAzureOpenAIMetadata getAzureOpenaiMetadata()
public void setAzureOpenaiMetadata(LLMObsAzureOpenAIMetadata azureOpenaiMetadata)
public LLMObsIntegrationInferenceResponse bedrockMetadata(LLMObsBedrockMetadata bedrockMetadata)
@Nullable public LLMObsBedrockMetadata getBedrockMetadata()
public void setBedrockMetadata(LLMObsBedrockMetadata bedrockMetadata)
public LLMObsIntegrationInferenceResponse errorResponse(LLMObsInferenceErrorResponse errorResponse)
@Nullable public LLMObsInferenceErrorResponse getErrorResponse()
public void setErrorResponse(LLMObsInferenceErrorResponse errorResponse)
public LLMObsIntegrationInferenceResponse frequencyPenalty(Double frequencyPenalty)
@Nullable public Double getFrequencyPenalty()
public org.openapitools.jackson.nullable.JsonNullable<Double> getFrequencyPenalty_JsonNullable()
public void setFrequencyPenalty_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> frequencyPenalty)
public void setFrequencyPenalty(Double frequencyPenalty)
public LLMObsIntegrationInferenceResponse jsonSchema(String jsonSchema)
@Nullable public String getJsonSchema()
public org.openapitools.jackson.nullable.JsonNullable<String> getJsonSchema_JsonNullable()
public void setJsonSchema_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jsonSchema)
public void setJsonSchema(String jsonSchema)
public LLMObsIntegrationInferenceResponse maxCompletionTokens(Long maxCompletionTokens)
@Nullable public Long getMaxCompletionTokens()
public org.openapitools.jackson.nullable.JsonNullable<Long> getMaxCompletionTokens_JsonNullable()
public void setMaxCompletionTokens_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> maxCompletionTokens)
public void setMaxCompletionTokens(Long maxCompletionTokens)
public LLMObsIntegrationInferenceResponse maxTokens(Long maxTokens)
@Nullable public Long getMaxTokens()
public org.openapitools.jackson.nullable.JsonNullable<Long> getMaxTokens_JsonNullable()
public void setMaxTokens_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> maxTokens)
public void setMaxTokens(Long maxTokens)
public LLMObsIntegrationInferenceResponse messages(List<LLMObsInferenceMessage> messages)
public LLMObsIntegrationInferenceResponse addMessagesItem(LLMObsInferenceMessage messagesItem)
public List<LLMObsInferenceMessage> getMessages()
public void setMessages(List<LLMObsInferenceMessage> messages)
public LLMObsIntegrationInferenceResponse modelId(String modelId)
public String getModelId()
public void setModelId(String modelId)
public LLMObsIntegrationInferenceResponse openaiMetadata(LLMObsOpenAIMetadata openaiMetadata)
@Nullable public LLMObsOpenAIMetadata getOpenaiMetadata()
public void setOpenaiMetadata(LLMObsOpenAIMetadata openaiMetadata)
public LLMObsIntegrationInferenceResponse presencePenalty(Double presencePenalty)
@Nullable public Double getPresencePenalty()
public org.openapitools.jackson.nullable.JsonNullable<Double> getPresencePenalty_JsonNullable()
public void setPresencePenalty_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> presencePenalty)
public void setPresencePenalty(Double presencePenalty)
public LLMObsIntegrationInferenceResponse response(LLMObsInferenceRunResult response)
public LLMObsInferenceRunResult getResponse()
public void setResponse(LLMObsInferenceRunResult response)
public LLMObsIntegrationInferenceResponse temperature(Double temperature)
@Nullable public Double getTemperature()
public org.openapitools.jackson.nullable.JsonNullable<Double> getTemperature_JsonNullable()
public void setTemperature_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> temperature)
public void setTemperature(Double temperature)
public LLMObsIntegrationInferenceResponse tools(List<LLMObsInferenceTool> tools)
public LLMObsIntegrationInferenceResponse addToolsItem(LLMObsInferenceTool toolsItem)
@Nullable public List<LLMObsInferenceTool> getTools()
public void setTools(List<LLMObsInferenceTool> tools)
public LLMObsIntegrationInferenceResponse topK(Long topK)
@Nullable public Long getTopK()
public org.openapitools.jackson.nullable.JsonNullable<Long> getTopK_JsonNullable()
public void setTopK_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> topK)
public void setTopK(Long topK)
public LLMObsIntegrationInferenceResponse topP(Double topP)
@Nullable public Double getTopP()
public org.openapitools.jackson.nullable.JsonNullable<Double> getTopP_JsonNullable()
public void setTopP_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> topP)
public void setTopP(Double topP)
public LLMObsIntegrationInferenceResponse vertexAiMetadata(LLMObsVertexAIMetadata vertexAiMetadata)
@Nullable public LLMObsVertexAIMetadata getVertexAiMetadata()
public void setVertexAiMetadata(LLMObsVertexAIMetadata vertexAiMetadata)
public LLMObsIntegrationInferenceResponse 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.