Class LLMObsIntegrationInferenceResponse

java.lang.Object
com.datadog.api.client.v2.model.LLMObsIntegrationInferenceResponse

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsIntegrationInferenceResponse extends Object
The result of an LLM inference request, including input parameters and the model response.
  • Field Details

  • Constructor Details

  • Method Details

    • anthropicMetadata

      public LLMObsIntegrationInferenceResponse anthropicMetadata(LLMObsAnthropicMetadata anthropicMetadata)
    • getAnthropicMetadata

      @Nullable public LLMObsAnthropicMetadata getAnthropicMetadata()
      Anthropic-specific metadata for an inference request.
      Returns:
      anthropicMetadata
    • setAnthropicMetadata

      public void setAnthropicMetadata(LLMObsAnthropicMetadata anthropicMetadata)
    • azureOpenaiMetadata

      public LLMObsIntegrationInferenceResponse azureOpenaiMetadata(LLMObsAzureOpenAIMetadata azureOpenaiMetadata)
    • getAzureOpenaiMetadata

      @Nullable public LLMObsAzureOpenAIMetadata getAzureOpenaiMetadata()
      Azure OpenAI-specific metadata for an integration account or inference request.
      Returns:
      azureOpenaiMetadata
    • setAzureOpenaiMetadata

      public void setAzureOpenaiMetadata(LLMObsAzureOpenAIMetadata azureOpenaiMetadata)
    • bedrockMetadata

      public LLMObsIntegrationInferenceResponse bedrockMetadata(LLMObsBedrockMetadata bedrockMetadata)
    • getBedrockMetadata

      @Nullable public LLMObsBedrockMetadata getBedrockMetadata()
      Amazon Bedrock-specific metadata for an inference request.
      Returns:
      bedrockMetadata
    • setBedrockMetadata

      public void setBedrockMetadata(LLMObsBedrockMetadata bedrockMetadata)
    • errorResponse

    • getErrorResponse

      @Nullable public LLMObsInferenceErrorResponse getErrorResponse()
      Error details returned when an inference provider returns an error.
      Returns:
      errorResponse
    • setErrorResponse

      public void setErrorResponse(LLMObsInferenceErrorResponse errorResponse)
    • frequencyPenalty

      public LLMObsIntegrationInferenceResponse frequencyPenalty(Double frequencyPenalty)
    • getFrequencyPenalty

      @Nullable public Double getFrequencyPenalty()
      Frequency penalty that was applied.
      Returns:
      frequencyPenalty
    • getFrequencyPenalty_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getFrequencyPenalty_JsonNullable()
    • setFrequencyPenalty_JsonNullable

      public void setFrequencyPenalty_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> frequencyPenalty)
    • setFrequencyPenalty

      public void setFrequencyPenalty(Double frequencyPenalty)
    • jsonSchema

      public LLMObsIntegrationInferenceResponse jsonSchema(String jsonSchema)
    • getJsonSchema

      @Nullable public String getJsonSchema()
      JSON schema that was applied for structured output.
      Returns:
      jsonSchema
    • getJsonSchema_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getJsonSchema_JsonNullable()
    • setJsonSchema_JsonNullable

      public void setJsonSchema_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> jsonSchema)
    • setJsonSchema

      public void setJsonSchema(String jsonSchema)
    • maxCompletionTokens

      public LLMObsIntegrationInferenceResponse maxCompletionTokens(Long maxCompletionTokens)
    • getMaxCompletionTokens

      @Nullable public Long getMaxCompletionTokens()
      Maximum number of completion tokens that were configured.
      Returns:
      maxCompletionTokens
    • getMaxCompletionTokens_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getMaxCompletionTokens_JsonNullable()
    • setMaxCompletionTokens_JsonNullable

      public void setMaxCompletionTokens_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> maxCompletionTokens)
    • setMaxCompletionTokens

      public void setMaxCompletionTokens(Long maxCompletionTokens)
    • maxTokens

      public LLMObsIntegrationInferenceResponse maxTokens(Long maxTokens)
    • getMaxTokens

      @Nullable public Long getMaxTokens()
      Maximum number of tokens that were configured.
      Returns:
      maxTokens
    • getMaxTokens_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getMaxTokens_JsonNullable()
    • setMaxTokens_JsonNullable

      public void setMaxTokens_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> maxTokens)
    • setMaxTokens

      public void setMaxTokens(Long maxTokens)
    • messages

    • addMessagesItem

      public LLMObsIntegrationInferenceResponse addMessagesItem(LLMObsInferenceMessage messagesItem)
    • getMessages

      public List<LLMObsInferenceMessage> getMessages()
      List of messages in an inference conversation.
      Returns:
      messages
    • setMessages

      public void setMessages(List<LLMObsInferenceMessage> messages)
    • modelId

      public LLMObsIntegrationInferenceResponse modelId(String modelId)
    • getModelId

      public String getModelId()
      The model identifier used for inference.
      Returns:
      modelId
    • setModelId

      public void setModelId(String modelId)
    • openaiMetadata

      public LLMObsIntegrationInferenceResponse openaiMetadata(LLMObsOpenAIMetadata openaiMetadata)
    • getOpenaiMetadata

      @Nullable public LLMObsOpenAIMetadata getOpenaiMetadata()
      OpenAI-specific metadata for an inference request.
      Returns:
      openaiMetadata
    • setOpenaiMetadata

      public void setOpenaiMetadata(LLMObsOpenAIMetadata openaiMetadata)
    • presencePenalty

      public LLMObsIntegrationInferenceResponse presencePenalty(Double presencePenalty)
    • getPresencePenalty

      @Nullable public Double getPresencePenalty()
      Presence penalty that was applied.
      Returns:
      presencePenalty
    • getPresencePenalty_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getPresencePenalty_JsonNullable()
    • setPresencePenalty_JsonNullable

      public void setPresencePenalty_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> presencePenalty)
    • setPresencePenalty

      public void setPresencePenalty(Double presencePenalty)
    • response

    • getResponse

      public LLMObsInferenceRunResult getResponse()
      The output of a completed LLM inference call.
      Returns:
      response
    • setResponse

      public void setResponse(LLMObsInferenceRunResult response)
    • temperature

      public LLMObsIntegrationInferenceResponse temperature(Double temperature)
    • getTemperature

      @Nullable public Double getTemperature()
      Sampling temperature that was used.
      Returns:
      temperature
    • getTemperature_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getTemperature_JsonNullable()
    • setTemperature_JsonNullable

      public void setTemperature_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> temperature)
    • setTemperature

      public void setTemperature(Double temperature)
    • tools

    • addToolsItem

    • getTools

      @Nullable public List<LLMObsInferenceTool> getTools()
      List of tools available to the model.
      Returns:
      tools
    • setTools

      public void setTools(List<LLMObsInferenceTool> tools)
    • topK

    • getTopK

      @Nullable public Long getTopK()
      Top-K sampling parameter that was used.
      Returns:
      topK
    • getTopK_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Long> getTopK_JsonNullable()
    • setTopK_JsonNullable

      public void setTopK_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Long> topK)
    • setTopK

      public void setTopK(Long topK)
    • topP

    • getTopP

      @Nullable public Double getTopP()
      Nucleus sampling parameter that was used.
      Returns:
      topP
    • getTopP_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getTopP_JsonNullable()
    • setTopP_JsonNullable

      public void setTopP_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> topP)
    • setTopP

      public void setTopP(Double topP)
    • vertexAiMetadata

      public LLMObsIntegrationInferenceResponse vertexAiMetadata(LLMObsVertexAIMetadata vertexAiMetadata)
    • getVertexAiMetadata

      @Nullable public LLMObsVertexAIMetadata getVertexAiMetadata()
      Vertex AI-specific metadata for an integration account or inference request.
      Returns:
      vertexAiMetadata
    • setVertexAiMetadata

      public void setVertexAiMetadata(LLMObsVertexAIMetadata vertexAiMetadata)
    • putAdditionalProperty

      public LLMObsIntegrationInferenceResponse putAdditionalProperty(String key, Object value)
      Set the additional (undeclared) property with the specified name and value. If the property does not already exist, create it otherwise replace it.
      Parameters:
      key - The arbitrary key to set
      value - The associated value
      Returns:
      LLMObsIntegrationInferenceResponse
    • getAdditionalProperties

      public Map<String,Object> getAdditionalProperties()
      Return the additional (undeclared) property.
      Returns:
      The additional properties
    • getAdditionalProperty

      public Object getAdditionalProperty(String key)
      Return the additional (undeclared) property with the specified name.
      Parameters:
      key - The arbitrary key to get
      Returns:
      The specific additional property for the given key
    • equals

      public boolean equals(Object o)
      Return true if this LLMObsIntegrationInferenceResponse object is equal to o.
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object