OpenAIRealtimeClientSession(String, String) Constructor
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.
Initializes a new instance of the OpenAIRealtimeClientSession class.
public:
OpenAIRealtimeClientSession(System::String ^ apiKey, System::String ^ model);
public OpenAIRealtimeClientSession(string apiKey, string model);
new Microsoft.Extensions.AI.OpenAIRealtimeClientSession : string * string -> Microsoft.Extensions.AI.OpenAIRealtimeClientSession
Public Sub New (apiKey As String, model As String)
Parameters
- apiKey
- String
The API key used for authentication.
- model
- String
The model to use for the session.