| external help file | PSOpenAI-help.xml |
|---|---|
| Module Name | PSOpenAI |
| online version | https://github.com/mkht/PSOpenAI/blob/main/Docs/Request-RealtimeSessionResponse.md |
| schema | 2.0.0 |
Instruct the server to generate a response.
Request-RealtimeSessionResponse
[-EventId <String>]
[-Instructions <String>]
[-OutputModalities <String[]>]
[-Voice <String>]
[-OutputAudioFormat <String>]
[-Temperature <Single>]
[-MaxOutputTokens <Int32>]
Instruct the server to generate a response. When automatic turn detection by the server is enabled, this is usually not necessary. If turn detection is disabled, use this command to request a response from the server.
PS C:\> Request-RealtimeSessionResponseOptional client-generated ID used to identify this event.
Type: String
Required: False
Position: NamedInstructions for the model.
Type: String
Required: False
Position: NamedMaximum number of output tokens for a single assistant response. Provide an integer between 1 and 4096 to limit output tokens, or -1 for no limitations.
Type: Int32
Required: False
Position: Named
Default value: -1The set of modalities the model can respond with.
Type: String[]
Accepted values: text, audio
Required: False
Position: NamedThe format of output audio. Options are pcm16, g711_ulaw, or g711_alaw.
Type: String
Required: False
Position: NamedSampling temperature for the model, limited to [0.6, 1.2].
Type: Single
Required: False
Position: NamedThe voice the model uses to respond.
Type: String
Required: False
Position: Namedhttps://developers.openai.com/api/docs/guides/realtime-conversations/