| external help file | PSOpenAI-help.xml |
|---|---|
| Module Name | PSOpenAI |
| online version | https://github.com/mkht/PSOpenAI/blob/main/Docs/Send-RealtimeSessionEvent.md |
| schema | 2.0.0 |
Send any client event to the server.
Send-RealtimeSessionEvent
[-Message] <String>
Sends an arbitrary message expressed as a JSON string to the session. This is useful for sending custom events that PSOpenAI does not support in its functions.
PS C:\> Send-RealtimeSessionEvent -Message '{"event_id": "event_567", "type": "response.cancel"}'JSON-formatted message.
Type: String
Required: True
Position: 0
Accept pipeline input: True (ByValue)https://developers.openai.com/api/reference/resources/realtime/