@Generated(value="https://github.com/DataDog/datadog-api-client-java/blob/master/.generator") public class LLMObsAnnotationLabelValue extends Object
value type must match the label
schema type: - score: a number within the schema min/max
range (integer if is_integer is true). - categorical: a
string that is one of the schema values. - boolean: true
or false. - text: any non-empty string.| Modifier and Type | Field and Description |
|---|---|
static String |
JSON_PROPERTY_ASSESSMENT |
static String |
JSON_PROPERTY_LABEL_SCHEMA_ID |
static String |
JSON_PROPERTY_REASONING |
static String |
JSON_PROPERTY_VALUE |
boolean |
unparsed |
| Constructor and Description |
|---|
LLMObsAnnotationLabelValue() |
LLMObsAnnotationLabelValue(String labelSchemaId,
LLMObsAnnotationLabelValueValue value) |
| Modifier and Type | Method and Description |
|---|---|
LLMObsAnnotationLabelValue |
assessment(LLMObsAnnotationAssessment assessment) |
boolean |
equals(Object o)
Return true if this LLMObsAnnotationLabelValue object is equal to o.
|
Map<String,Object> |
getAdditionalProperties()
Return the additional (undeclared) property.
|
Object |
getAdditionalProperty(String key)
Return the additional (undeclared) property with the specified name.
|
LLMObsAnnotationAssessment |
getAssessment()
Assessment result for a label value.
|
String |
getLabelSchemaId()
ID of the label schema this value corresponds to.
|
String |
getReasoning()
Free text reasoning for this label value.
|
LLMObsAnnotationLabelValueValue |
getValue()
The value for this label.
|
int |
hashCode() |
LLMObsAnnotationLabelValue |
labelSchemaId(String labelSchemaId) |
LLMObsAnnotationLabelValue |
putAdditionalProperty(String key,
Object value)
Set the additional (undeclared) property with the specified name and value.
|
LLMObsAnnotationLabelValue |
reasoning(String reasoning) |
void |
setAssessment(LLMObsAnnotationAssessment assessment) |
void |
setLabelSchemaId(String labelSchemaId) |
void |
setReasoning(String reasoning) |
void |
setValue(LLMObsAnnotationLabelValueValue value) |
String |
toString() |
LLMObsAnnotationLabelValue |
value(LLMObsAnnotationLabelValueValue value) |
public boolean unparsed
public static final String JSON_PROPERTY_ASSESSMENT
public static final String JSON_PROPERTY_LABEL_SCHEMA_ID
public static final String JSON_PROPERTY_REASONING
public static final String JSON_PROPERTY_VALUE
public LLMObsAnnotationLabelValue()
public LLMObsAnnotationLabelValue(String labelSchemaId, LLMObsAnnotationLabelValueValue value)
public LLMObsAnnotationLabelValue assessment(LLMObsAnnotationAssessment assessment)
@Nullable public LLMObsAnnotationAssessment getAssessment()
public void setAssessment(LLMObsAnnotationAssessment assessment)
public LLMObsAnnotationLabelValue labelSchemaId(String labelSchemaId)
public String getLabelSchemaId()
public void setLabelSchemaId(String labelSchemaId)
public LLMObsAnnotationLabelValue reasoning(String reasoning)
@Nullable public String getReasoning()
public void setReasoning(String reasoning)
public LLMObsAnnotationLabelValue value(LLMObsAnnotationLabelValueValue value)
public LLMObsAnnotationLabelValueValue getValue()
public void setValue(LLMObsAnnotationLabelValueValue value)
public LLMObsAnnotationLabelValue putAdditionalProperty(String key, Object value)
key - The arbitrary key to setvalue - The associated valuepublic Map<String,Object> getAdditionalProperties()
public Object getAdditionalProperty(String key)
key - The arbitrary key to getpublic boolean equals(Object o)
Copyright © 2026. All rights reserved.