The session resource.
Name | Type | Description | Notes |
---|---|---|---|
id | String | The unique ID of the session. | [optional] |
_object | String | The object type, must be "realtime.session". | [optional] |
model | String | The default model used for this session. | [optional] |
modalities | List<String> | The set of modalities the model can respond with. | [optional] |
instructions | String | The default system instructions. | [optional] |
voice | String | The voice the model uses to respond - one of `alloy`, `echo`, or `shimmer`. | [optional] |
inputAudioFormat | String | The format of input audio. | [optional] |
outputAudioFormat | String | The format of output audio. | [optional] |
inputAudioTranscription | RealtimeServerEventSessionCreatedSessionInputAudioTranscription | [optional] | |
turnDetection | RealtimeServerEventSessionCreatedSessionTurnDetection | [optional] | |
tools | List<RealtimeClientEventResponseCreateResponseToolsInner> | Tools (functions) available to the model. | [optional] |
toolChoice | String | How the model chooses tools. | [optional] |
temperature | BigDecimal | Sampling temperature. | [optional] |
maxOutputTokens | RealtimeServerEventSessionCreatedSessionMaxOutputTokens | [optional] |