Package com.datadog.api.client.v2.model
Class LLMObsAnnotationLabelValue
java.lang.Object
com.datadog.api.client.v2.model.LLMObsAnnotationLabelValue
@Generated("https://github.com/DataDog/datadog-api-client-java/blob/master/.generator")
public class LLMObsAnnotationLabelValue
extends Object
A single label value entry in an annotation. The
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.-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionLLMObsAnnotationLabelValue(String labelSchemaId, LLMObsAnnotationLabelValueValue value) -
Method Summary
Modifier and TypeMethodDescriptionassessment(LLMObsAnnotationAssessment assessment) booleanReturn true if this LLMObsAnnotationLabelValue object is equal to o.Return the additional (undeclared) property.Return the additional (undeclared) property with the specified name.Assessment result for a label value.ID of the label schema this value corresponds to.Free text reasoning for this label value.getValue()The value for this label.inthashCode()labelSchemaId(String labelSchemaId) putAdditionalProperty(String key, Object value) Set the additional (undeclared) property with the specified name and value.voidsetAssessment(LLMObsAnnotationAssessment assessment) voidsetLabelSchemaId(String labelSchemaId) voidsetReasoning(String reasoning) voidtoString()
-
Field Details
-
unparsed
public boolean unparsed -
JSON_PROPERTY_ASSESSMENT
- See Also:
-
JSON_PROPERTY_LABEL_SCHEMA_ID
- See Also:
-
JSON_PROPERTY_REASONING
- See Also:
-
JSON_PROPERTY_VALUE
- See Also:
-
-
Constructor Details
-
LLMObsAnnotationLabelValue
public LLMObsAnnotationLabelValue() -
LLMObsAnnotationLabelValue
-
-
Method Details
-
assessment
-
getAssessment
Assessment result for a label value.- Returns:
- assessment
-
setAssessment
-
labelSchemaId
-
getLabelSchemaId
ID of the label schema this value corresponds to.- Returns:
- labelSchemaId
-
setLabelSchemaId
-
reasoning
-
getReasoning
Free text reasoning for this label value.- Returns:
- reasoning
-
setReasoning
-
value
-
getValue
The value for this label. Must comply with the label schema type constraints.- 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:
- LLMObsAnnotationLabelValue
-
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 LLMObsAnnotationLabelValue object is equal to o. -
hashCode
public int hashCode() -
toString
-