Class CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem
-
- All Implemented Interfaces:
public final class CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItemA message input to the model with a role indicating instruction following hierarchy. Instructions given with the
developerorsystemrole take precedence over instructions given with theuserrole. Messages with theassistantrole are presumed to have been generated by the model in previous interactions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classCreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.BuilderA builder for EvalItem.
public final classCreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.ContentInputs to the model - can contain template strings.
public final classCreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.RoleThe role of the message input. One of
user,assistant,system, ordeveloper.public final classCreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.TypeThe type of the message input. Always
message.
-
Method Summary
-
-
Method Detail
-
content
final CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.Content content()
Inputs to the model - can contain template strings.
-
role
final CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.Role role()
The role of the message input. One of
user,assistant,system, ordeveloper.
-
type
final Optional<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.Type> type()
The type of the message input. Always
message.
-
_content
final JsonField<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.Content> _content()
Returns the raw JSON value of content.
Unlike content, this method doesn't throw if the JSON field has an unexpected type.
-
_role
final JsonField<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.Role> _role()
Returns the raw JSON value of role.
Unlike role, this method doesn't throw if the JSON field has an unexpected type.
-
_type
final JsonField<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.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 CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.Builder toBuilder()
-
validate
final CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem validate()
-
builder
final static CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.EvalItem.Builder builder()
Returns a mutable builder for constructing an instance of EvalItem.
The following fields are required:
.content() .role()
-
-
-
-