BaseInputsUnion1 - Go SDK
BaseInputsUnion1 - Go SDK
BaseInputsUnion1 type definition
The Go SDK and docs are currently in beta. Report issues on GitHub.
Supported Types
BaseInputsMessage
OpenAIResponseInputMessageItem
OpenAIResponseFunctionToolCallOutput
OpenAIResponseFunctionToolCall
OutputItemImageGenerationCall
OutputMessage
OpenAIResponseCustomToolCall
OpenAIResponseCustomToolCallOutput
ApplyPatchCallItem
ApplyPatchCallOutputItem
Union Discrimination
Use the Type field to determine which variant is active, then access the corresponding field: