external help file | Module Name | online version | schema |
---|---|---|---|
PSOpenAI-help.xml |
PSOpenAI |
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://platform.openai.com/docs/api-reference/realtime-client-events