API Reference
Class
OpenAIRealtimeSessionOptions
Describes a Realtime session and its short-lived client credential.
Inheritance
- Object
- OpenAIRealtimeSessionOptions
Usage
This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.
Accepted by parameters
Constructors
public OpenAIRealtimeSessionOptions() #Inherited Methods
Properties
public String Model { get; set; } #Realtime model identifier.
public String Instructions { get; set; } #Optional session instructions.
public String[] OutputModalities { get; set; } #Output modalities requested from the model. Voice sessions normally use audio; text-only sessions can set this to text.
public String Voice { get; set; } #Optional Realtime voice name. When omitted, the service default is used.
public TimeSpan ClientSecretLifetime { get; set; } #Lifetime requested for the short-lived client credential.