You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
output_modalities
array
The set of modalities the model can respond with. It defaults to ["audio"], indicating that the model will respond with audio plus a transcript. ["text"] can be used to make the model respond with text only. It is not possible to request both text and audio at the same time.
// OpenAI doesn't support both modalities simultaneously.
403
+
// If audio is in modalities, prefer audio; otherwise use text.
404
+
405
+
// from the docs (https://platform.openai.com/docs/api-reference/realtime-client-events/session)
406
+
// output_modalities [array]
407
+
//
408
+
// The set of modalities the model can respond with. It defaults to ["audio"], indicating that the model will respond with audio plus a transcript. ["text"] can be used to make the model respond with text only. It is not possible to request both text and audio at the same time.
0 commit comments