Class RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate
-
- All Implemented Interfaces:
public final class RunCancelResponse.DataSource.Responses.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 interfaceRunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.VisitorAn interface that defines how to map each variant of InnerTemplate to a value of type T.
public final classRunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessagepublic final classRunCancelResponse.DataSource.Responses.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.
-
Method Summary
-
-
Method Detail
-
chatMessage
final Optional<RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage> chatMessage()
-
evalItem
final Optional<RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.EvalItem> evalItem()
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.
-
isChatMessage
final Boolean isChatMessage()
-
isEvalItem
final Boolean isEvalItem()
-
asChatMessage
final RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage asChatMessage()
-
asEvalItem
final RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.EvalItem asEvalItem()
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(RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.Visitor<T> visitor)
-
validate
final RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate validate()
-
ofChatMessage
final static RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate ofChatMessage(RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.ChatMessage chatMessage)
-
ofEvalItem
final static RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate ofEvalItem(RunCancelResponse.DataSource.Responses.InputMessages.Template.InnerTemplate.EvalItem evalItem)
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.
-
-
-
-