Class EvalRetrieveResponse.TestingCriterion.ScoreModel.Input
-
- All Implemented Interfaces:
public final class EvalRetrieveResponse.TestingCriterion.ScoreModel.InputA 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 classEvalRetrieveResponse.TestingCriterion.ScoreModel.Input.BuilderA builder for Input.
public final classEvalRetrieveResponse.TestingCriterion.ScoreModel.Input.ContentText inputs to the model - can contain template strings.
public final classEvalRetrieveResponse.TestingCriterion.ScoreModel.Input.RoleThe role of the message input. One of
user,assistant,system, ordeveloper.public final classEvalRetrieveResponse.TestingCriterion.ScoreModel.Input.TypeThe type of the message input. Always
message.
-
Method Summary
-
-
Method Detail
-
content
final EvalRetrieveResponse.TestingCriterion.ScoreModel.Input.Content content()
Text inputs to the model - can contain template strings.
-
role
final EvalRetrieveResponse.TestingCriterion.ScoreModel.Input.Role role()
The role of the message input. One of
user,assistant,system, ordeveloper.
-
type
final Optional<EvalRetrieveResponse.TestingCriterion.ScoreModel.Input.Type> type()
The type of the message input. Always
message.
-
_content
final JsonField<EvalRetrieveResponse.TestingCriterion.ScoreModel.Input.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<EvalRetrieveResponse.TestingCriterion.ScoreModel.Input.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<EvalRetrieveResponse.TestingCriterion.ScoreModel.Input.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 EvalRetrieveResponse.TestingCriterion.ScoreModel.Input.Builder toBuilder()
-
validate
final EvalRetrieveResponse.TestingCriterion.ScoreModel.Input validate()
-
builder
final static EvalRetrieveResponse.TestingCriterion.ScoreModel.Input.Builder builder()
Returns a mutable builder for constructing an instance of Input.
The following fields are required:
.content() .role()
-
-
-
-