BotSharp/src/Infrastructure/BotSharp.Abstraction/Realtime/Models/RealtimeHubConnection.cs

15 lines
615 B
C#
Raw Normal View History

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!;
}