Package com.openai.models.evals
Class EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder
-
- All Implemented Interfaces:
public final class EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder
A builder for Content.
-
-
Method Summary
-
-
Method Detail
-
text
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder text(String text)
The text content.
-
text
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder text(JsonField<String> text)
Sets Builder.text to an arbitrary JSON value.
You should usually call Builder.text with a well-typed String value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder type(EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Type type)
The type of content, which is always
output_text
.
-
type
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder type(JsonField<EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Type> type)
Sets Builder.type to an arbitrary JSON value.
You should usually call Builder.type with a well-typed Type value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
additionalProperties
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EvalCreateParams.TestingCriterion.LabelModel.Input.OutputMessage.Content build()
Returns an immutable instance of Content.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.text() .type()
-
-
-
-