Class LLMObsExperimentEvalMetricEvent

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

@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsExperimentEvalMetricEvent extends Object
An evaluation metric event associated with an experiment span.
  • Field Details

  • Constructor Details

    • LLMObsExperimentEvalMetricEvent

      public LLMObsExperimentEvalMetricEvent()
  • Method Details

    • assessment

    • getAssessment

      @Nullable public LLMObsMetricAssessment getAssessment()
      Assessment result for an Agent Observability experiment metric.
      Returns:
      assessment
    • setAssessment

      public void setAssessment(LLMObsMetricAssessment assessment)
    • booleanValue

      public LLMObsExperimentEvalMetricEvent booleanValue(Boolean booleanValue)
    • getBooleanValue

      @Nullable public Boolean getBooleanValue()
      Boolean value. Present when metric_type is boolean.
      Returns:
      booleanValue
    • getBooleanValue_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Boolean> getBooleanValue_JsonNullable()
    • setBooleanValue_JsonNullable

      public void setBooleanValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> booleanValue)
    • setBooleanValue

      public void setBooleanValue(Boolean booleanValue)
    • categoricalValue

      public LLMObsExperimentEvalMetricEvent categoricalValue(String categoricalValue)
    • getCategoricalValue

      @Nullable public String getCategoricalValue()
      Categorical value. Present when metric_type is categorical.
      Returns:
      categoricalValue
    • getCategoricalValue_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getCategoricalValue_JsonNullable()
    • setCategoricalValue_JsonNullable

      public void setCategoricalValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> categoricalValue)
    • setCategoricalValue

      public void setCategoricalValue(String categoricalValue)
    • evalSourceType

      public LLMObsExperimentEvalMetricEvent evalSourceType(String evalSourceType)
    • getEvalSourceType

      @Nullable public String getEvalSourceType()
      Source type of the evaluation.
      Returns:
      evalSourceType
    • setEvalSourceType

      public void setEvalSourceType(String evalSourceType)
    • id

    • getId

      @Nullable public String getId()
      Unique identifier of the evaluation metric event.
      Returns:
      id
    • setId

      public void setId(String id)
    • jsonValue

      public LLMObsExperimentEvalMetricEvent jsonValue(Map<String,Object> jsonValue)
    • putJsonValueItem

      public LLMObsExperimentEvalMetricEvent putJsonValueItem(String key, Object jsonValueItem)
    • getJsonValue

      @Nullable public Map<String,Object> getJsonValue()
      JSON value. Present when metric_type is json.
      Returns:
      jsonValue
    • getJsonValue_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Map<String,Object>> getJsonValue_JsonNullable()
    • setJsonValue_JsonNullable

      public void setJsonValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Object>> jsonValue)
    • setJsonValue

      public void setJsonValue(Map<String,Object> jsonValue)
    • label

    • getLabel

      @Nullable public String getLabel()
      Label or name for the metric.
      Returns:
      label
    • setLabel

      public void setLabel(String label)
    • metadata

      public LLMObsExperimentEvalMetricEvent metadata(Map<String,Object> metadata)
    • putMetadataItem

      public LLMObsExperimentEvalMetricEvent putMetadataItem(String key, Object metadataItem)
    • getMetadata

      @Nullable public Map<String,Object> getMetadata()
      Arbitrary metadata associated with the metric.
      Returns:
      metadata
    • getMetadata_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Map<String,Object>> getMetadata_JsonNullable()
    • setMetadata_JsonNullable

      public void setMetadata_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String,Object>> metadata)
    • setMetadata

      public void setMetadata(Map<String,Object> metadata)
    • metricSource

      public LLMObsExperimentEvalMetricEvent metricSource(String metricSource)
    • getMetricSource

      @Nullable public String getMetricSource()
      Source of the metric. Either custom (user-submitted) or summary (experiment-level aggregate).
      Returns:
      metricSource
    • setMetricSource

      public void setMetricSource(String metricSource)
    • metricType

    • getMetricType

      @Nullable public LLMObsMetricScoreType getMetricType()
      Type of metric recorded for an Agent Observability experiment.
      Returns:
      metricType
    • setMetricType

      public void setMetricType(LLMObsMetricScoreType metricType)
    • reasoning

      public LLMObsExperimentEvalMetricEvent reasoning(String reasoning)
    • getReasoning

      @Nullable public String getReasoning()
      Human-readable reasoning for the metric value.
      Returns:
      reasoning
    • getReasoning_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<String> getReasoning_JsonNullable()
    • setReasoning_JsonNullable

      public void setReasoning_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> reasoning)
    • setReasoning

      public void setReasoning(String reasoning)
    • scoreValue

      public LLMObsExperimentEvalMetricEvent scoreValue(Double scoreValue)
    • getScoreValue

      @Nullable public Double getScoreValue()
      Numeric score. Present when metric_type is score.
      Returns:
      scoreValue
    • getScoreValue_JsonNullable

      public org.openapitools.jackson.nullable.JsonNullable<Double> getScoreValue_JsonNullable()
    • setScoreValue_JsonNullable

      public void setScoreValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> scoreValue)
    • setScoreValue

      public void setScoreValue(Double scoreValue)
    • spanId

      public LLMObsExperimentEvalMetricEvent spanId(String spanId)
    • getSpanId

      @Nullable public String getSpanId()
      Span ID this metric is associated with.
      Returns:
      spanId
    • setSpanId

      public void setSpanId(String spanId)
    • tags

    • addTagsItem

      public LLMObsExperimentEvalMetricEvent addTagsItem(String tagsItem)
    • getTags

      @Nullable public List<String> getTags()
      Tags associated with the metric.
      Returns:
      tags
    • setTags

      public void setTags(List<String> tags)
    • timestampMs

      public LLMObsExperimentEvalMetricEvent timestampMs(Long timestampMs)
    • getTimestampMs

      @Nullable public Long getTimestampMs()
      Timestamp when the metric was recorded, in milliseconds since Unix epoch.
      Returns:
      timestampMs
    • setTimestampMs

      public void setTimestampMs(Long timestampMs)
    • traceId

      public LLMObsExperimentEvalMetricEvent traceId(String traceId)
    • getTraceId

      @Nullable public String getTraceId()
      Trace ID linking this metric to a span.
      Returns:
      traceId
    • setTraceId

      public void setTraceId(String traceId)
    • putAdditionalProperty

      public LLMObsExperimentEvalMetricEvent 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:
      LLMObsExperimentEvalMetricEvent
    • 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 LLMObsExperimentEvalMetricEvent 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