2025-02-07 22:40:57 +00:00
|
|
|
namespace BotSharp.Abstraction.Realtime.Models;
|
|
|
|
|
|
|
|
|
|
public class RealtimeHubConnection
|
|
|
|
|
{
|
|
|
|
|
public string Event { get; set; } = null!;
|
|
|
|
|
public string StreamId { get; set; } = null!;
|
2025-02-11 23:27:07 +00:00
|
|
|
public string EntryAgentId { get; set; } = null!;
|
2025-02-07 22:40:57 +00:00
|
|
|
public string ConversationId { get; set; } = null!;
|
|
|
|
|
public string Data { get; set; } = string.Empty;
|
2025-02-09 23:31:46 +00:00
|
|
|
public string Model { get; set; } = null!;
|
2025-02-07 22:40:57 +00:00
|
|
|
public Func<string, object> OnModelMessageReceived { get; set; } = null!;
|
|
|
|
|
public Func<object> OnModelAudioResponseDone { get; set; } = null!;
|
|
|
|
|
public Func<object> OnModelUserInterrupted { get; set; } = null!;
|
|
|
|
|
}
|