> ## Documentation Index
> Fetch the complete documentation index at: https://docs.cognigy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Session Speech Parameters Config

<a href="/release-notes/4.65"><Badge className="version-badge" color="blue">Updated in 4.65</Badge></a>

<Frame>
  <img class="image-center" src="https://mintcdn.com/cognigy-15abf2ba/jD73u_IBHRit9B59/_assets/ai/develop/node-reference/generic-voice/session-speech-parameter-config.png?fit=max&auto=format&n=jD73u_IBHRit9B59&q=85&s=dd8caae93ec5e152690303be1ae67f79" alt="Generic Session Speech Parameters Config Node configuration panel" style={{ width: 'auto' }} width="263" height="60" data-path="_assets/ai/develop/node-reference/generic-voice/session-speech-parameter-config.png" />

  <figcaption>Generic Session Speech Parameters Config</figcaption>
</Frame>

## Description

<Warning>
  * As of Cognigy.AI 4.96.0, AudioCodes Nodes and Generic Voice Nodes are deprecated. Flows with these Nodes continue to work, and you can still edit and clone them as well as export them as a Package. However, you can't create new ones in Cognigy.AI 4.96 or later.
  * The full removal of AudioCodes Nodes is planned for Q2 2026. After the removal, AI Agents using these Nodes will stop working properly. We strongly recommend migrating to [Voice Gateway Nodes](/ai/agents/develop/node-reference/voice/voice-gateway/overview) before the removal date.
</Warning>

This Node enables the change of speech parameters during the Flow.

When executed, the settings will apply for the remainder of the session.

## Synthesizer - Text-To-Speech - Settings

The TTS settings can be chosen from a pre-filled dropdown for Microsoft Azure, AWS, Google, Nuance, or a custom vendor.

| Parameter                  | Type          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| -------------------------- | ------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| TTS Vendor                 | Dropdown      | Defines the desired TTS Vendor. You can select a custom vendor.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          |
| Custom (Vendor)            | CognigyScript | Allows for specifying a TTS Vendor, which is not in the dropdown list. This option is only available on Voice Gateway. For preinstalled providers, use all lowercase letters, for example, `microsoft`, `google`, `aws`. For custom providers, use the name that you specified on the [Speech Service](/voice-gateway/webapp/speech-services) page in Voice Gateway. <br /><br /> The **Custom** field appears if you selected **Custom** from the **TTS Vendor** list.                                                                                                                                                                                  |
| TTS Language               | Dropdown      | Defines the language of the Voice AI Agent output.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       |
| Custom (Language)          | CognigyScript | Allows for choosing a TTS language, which is not in the dropdown list. Defines the language of the AI Agent output. The format to use depends on the TTS Vendor, for example, `de-DE`, `fr-FR`, `en-US`. <br /><br /> The **Custom** field appears if you selected **Custom** from the **TTS Language** list.                                                                                                                                                                                                                                                                                                                                            |
| TTS Voice                  | Dropdown      | Defines the voice that should be used for the voice AI Agent output.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Custom (Voice)             | CognigyScript | Allows for choosing a TTS voice, which is not in the dropdown list. This setting can be the case for region-specific voices. The format to use depends on the TTS Vendor, for example, `de-DE-ConradNeural`.                                                                                                                                                                                                                                                                                                                                                                                                                                             |
| Enable Advanced TTS Config | Toggle        | Enables the addition of a URL for an Azure Custom Voice Endpoint. <br /><br /> This setting is only available and appears for TTS Vendor Microsoft.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| Disable TTS Audio Caching  | Toggle        | Disables TTS audio caching.<br /><br /> By default, the setting is deactivated. In this case, previously requested TTS audio results are stored in the AI Agent cache. When a new TTS request is made and the audio text has been previously requested, the AI Agent retrieves the cached result instead of sending another request to the TTS provider.<br /><br /> When the setting is activated, the AI Agent caches TTS results but doesn't use them. In this case, each request is directly sent to your speech provider.  <br /><br /> Note that disabling caching can increase TTS costs. For detailed information, contact your speech provider. |

## Recognizer - Speech-To-Text - Settings

The STT settings can be chosen from a prefilled dropdown for Microsoft Azure, AWS, Google, Nuance, Soniox, or a custom vendor.

