SmartRealtimeSession
Namespace: Wisej.AI
Assembly: Wisej.AI
- C#
- VB.NET
public class SmartRealtimeSession : SmartSession
Public Class SmartRealtimeSession
Inherits SmartSession
Constructors
SmartRealtimeSession(hub, systemPrompt)
Initializes a new instance of the SmartSession class with the specified hub and optional system prompt.
| Name | Type | Description |
|---|---|---|
| hub | SmartHub | The smart hub associated with the session. |
| systemPrompt | SmartPrompt | The optional system prompt for the session. Default is null. |
Throws:
- ArgumentNullException Thrown when the hub is null.
SmartRealtimeSession(endpoint, systemPrompt)
Initializes a new instance of the SmartSession class with the specified endpoint and optional system prompt.
| Name | Type | Description |
|---|---|---|
| endpoint | SmartEndpoint | The smart endpoint associated with the session. |
| systemPrompt | SmartPrompt | The optional system prompt for the session. Default is null. |
Throws:
- ArgumentNullException Thrown when the endpoint is null.