> ## Documentation Index
> Fetch the complete documentation index at: https://openrouter.ai/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# SpeechRequestOnly

## Supported Types

### ProviderName

```go theme={null}
speechRequestOnly := components.CreateSpeechRequestOnlyProviderName(components.ProviderName{/* values here */})
```

###

```go theme={null}
speechRequestOnly := components.CreateSpeechRequestOnlyStr(string{/* values here */})
```

## Union Discrimination

Use the `Type` field to determine which variant is active, then access the corresponding field:

```go theme={null}
switch speechRequestOnly.Type {
	case components.SpeechRequestOnlyTypeProviderName:
		// speechRequestOnly.ProviderName is populated
	case components.SpeechRequestOnlyTypeStr:
		// speechRequestOnly.Str is populated
}
```
