Supported Types
ProviderName
Union Discrimination
Use theType field to determine which variant is active, then access the corresponding field:
Documentation Index
Fetch the complete documentation index at: /docs/llms.txt
Use this file to discover all available pages before exploring further.
speechRequestOrder := components.CreateSpeechRequestOrderProviderName(components.ProviderName{/* values here */})
speechRequestOrder := components.CreateSpeechRequestOrderStr(string{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch speechRequestOrder.Type {
case components.SpeechRequestOrderTypeProviderName:
// speechRequestOrder.ProviderName is populated
case components.SpeechRequestOrderTypeStr:
// speechRequestOrder.Str is populated
}
Was this page helpful?
Suggestions