SessionResponse Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
The response resource.
public class SessionResponse : System.ClientModel.Primitives.IJsonModel<Azure.AI.VoiceLive.SessionResponse>, System.ClientModel.Primitives.IPersistableModel<Azure.AI.VoiceLive.SessionResponse>
type SessionResponse = class
interface IJsonModel<SessionResponse>
interface IPersistableModel<SessionResponse>
Public Class SessionResponse
Implements IJsonModel(Of SessionResponse), IPersistableModel(Of SessionResponse)
- Inheritance
-
SessionResponse
- Implements
Properties
| ConversationId |
Which conversation the response is added to, determined by the |
| Id |
The unique ID of the response. |
| MaxOutputTokens |
Maximum number of output tokens for a single assistant response, inclusive of tool calls, that was used in this response. |
| Modalities |
The set of modalities the model used to respond. If there are multiple modalities,
the model will pick one, for example if |
| ModalitiesInternal |
The set of modalities the model used to respond. If there are multiple modalities,
the model will pick one, for example if |
| Object |
The object type, must be |
| Output |
The list of output items generated by the response. |
| OutputAudioFormat |
The format of output audio. Options are |
| Status |
The final status of the response. One of: |
| StatusDetails |
Additional details about the status. |
| Temperature |
Sampling temperature for the model, limited to [0.6, 1.2]. Defaults to 0.8. |
| Usage |
Usage statistics for the Response, this will correspond to billing. A VoiceLive API session will maintain a conversation context and append new Items to the Conversation, thus output from previous turns (text and audio tokens) will become the input for later turns. |
| Voice |
supported voice identifiers and configurations. |