InputUnion - Go SDK
InputUnion - Go SDK
InputUnion type definition
The Go SDK and docs are currently in beta. Report issues on GitHub.
The input to the generation — either a prompt string or an array of messages
Supported Types
Input1
Input2
Union Discrimination
Use the Type field to determine which variant is active, then access the corresponding field: