Class RunContext<UserData>

Type Parameters

  • UserData = UnknownUserData

Constructors

Properties

Accessors

Methods

Constructors

Properties

functionCall: FunctionCall
speechHandle: SpeechHandle

Accessors

Methods

  • Waits for the speech playout corresponding to this function call step.

    Unlike SpeechHandle.waitForPlayout, which waits for the full assistant turn to complete (including all function tools), this method only waits for the assistant's spoken response prior to running this tool to finish playing.

    Returns Promise<void>