Package com.openai.models.evals
Class EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage
-
- All Implemented Interfaces:
public final class EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage.BuilderA builder for SimpleInputMessage.
-
Method Summary
Modifier and Type Method Description final Stringcontent()The content of the message. final Stringrole()The role of the message (e.g. final JsonField<String>_content()Returns the raw JSON value of content. final JsonField<String>_role()Returns the raw JSON value of role. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage.BuildertoBuilder()final EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessagevalidate()Validates that the types of all values in this object match their expected types recursively. final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage.Builderbuilder()Returns a mutable builder for constructing an instance of SimpleInputMessage. -
-
Method Detail
-
_content
final JsonField<String> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<String> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_additionalProperties
final Map<String, JsonValue> _additionalProperties()
-
toBuilder
final EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage.Builder toBuilder()
-
validate
final EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage validate()
Validates that the types of all values in this object match their expected types recursively.
This method is not forwards compatible with new types from the API for existing fields.
-
builder
final static EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage.Builder builder()
Returns a mutable builder for constructing an instance of SimpleInputMessage.
The following fields are required:
.content() .role()
-
-
-
-