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