Package com.openai.models.evals
Interface EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.Visitor
-
- All Implemented Interfaces:
public interface EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.Visitor<T extends Object>
-
-
Method Summary
Modifier and Type Method Description abstract T
visitTextInput(String textInput)
A text input to the model. abstract T
visitResponseInputText(ResponseInputText responseInputText)
A text input to the model. abstract T
visitOutputText(EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.OutputText outputText)
A text output from the model. abstract T
visitInputImage(EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage inputImage)
An image input to the model. abstract T
visitAnArrayOfInputTextAndInputImage(List<JsonValue> anArrayOfInputTextAndInputImage)
A list of inputs, each of which may be either an input text or input image object. T
unknown(JsonValue json)
Maps an unknown variant of Content to a value of type T. -
-
Method Detail
-
visitTextInput
abstract T visitTextInput(String textInput)
A text input to the model.
-
visitResponseInputText
abstract T visitResponseInputText(ResponseInputText responseInputText)
A text input to the model.
-
visitOutputText
abstract T visitOutputText(EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.OutputText outputText)
A text output from the model.
-
visitInputImage
abstract T visitInputImage(EvalCreateParams.TestingCriterion.LabelModel.Input.EvalItem.Content.InputImage inputImage)
An image input to the model.
-
visitAnArrayOfInputTextAndInputImage
abstract T visitAnArrayOfInputTextAndInputImage(List<JsonValue> anArrayOfInputTextAndInputImage)
A list of inputs, each of which may be either an input text or input image object.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of Content to a value of type T.
An instance of Content 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.
-
-
-
-