Package com.datadog.api.client.v2.model
Class LLMObsExperimentEventsV2DataAttributesResponse
java.lang.Object
com.datadog.api.client.v2.model.LLMObsExperimentEventsV2DataAttributesResponse
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsExperimentEventsV2DataAttributesResponse
extends Object
Attributes of an experiment events response.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsExperimentEventsV2DataAttributesResponse(List<LLMObsExperimentSpanWithEvals> spans, List<LLMObsExperimentEvalMetricEvent> summaryMetrics) -
Method Summary
Modifier and TypeMethodDescriptionaddSpansItem(LLMObsExperimentSpanWithEvals spansItem) addSummaryMetricsItem(LLMObsExperimentEvalMetricEvent summaryMetricsItem) booleanReturn true if this LLMObsExperimentEventsV2DataAttributesResponse object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.getSpans()Experiment spans, each enriched with their associated evaluation metrics.Experiment-level summary evaluation metrics (not tied to individual spans).inthashCode()putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidvoidsetSummaryMetrics(List<LLMObsExperimentEvalMetricEvent> summaryMetrics) spans(List<LLMObsExperimentSpanWithEvals> spans) summaryMetrics(List<LLMObsExperimentEvalMetricEvent> summaryMetrics) toString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_SPANS
- See Also:
-
JSON_PROPERTY_SUMMARY_METRICS
- See Also:
-
-
Constructor Details
-
LLMObsExperimentEventsV2DataAttributesResponse
public LLMObsExperimentEventsV2DataAttributesResponse() -
LLMObsExperimentEventsV2DataAttributesResponse
public LLMObsExperimentEventsV2DataAttributesResponse(List<LLMObsExperimentSpanWithEvals> spans, List<LLMObsExperimentEvalMetricEvent> summaryMetrics)
-
-
Method Details
-
spans
public LLMObsExperimentEventsV2DataAttributesResponse spans(List<LLMObsExperimentSpanWithEvals> spans) -
addSpansItem
public LLMObsExperimentEventsV2DataAttributesResponse addSpansItem(LLMObsExperimentSpanWithEvals spansItem) -
getSpans
Experiment spans, each enriched with their associated evaluation metrics.- Returns:
- spans
-
setSpans
-
summaryMetrics
public LLMObsExperimentEventsV2DataAttributesResponse summaryMetrics(List<LLMObsExperimentEvalMetricEvent> summaryMetrics) -
addSummaryMetricsItem
public LLMObsExperimentEventsV2DataAttributesResponse addSummaryMetricsItem(LLMObsExperimentEvalMetricEvent summaryMetricsItem) -
getSummaryMetrics
Experiment-level summary evaluation metrics (not tied to individual spans).- Returns:
- summaryMetrics
-
setSummaryMetrics
-
putAdditionalProperty
public LLMObsExperimentEventsV2DataAttributesResponse 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 setvalue- The associated value- Returns:
- LLMObsExperimentEventsV2DataAttributesResponse
-
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 LLMObsExperimentEventsV2DataAttributesResponse object is equal to o. -
hashCode
public int hashCode() -
toString
-