| Parameter                       | Type          | Description                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      |
| ------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| STT Vendor                      | Dropdown      | Defines the desired STT Vendor. You can select a custom vendor.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Custom (Vendor)                 | CognigyScript | Allows for specifying an STT Vendor, which is not in the dropdown list. Select the desired STT Vendor. This option is only available on Voice Gateway. For preinstalled providers, use all lowercase letters like `microsoft`, `google`, `aws`. For custom providers, use the name that you specified on the [Speech Service page](/voice-gateway/webapp/speech-services) in Voice Gateway. <br /><br /> The **Custom** field appears if you selected **Custom** from the **STT Vendor** list.                                                                                                                                                                                                   |
| STT Language                    | Dropdown      | Defines the language that should be recognized.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                  |
| Custom (Language)               | CognigyScript | Allows for choosing an STT language, which is not in the dropdown list. This setting can be the case for region-specific voices. The format to use depends on the STT Vendor, for example, `de-DE`, `fr-FR`, `en-US`. <br /><br /> The **Custom** field appears if you selected **Custom** from the **STT Language** list.                                                                                                                                                                                                                                                                                                                                                                       |
| STT Hints                       | Text          | Array of words or phrases to assist speech detection. If you want to use multiple hints, enter each hint into a separate input field. For instance, you can enter `Germany` in the first field, `France` in the second field, and `Netherlands` in the third field. The STT provider will receive the data in array format: \["Germany", "France", "Netherlands"]. <br /> Note: This requires support from the STT engine. The field is not available for the Nuance speech vendor.                                                                                                                                                                                                              |
| Dynamic Hints                   | CognigyScript | Uses context or input for adding array hints. For example, <code>\{\{context.hints}}</code> or <code>\{\{input.hints}}</code>.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Google Model                    | Dropdown      | This parameter is active only when Google is selected in the STT Vendor setting.<br /><br />Uses one of Google Cloud Speech-to-Text transcription models. The default value is `latest_short`. For a detailed list of Google models, refer to the [Transcription models](https://cloud.google.com/speech-to-text/docs/transcription-model#transcription_models) section in the Google Documentation. Keep in mind that the `default` value is a Google Model type that can be used if other models don't suit your use case.                                                                                                                                                                     |
| Enable Voice Activity Detection | Toggle        | Delays connection to cloud recognizer until the speech is detected.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                              |
| Disable STT Punctuation         | Toggle        | This parameter is active only when Google or Deepgram is selected in the STT Vendor setting.<br /><br /> Prevents the transcription returned to the AI Agent from including punctuation marks.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
| Deepgram Model                  | Dropdown      | This parameter is active only when Deepgram is selected in the STT Vendor setting. <br /><br /> Choose a model for processing submitted audio. Each model is associated with a tier. Ensure that the selected tier is available for the chosen STT language. For detailed information about Deepgram models, refer to the [Deepgram documentation](https://developers.deepgram.com/docs/model).                                                                                                                                                                                                                                                                                                  |
| Endpointing                     | Toggle        | This parameter is active only when Deepgram is selected in the STT Vendor setting. <br /><br /> Deepgram's Endpointing feature watches streaming audio for long pauses that signal the end of speech. When it spots an endpoint, it finalizes predictions and returns the transcript, marking it as complete with the `speech_final` parameter set to `true`. For detailed information about Deepgram Endpointing, refer to the [Deepgram documentation](https://developers.deepgram.com/docs/endpointing).<br /><br />The duration for detecting the end of speech is preconfigured with a default value (10 milliseconds). If you want to change this value, use the Endpointing Time setting. |
| Endpointing Time                | Number        | This parameter is active only when Deepgram is selected in the STT Vendor setting and the Endpointing toggle is enabled. <br /><br /> Customize the duration (in milliseconds) for detecting the end of speech. The default is 10 milliseconds of silence. Transcripts are sent after detecting silence, and the system waits until the speaker resumes or the required silence time is reached. Once either condition is met, a transcript is sent back with `speech_final` set to `true`.                                                                                                                                                                                                      |
| Smart Formatting                | Toggle        | This parameter is active only when Deepgram is selected in the STT Vendor setting. <br /><br /> Deepgram's Smart Format feature applies additional formatting to transcripts to optimize them for human readability. Smart Format capabilities vary between models. When Smart Formatting is turned on, Deepgram will always apply the best-available formatting for your chosen model, tier, and language combination. For detailed examples, refer to the [Deepgram documentation](https://developers.deepgram.com/docs/smart-format).                                                                                                                                                         |
| Enable Advanced TTS Config      | Toggle        | Enables the addition of an ID for an Azure's Custom Speech model deployment.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                     |
| Enable Audio Logging            | Toggle        | Enables recording and logging of audio from the user on Azure.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   |
