Function resolveExpressiveOptions

  • Resolve a user ExpressiveOptions to a concrete options object for a provider.

    Starts from defaults, renders speechSteering into per-provider delivery guidelines appended to the template, then applies any explicit ttsInstructionsTemplate override and ttsInstructionsAppend (last, so the user's free-form rules always win). Steering fields the user doesn't set fall back to defaults' speechSteering, so an explicit value always wins over a default. The returned object always has ttsInstructionsTemplate and speechSteering (never ttsInstructionsAppend); speechSteering passes through so injection can filter the advertised markup vocabulary (TTSMarkup.llmInstructions) with it.

    Parameters

    Returns ExpressiveOptions