Trugen avatar session

This class manages the connection between Livekit agent and Trugen avatar, Routing agent audio output to the avatar for visual representation.

Constructors

Methods

Constructors

Methods

  • Starts the avatar session and connects it to the agent.

    This method:

    1. Creates a Livekit token for the avatar participant
    2. Calls the Trugen API to start the avatar session
    3. Configures the agent's audio output to stream to the avatar

    Parameters

    Returns Promise<void>