Package com.openai.models.evals
Class EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content
-
- All Implemented Interfaces:
public final class EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classEvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.BuilderA builder for Content.
public final classEvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.TypeThe type of content, which is always
input_text.
-
Method Summary
Modifier and Type Method Description final Stringtext()The text content. final EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.Typetype()The type of content, which is always input_text.final JsonField<String>_text()Returns the raw JSON value of text. final JsonField<EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.Type>_type()Returns the raw JSON value of type. final Map<String, JsonValue>_additionalProperties()final EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.BuildertoBuilder()final EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Contentvalidate()final BooleanisValid()Booleanequals(Object other)IntegerhashCode()StringtoString()final static EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.Builderbuilder()Returns a mutable builder for constructing an instance of Content. -
-
Method Detail
-
type
final EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.Type type()
The type of content, which is always
input_text.
-
_text
final JsonField<String> _text()
Returns the raw JSON value of text.
Unlike text, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.Type> _type()
Returns the raw JSON value of type.
Unlike type, 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.InputMessage.Content.Builder toBuilder()
-
builder
final static EvalCreateParams.TestingCriterion.LabelModel.Input.InputMessage.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
The following fields are required:
.text() .type()
-
-
-
-