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.
sttRequestOnly := components.CreateSTTRequestOnlyProviderName(components.ProviderName{/* values here */})
sttRequestOnly := components.CreateSTTRequestOnlyStr(string{/* values here */})
Type field to determine which variant is active, then access the corresponding field:
switch sttRequestOnly.Type {
case components.STTRequestOnlyTypeProviderName:
// sttRequestOnly.ProviderName is populated
case components.STTRequestOnlyTypeStr:
// sttRequestOnly.Str is populated
}
Was this page helpful?
Suggestions