Class CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate
-
- All Implemented Interfaces:
public final class CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplateA 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 interfaceCreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.VisitorAn interface that defines how to map each variant of InnerTemplate to a value of type T.
public final classCreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.MessageA 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.
-
Method Summary
-
-
Method Detail
-
easyInputMessage
final Optional<EasyInputMessage> easyInputMessage()
A 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.
-
message
final Optional<CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.Message> message()
A 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.
-
isEasyInputMessage
final Boolean isEasyInputMessage()
-
asEasyInputMessage
final EasyInputMessage asEasyInputMessage()
A 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.
-
asMessage
final CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.Message asMessage()
A 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.
-
accept
final <T extends Any> T accept(CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.Visitor<T> visitor)
-
ofEasyInputMessage
final static CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate ofEasyInputMessage(EasyInputMessage easyInputMessage)
A 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.
-
ofMessage
final static CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate ofMessage(CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.Message message)
A 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.
-
-
-
-