Package com.openai.models.evals
Class EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content
-
- All Implemented Interfaces:
public final class EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final class
EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder
A builder for Content.
public final class
EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Type
The type of content, which is always
output_text
.
-
Method Summary
Modifier and Type Method Description final String
text()
The text content. final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Type
type()
The type of content, which is always output_text
.final JsonField<String>
_text()
Returns the raw JSON value of text. final JsonField<EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Type>
_type()
Returns the raw JSON value of type. final Map<String, JsonValue>
_additionalProperties()
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder
toBuilder()
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content
validate()
final Boolean
isValid()
Boolean
equals(Object other)
Integer
hashCode()
String
toString()
final static EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder
builder()
Returns a mutable builder for constructing an instance of Content. -
-
Method Detail
-
type
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Type type()
The type of content, which is always
output_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.OutputMessage.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.OutputMessage.Content.Builder toBuilder()
-
builder
final static EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder builder()
Returns a mutable builder for constructing an instance of Content.
The following fields are required:
.text() .type()
-
-
-
-