Class CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate
-
- All Implemented Interfaces:
public final class CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate
A message input to the model with a role indicating instruction following hierarchy. Instructions given with the
developer
orsystem
role take precedence over instructions given with theuser
role. Messages with theassistant
role are presumed to have been generated by the model in previous interactions.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.Visitor
An interface that defines how to map each variant of InnerTemplate to a value of type T.
public final class
CreateEvalCompletionsRunDataSource.InputMessages.Template.InnerTemplate.Message
A message input to the model with a role indicating instruction following hierarchy. Instructions given with the
developer
orsystem
role take precedence over instructions given with theuser
role. Messages with theassistant
role 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
developer
orsystem
role take precedence over instructions given with theuser
role. Messages with theassistant
role 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
developer
orsystem
role take precedence over instructions given with theuser
role. Messages with theassistant
role 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
developer
orsystem
role take precedence over instructions given with theuser
role. Messages with theassistant
role 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
developer
orsystem
role take precedence over instructions given with theuser
role. Messages with theassistant
role 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
developer
orsystem
role take precedence over instructions given with theuser
role. Messages with theassistant
role 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
developer
orsystem
role take precedence over instructions given with theuser
role. Messages with theassistant
role are presumed to have been generated by the model in previous interactions.
-
-
-
-