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