Package com.openai.models.responses
Class ResponseFunctionToolCallOutputItem.Output
-
- All Implemented Interfaces:
public final class ResponseFunctionToolCallOutputItem.OutputThe output from the function call generated by your code. Can be a string or an list of output content.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public interfaceResponseFunctionToolCallOutputItem.Output.VisitorAn interface that defines how to map each variant of Output to a value of type T.
public final classResponseFunctionToolCallOutputItem.Output.FunctionAndCustomToolCallOutputA text input to the model.
-
Method Summary
-
-
Method Detail
-
contentList
final Optional<List<ResponseFunctionToolCallOutputItem.Output.FunctionAndCustomToolCallOutput>> contentList()
Text, image, or file output of the function call.
-
isContentList
final Boolean isContentList()
-
asContentList
final List<ResponseFunctionToolCallOutputItem.Output.FunctionAndCustomToolCallOutput> asContentList()
Text, image, or file output of the function call.
-
accept
final <T extends Any> T accept(ResponseFunctionToolCallOutputItem.Output.Visitor<T> visitor)
-
validate
final ResponseFunctionToolCallOutputItem.Output validate()
-
ofString
final static ResponseFunctionToolCallOutputItem.Output ofString(String string)
A string of the output of the function call.
-
ofContentList
final static ResponseFunctionToolCallOutputItem.Output ofContentList(List<ResponseFunctionToolCallOutputItem.Output.FunctionAndCustomToolCallOutput> contentList)
Text, image, or file output of the function call.
-
-
-
-