Package com.datadog.api.client.v2.model
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringstatic final Stringboolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddTagsItem(String tagsItem) assessment(LLMObsMetricAssessment assessment) booleanValue(Boolean booleanValue) categoricalValue(String categoricalValue) booleanReturn true if this LLMObsExperimentEvalMetricEvent object is equal to o.evalSourceType(String evalSourceType) Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Assessment result for an Agent Observability experiment metric.Boolean value.org.openapitools.jackson.nullable.JsonNullable<Boolean>Categorical value.org.openapitools.jackson.nullable.JsonNullable<String>Source type of the evaluation.getId()Unique identifier of the evaluation metric event.JSON value.getLabel()Label or name for the metric.Arbitrary metadata associated with the metric.Source of the metric.Type of metric recorded for an Agent Observability experiment.Human-readable reasoning for the metric value.org.openapitools.jackson.nullable.JsonNullable<String>Numeric score.org.openapitools.jackson.nullable.JsonNullable<Double>Span ID this metric is associated with.getTags()Tags associated with the metric.Timestamp when the metric was recorded, in milliseconds since Unix epoch.Trace ID linking this metric to a span.inthashCode()metricSource(String metricSource) metricType(LLMObsMetricScoreType metricType) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.putJsonValueItem(String key, Object jsonValueItem) putMetadataItem(String key, Object metadataItem) scoreValue(Double scoreValue) voidsetAssessment(LLMObsMetricAssessment assessment) voidsetBooleanValue(Boolean booleanValue) voidsetBooleanValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> booleanValue) voidsetCategoricalValue(String categoricalValue) voidsetCategoricalValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> categoricalValue) voidsetEvalSourceType(String evalSourceType) voidvoidsetJsonValue(Map<String, Object> jsonValue) voidsetJsonValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, Object>> jsonValue) voidvoidsetMetadata(Map<String, Object> metadata) voidsetMetadata_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Map<String, Object>> metadata) voidsetMetricSource(String metricSource) voidsetMetricType(LLMObsMetricScoreType metricType) voidsetReasoning(String reasoning) voidsetReasoning_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> reasoning) voidsetScoreValue(Double scoreValue) voidsetScoreValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> scoreValue) voidvoidvoidsetTimestampMs(Long timestampMs) voidsetTraceId(String traceId) timestampMs(Long timestampMs) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSESSMENT
- See Also:
-
JSON_PROPERTY_BOOLEAN_VALUE
- See Also:
-
JSON_PROPERTY_CATEGORICAL_VALUE
- See Also:
-
JSON_PROPERTY_EVAL_SOURCE_TYPE
- See Also:
-
JSON_PROPERTY_ID
- See Also:
-
JSON_PROPERTY_JSON_VALUE
- See Also:
-
JSON_PROPERTY_LABEL
- See Also:
-
JSON_PROPERTY_METADATA
- See Also:
-
JSON_PROPERTY_METRIC_SOURCE
- See Also:
-
JSON_PROPERTY_METRIC_TYPE
- See Also:
-
JSON_PROPERTY_REASONING
- See Also:
-
JSON_PROPERTY_SCORE_VALUE
- See Also:
-
JSON_PROPERTY_SPAN_ID
- See Also:
-
JSON_PROPERTY_TAGS
- See Also:
-
JSON_PROPERTY_TIMESTAMP_MS
- See Also:
-
JSON_PROPERTY_TRACE_ID
- See Also:
-
-
Constructor Details
-
LLMObsExperimentEvalMetricEvent
public LLMObsExperimentEvalMetricEvent()
-
-
Method Details
-
assessment
-
getAssessment
Assessment result for an Agent Observability experiment metric.- Returns:
- assessment
-
setAssessment
-
booleanValue
-
getBooleanValue
Boolean value. Present whenmetric_typeisboolean.- Returns:
- booleanValue
-
getBooleanValue_JsonNullable
-
setBooleanValue_JsonNullable
public void setBooleanValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Boolean> booleanValue) -
setBooleanValue
-
categoricalValue
-
getCategoricalValue
Categorical value. Present whenmetric_typeiscategorical.- Returns:
- categoricalValue
-
getCategoricalValue_JsonNullable
-
setCategoricalValue_JsonNullable
public void setCategoricalValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> categoricalValue) -
setCategoricalValue
-
evalSourceType
-
getEvalSourceType
Source type of the evaluation.- Returns:
- evalSourceType
-
setEvalSourceType
-
id
-
getId
Unique identifier of the evaluation metric event.- Returns:
- id
-
setId
-
jsonValue
-
putJsonValueItem
-
getJsonValue
JSON value. Present whenmetric_typeisjson.- Returns:
- jsonValue
-
getJsonValue_JsonNullable
-
setJsonValue_JsonNullable
-
setJsonValue
-
label
-
getLabel
Label or name for the metric.- Returns:
- label
-
setLabel
-
metadata
-
putMetadataItem
-
getMetadata
Arbitrary metadata associated with the metric.- Returns:
- metadata
-
getMetadata_JsonNullable
-
setMetadata_JsonNullable
-
setMetadata
-
metricSource
-
getMetricSource
Source of the metric. Eithercustom(user-submitted) orsummary(experiment-level aggregate).- Returns:
- metricSource
-
setMetricSource
-
metricType
-
getMetricType
Type of metric recorded for an Agent Observability experiment.- Returns:
- metricType
-
setMetricType
-
reasoning
-
getReasoning
Human-readable reasoning for the metric value.- Returns:
- reasoning
-
getReasoning_JsonNullable
-
setReasoning_JsonNullable
public void setReasoning_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<String> reasoning) -
setReasoning
-
scoreValue
-
getScoreValue
Numeric score. Present whenmetric_typeisscore.- Returns:
- scoreValue
-
getScoreValue_JsonNullable
-
setScoreValue_JsonNullable
public void setScoreValue_JsonNullable(org.openapitools.jackson.nullable.JsonNullable<Double> scoreValue) -
setScoreValue
-
spanId
-
getSpanId
Span ID this metric is associated with.- Returns:
- spanId
-
setSpanId
-
tags
-
addTagsItem
-
getTags
Tags associated with the metric.- Returns:
- tags
-
setTags
-
timestampMs
-
getTimestampMs
Timestamp when the metric was recorded, in milliseconds since Unix epoch.- Returns:
- timestampMs
-
setTimestampMs
-
traceId
-
getTraceId
Trace ID linking this metric to a span.- Returns:
- traceId
-
setTraceId
-
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:
- LLMObsExperimentEvalMetricEvent
-
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 LLMObsExperimentEvalMetricEvent object is equal to o. -
hashCode
public int hashCode() -
toString
-