You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`name`<spanclassName="required-arg">Required</span> |`string`|`English`| Name of the language ("French", "English", etc). |
31
-
|`code`<spanclassName="required-arg">Required</span> |`string`|`en-US`| The language code for the chosen voice, specified by the selected [TTS provider][tts-providers]. For example, `fr-FR`. |
32
-
|[`voice`](#use-voice-strings)<spanclassName="required-arg">Required</span> |`string`|[Standard-tier][voices-and-languages] voice picked by SignalWire | String format: `<engine id>.<voice id>`.<br/>Select engine from `gcloud`, `polly`, `elevenlabs`, or `deepgram`. Select voice from [TTS provider reference][tts-providers].<br/>For example, `"gcloud.fr-FR-Neural2-B"`. |
33
-
|`emotion`<spanclassName="optional-arg">Optional</span> |`string`| None | Enables emotion for the set TTS engine. This allows the AI to express emotions when speaking. A global emotion or specific emotions for certain topics can be set within the prompt of the AI.<br />*Valid values:**`auto`<br />**IMPORTANT:** Only works with `Cartesia` TTS engine.|
34
-
|`function_fillers`<spanclassName="optional-arg">Optional</span> |`string[]`| None | An array of strings to be used as fillers in the conversation when the agent is calling a [`SWAIG function`][swaig-functions]. The filler is played asynchronously during the function call. |
35
-
|`model`<spanclassName="optional-arg">Optional</span> |`string`| None | The model to use for the specified TTS engine (e.g. `arcana`). Check the [TTS provider reference][tts-providers] for the available models.|
36
-
|`speech_fillers`<spanclassName="optional-arg">Optional</span> |`string[]`| None | An array of strings to be used as fillers in the conversation. This helps the AI break silence between responses.|
37
-
|`speed`<spanclassName="optional-arg">Optional</span> |`string`| None | The speed to use for the specified TTS engine. This allows the AI to speak at a different speed at different points in the conversation. The speed behavior can be defined in the prompt of the AI.<br />*Valid values:**`auto`<br />**IMPORTANT:** Only works with [`Cartesia`](/voice/tts/cartesia) TTS engine.|
38
-
| <spanclassName="deprecated-arg">`fillers`</span><spanclassName="optional-arg">Optional</span> | <spanclassName="deprecated-arg">`string[]`</span> | <spanclassName="deprecated-arg">None</span> | <spanclassName="deprecated-arg">An array of strings to be used as fillers in the conversation and when the agent is calling a [`SWAIG function`][swaig-functions].</span><spanclassName="deprecated-desc">**Deprecated**: Use `speech_fillers` and `function_fillers` instead.</span> |
39
-
| <spanclassName="deprecated-arg">`engine`</span><spanclassName="optional-arg">Optional</span> | <spanclassName="deprecated-arg">`string`</span> | <spanclassName="deprecated-arg">`gcloud`</span> | <spanclassName="deprecated-arg">The engine to use for the language. For example, `"elevenlabs"`.</span><spanclassName="deprecated-desc">**Deprecated.** Set the engine with the [`voice`](#use-voice-strings) parameter.</span> |
|`name`<spanclassName="required-arg">Required</span> |`string`|`English`| Name of the language ("French", "English", etc). This value is used in the system prompt to instruct the LLM what language is being spoken.|
32
+
|`code`<spanclassName="required-arg">Required</span> |`string`|`en-US`| Set the language code for <Tooltipstip="Automatic Speech Recognition">ASR</Tooltips> (<Tooltipstip="Speech-to-text">STT</Tooltips>) purposes. By default, SignalWire uses Deepgram's Nova-3 STT engine, so this value should match a code from Deepgram's [Nova-3 language codes table][deepgram-codes].<br/><hr/>If a different STT model was selected using the [`openai_asr_engine` parameter](/swml/methods/ai/params), you must select a code supported by that engine.|
33
+
|[`voice`](#use-voice-strings)<spanclassName="required-arg">Required</span> |`string`|[Standard-tier][voices-and-languages] voice picked by SignalWire | String format: `<engine id>.<voice id>`.<br/>Select engine from `gcloud`, `polly`, `elevenlabs`, or `deepgram`. Select voice from [TTS provider reference][tts-providers].<br/>For example, `"gcloud.fr-FR-Neural2-B"`. |
34
+
|`emotion`<spanclassName="optional-arg">Optional</span> |`string`| None | Enables emotion for the set TTS engine. This allows the AI to express emotions when speaking. A global emotion or specific emotions for certain topics can be set within the prompt of the AI.<br />*Valid values:**`auto`<br />**IMPORTANT:** Only works with `Cartesia` TTS engine. |
35
+
|`function_fillers`<spanclassName="optional-arg">Optional</span> |`string[]`| None | An array of strings to be used as fillers in the conversation when the agent is calling a [`SWAIG function`][swaig-functions]. The filler is played asynchronously during the function call.|
36
+
|`model`<spanclassName="optional-arg">Optional</span> |`string`| None | The model to use for the specified TTS engine (e.g. `arcana`). Check the [TTS provider reference][tts-providers] for the available models.|
37
+
|`speech_fillers`<spanclassName="optional-arg">Optional</span> |`string[]`| None | An array of strings to be used as fillers in the conversation. This helps the AI break silence between responses.<hr/>Note that `speech_fillers` are used between every 'turn' taken by the LLM, including at the beginning of the call. For more targed fillers, consider using `function_fillers`.|
38
+
|`speed`<spanclassName="optional-arg">Optional</span> |`string`| None | The speed to use for the specified TTS engine. This allows the AI to speak at a different speed at different points in the conversation. The speed behavior can be defined in the prompt of the AI.<br />*Valid values:**`auto`<br />**IMPORTANT:** Only works with [`Cartesia`](/voice/tts/cartesia) TTS engine. |
39
+
| <spanclassName="deprecated-arg">`fillers`</span><spanclassName="optional-arg">Optional</span> | <spanclassName="deprecated-arg">`string[]`</span> | <spanclassName="deprecated-arg">None</span> | <spanclassName="deprecated-arg">An array of strings to be used as fillers in the conversation and when the agent is calling a [`SWAIG function`][swaig-functions].</span><spanclassName="deprecated-desc">**Deprecated**: Use `speech_fillers` and `function_fillers` instead.</span>|
40
+
| <spanclassName="deprecated-arg">`engine`</span><spanclassName="optional-arg">Optional</span> | <spanclassName="deprecated-arg">`string`</span> | <spanclassName="deprecated-arg">`gcloud`</span> | <spanclassName="deprecated-arg">The engine to use for the language. For example, `"elevenlabs"`.</span><spanclassName="deprecated-desc">**Deprecated.** Set the engine with the [`voice`](#use-voice-strings) parameter.</span>|
0 commit comments