Class LLMObsSpanEvaluationMetric

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

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

  • Constructor Details

    • LLMObsSpanEvaluationMetric

      public LLMObsSpanEvaluationMetric()
  • Method Details

    • assessment

      public LLMObsSpanEvaluationMetric assessment(String assessment)
    • getAssessment

      @Nullable public String getAssessment()
      Assessment result (e.g., pass or fail).
      Returns:
      assessment
    • setAssessment

      public void setAssessment(String assessment)
    • evalMetricType

      public LLMObsSpanEvaluationMetric evalMetricType(String evalMetricType)
    • getEvalMetricType

      @Nullable public String getEvalMetricType()
      Type of the evaluation metric (e.g., score, categorical, boolean).
      Returns:
      evalMetricType
    • setEvalMetricType

      public void setEvalMetricType(String evalMetricType)
    • reasoning

      public LLMObsSpanEvaluationMetric reasoning(String reasoning)
    • getReasoning

      @Nullable public String getReasoning()
      Human-readable reasoning for the evaluation result.
      Returns:
      reasoning
    • setReasoning

      public void setReasoning(String reasoning)
    • status

      public LLMObsSpanEvaluationMetric status(String status)
    • getStatus

      @Nullable public String getStatus()
      Status of the evaluation execution.
      Returns:
      status
    • setStatus

      public void setStatus(String status)
    • tags

      public LLMObsSpanEvaluationMetric tags(List<String> tags)
    • addTagsItem

      public LLMObsSpanEvaluationMetric addTagsItem(String tagsItem)
    • getTags

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

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

      public LLMObsSpanEvaluationMetric value(Object value)
    • getValue

      @Nullable public Object getValue()
      Value of the evaluation result.
      Returns:
      value
    • setValue

      public void setValue(Object value)
    • putAdditionalProperty

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