Class EvalLabelModelGrader.Input.Assistant.Builder
-
- All Implemented Interfaces:
public final class EvalLabelModelGrader.Input.Assistant.Builder
A builder for Assistant.
-
-
Method Summary
-
-
Method Detail
-
content
final EvalLabelModelGrader.Input.Assistant.Builder content(EvalLabelModelGrader.Input.Assistant.Content content)
-
content
final EvalLabelModelGrader.Input.Assistant.Builder content(JsonField<EvalLabelModelGrader.Input.Assistant.Content> content)
Sets Builder.content to an arbitrary JSON value.
You should usually call Builder.content with a well-typed Content value instead. This method is primarily for setting the field to an undocumented or not yet supported value.
-
role
final EvalLabelModelGrader.Input.Assistant.Builder role(JsonValue role)
Sets the field to an arbitrary JSON value.
It is usually unnecessary to call this method because the field defaults to the following:
JsonValue.from("assistant")
This method is primarily for setting the field to an undocumented or not yet supported value.
-
type
final EvalLabelModelGrader.Input.Assistant.Builder type(EvalLabelModelGrader.Input.Assistant.Type type)
The type of item, which is always
message
.
-
type
final EvalLabelModelGrader.Input.Assistant.Builder type(JsonField<EvalLabelModelGrader.Input.Assistant.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 EvalLabelModelGrader.Input.Assistant.Builder additionalProperties(Map<String, JsonValue> additionalProperties)
-
putAdditionalProperty
final EvalLabelModelGrader.Input.Assistant.Builder putAdditionalProperty(String key, JsonValue value)
-
putAllAdditionalProperties
final EvalLabelModelGrader.Input.Assistant.Builder putAllAdditionalProperties(Map<String, JsonValue> additionalProperties)
-
removeAdditionalProperty
final EvalLabelModelGrader.Input.Assistant.Builder removeAdditionalProperty(String key)
-
removeAllAdditionalProperties
final EvalLabelModelGrader.Input.Assistant.Builder removeAllAdditionalProperties(Set<String> keys)
-
build
final EvalLabelModelGrader.Input.Assistant build()
Returns an immutable instance of Assistant.
Further updates to this Builder will not mutate the returned instance.
The following fields are required:
.content() .type()
-
-
-
-