using BotSharp.Abstraction.MLTasks;
using BotSharp.Abstraction.Realtime.Models;
namespace BotSharp.Abstraction.Realtime;
///
/// Realtime hub interface. Manage the WebSocket connection include User, Agent and Model.
///
public interface IRealtimeHub
{
RealtimeHubConnection HubConn { get; }
RealtimeHubConnection SetHubConnection(string conversationId);
IRealTimeCompletion Completer { get; }
Task ConnectToModel(Func? responseToUser = null, Func? init = null);
}