Package com.datadog.api.client.v2.model
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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) assessment(String assessment) booleanReturn true if this LLMObsSpanEvaluationMetric object is equal to o.evalMetricType(String evalMetricType) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Assessment result (e.g., pass or fail).Type of the evaluation metric (e.g., score, categorical, boolean).Human-readable reasoning for the evaluation result.Status of the evaluation execution.getTags()Tags associated with the evaluation metric.getValue()Value of the evaluation result.inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAssessment(String assessment) voidsetEvalMetricType(String evalMetricType) voidsetReasoning(String reasoning) voidvoidvoidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSESSMENT
- See Also:
-
JSON_PROPERTY_EVAL_METRIC_TYPE
- See Also:
-
JSON_PROPERTY_REASONING
- See Also:
-
JSON_PROPERTY_STATUS
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
LLMObsSpanEvaluationMetric
public LLMObsSpanEvaluationMetric()
-
-
Method Details
-
assessment
-
getAssessment
Assessment result (e.g., pass or fail).- Returns:
- assessment
-
setAssessment
-
evalMetricType
-
getEvalMetricType
Type of the evaluation metric (e.g., score, categorical, boolean).- Returns:
- evalMetricType
-
setEvalMetricType
-
reasoning
-
getReasoning
Human-readable reasoning for the evaluation result.- Returns:
- reasoning
-
setReasoning
-
status
-
getStatus
Status of the evaluation execution.- Returns:
- status
-
setStatus
-
tags
-
addTagsItem
-
getTags
Tags associated with the evaluation metric.- Returns:
- tags
-
setTags
-
value
-
getValue
Value of the evaluation result.- Returns:
- value
-
setValue
-
putAdditionalProperty
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 setvalue- The associated value- Returns:
- LLMObsSpanEvaluationMetric
-
getAdditionalProperties
Return the additional (undeclared) property.- Returns:
- The additional properties
-
getAdditionalProperty
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
Return true if this LLMObsSpanEvaluationMetric object is equal to o. -
hashCode
public int hashCode() -
toString
-