Member Junction
    Preparing search index...

    Injectable collaborators (production defaults wired in the constructor; fakes in tests).

    interface VonageTelephonyServiceDeps {
        engine?: Pick<
            AIBridgeEngine,
            | "ProviderByName"
            | "ProviderByDriverClass"
            | "StartBridgeSession"
            | "Config",
        >;
        sessionFactory?: (
            ctx: BridgeRealtimeSessionContext,
        ) => Promise<IRealtimeSession>;
        sessionManager?: IAgentSessionManager;
    }
    Index

    Properties

    engine?: Pick<
        AIBridgeEngine,
        | "ProviderByName"
        | "ProviderByDriverClass"
        | "StartBridgeSession"
        | "Config",
    >
    sessionFactory?: (
        ctx: BridgeRealtimeSessionContext,
    ) => Promise<IRealtimeSession>

    Type Declaration

      • (ctx: BridgeRealtimeSessionContext): Promise<IRealtimeSession>
      • Opens a raw IRealtimeSession for the agent named in ctx. Bind this onto a bridge's session-factory seam (e.g. LiveKitAgentRoomCoordinator.Instance.SetSessionFactory(CreateBridgeRealtimeSession)).

        Parameters

        Returns Promise<IRealtimeSession>

        The live realtime session to hand to AIBridgeEngine.StartBridgeSession.

        When the agent can't be resolved, names a DriverClass no BaseAgent subclass is registered for, or no usable Realtime model is configured (surfaced from BaseAgent.StartBridgeRealtimeSession).

    sessionManager?: IAgentSessionManager