@jambonz/sdk
    Preparing search index...

    Class VerbBuilder

    Base class for building jambonz verb arrays. Extended by WebhookResponse and WsSession. Provides typed verb methods and optional runtime schema validation.

    Hierarchy (View Summary)

    Index

    Constructors

    Properties

    verbs: Verb[] = []
    validator: JambonzValidator | null

    Accessors

    Methods

    • Speak text using TTS. Supports SSML, multiple voices, and streaming.

      Parameters

      Returns this

    • Connect the caller to an LLM for real-time voice conversation.

      Parameters

      Returns this

    • Synonym for llm. Requires vendor to be specified.

      Parameters

      • opts: Omit<S2sVerb, "verb">

      Returns this

    • Shortcut for s2s with vendor='openai'.

      Parameters

      • opts: Omit<LlmBaseOptions, "vendor">

      Returns this

    • Shortcut for s2s with vendor='google'.

      Parameters

      • opts: Omit<LlmBaseOptions, "vendor">

      Returns this

    • Shortcut for s2s with vendor='elevenlabs'.

      Parameters

      • opts: Omit<LlmBaseOptions, "vendor">

      Returns this

    • Shortcut for s2s with vendor='deepgram'.

      Parameters

      • opts: Omit<LlmBaseOptions, "vendor">

      Returns this

    • Shortcut for s2s with vendor='ultravox'.

      Parameters

      • opts: Omit<LlmBaseOptions, "vendor">

      Returns this

    • Connect the caller to a Google Dialogflow agent (ES, CX, or CES).

      Parameters

      • opts: Omit<DialogflowVerb, "verb">

      Returns this

    • Add one or more verbs from raw JSON. Validates against the JSON schemas at runtime if validation is enabled.

      Parameters

      Returns this