Package com.openai.models.beta.responses
Interface BetaResponseFunctionCallOutputItem.Visitor
-
- All Implemented Interfaces:
public interface BetaResponseFunctionCallOutputItem.Visitor<T extends Object>An interface that defines how to map each variant of BetaResponseFunctionCallOutputItem to a value of type T.
-
-
Method Summary
Modifier and Type Method Description abstract TvisitInputText(BetaResponseInputTextContent inputText)A text input to the model. abstract TvisitInputImage(BetaResponseInputImageContent inputImage)An image input to the model. abstract TvisitInputFile(BetaResponseInputFileContent inputFile)A file input to the model. Tunknown(JsonValue json)Maps an unknown variant of BetaResponseFunctionCallOutputItem to a value of type T. -
-
Method Detail
-
visitInputText
abstract T visitInputText(BetaResponseInputTextContent inputText)
A text input to the model.
-
visitInputImage
abstract T visitInputImage(BetaResponseInputImageContent inputImage)
An image input to the model. Learn about image inputs
-
visitInputFile
abstract T visitInputFile(BetaResponseInputFileContent inputFile)
A file input to the model.
-
unknown
T unknown(JsonValue json)
Maps an unknown variant of BetaResponseFunctionCallOutputItem to a value of type T.
An instance of BetaResponseFunctionCallOutputItem 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.
-
-
-
-