Package com.openai.models.evals
Interface EvalCreateParams.TestingCriterion.LabelModel.Input.Visitor
-
- All Implemented Interfaces:
public interface EvalCreateParams.TestingCriterion.LabelModel.Input.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitSimpleInputMessage(EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage simpleInputMessage)
abstract T
visitEvalItem(EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem evalItem)
A message input to the model with a role indicating instruction following hierarchy. T
unknown(JsonValue json)
Maps an unknown variant of Input to a value of type T. -
-
Method Detail
-
visitSimpleInputMessage
abstract T visitSimpleInputMessage(EvalCreateParams.TestingCriterion.LabelModel.Input.SimpleInputMessage simpleInputMessage)
-
visitEvalItem
abstract T visitEvalItem(EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem evalItem)
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.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Input to a value of type T.
An instance of Input can contain an unknown variant if it was deserialized from data that doesn't match any known variant. For example, if the SDK is on an older version than the API, then the API may respond with new variants that the SDK is unaware of.
-
-
-
-