Rate this page:

TurnEvents

Add the following line to your scenario code to use the events:

require(Modules.Pipecat);

Constants

ConnectorInformation
Copy URL

Contains information about connector.

Parameters

  • data:

    {customEvent: string, payload: Object}

    Optional

    The 'payload' parameter contains the event's data.

  • turnDetector:

    TurnDetector

    The Pipecat.TurnDetector instance.

Error
Copy URL

The error response event.

Parameters

Reset
Copy URL

The Pipecat.TurnDetector is reset.

Parameters

Result
Copy URL

Parameters

  • endOfTurn:

    boolean

    Indicates whether the event is emitted at the end of the turn. Is true when the model predicts the end of the turn.

  • probability:

    number

    The probability of the result, in the range [0.0, 1.0].

  • turnDetector:

    TurnDetector

    The Pipecat.TurnDetector instance.

Rate this page: