Package com.openai.models.responses
Class ResponseFunctionCallOutputItem
-
- All Implemented Interfaces:
public final class ResponseFunctionCallOutputItem
A text input to the model.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interface
ResponseFunctionCallOutputItem.Visitor
An interface that defines how to map each variant of ResponseFunctionCallOutputItem to a value of type T.
-
Method Summary
-
-
Method Detail
-
inputText
final Optional<ResponseInputTextContent> inputText()
A text input to the model.
-
inputImage
final Optional<ResponseInputImageContent> inputImage()
An image input to the model. Learn about image inputs
-
inputFile
final Optional<ResponseInputFileContent> inputFile()
A file input to the model.
-
isInputText
final Boolean isInputText()
-
isInputImage
final Boolean isInputImage()
-
isInputFile
final Boolean isInputFile()
-
asInputText
final ResponseInputTextContent asInputText()
A text input to the model.
-
asInputImage
final ResponseInputImageContent asInputImage()
An image input to the model. Learn about image inputs
-
asInputFile
final ResponseInputFileContent asInputFile()
A file input to the model.
-
accept
final <T extends Any> T accept(ResponseFunctionCallOutputItem.Visitor<T> visitor)
-
validate
final ResponseFunctionCallOutputItem validate()
-
ofInputText
final static ResponseFunctionCallOutputItem ofInputText(ResponseInputTextContent inputText)
A text input to the model.
-
ofInputImage
final static ResponseFunctionCallOutputItem ofInputImage(ResponseInputImageContent inputImage)
An image input to the model. Learn about image inputs
-
ofInputFile
final static ResponseFunctionCallOutputItem ofInputFile(ResponseInputFileContent inputFile)
A file input to the model.
-
-
-
-