Added SSML option (#14548)

This commit is contained in:
Дубовик Максим 2020-12-21 20:42:47 +02:00 committed by GitHub
parent 77eb8bfeac
commit bc141378ac
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -113,6 +113,11 @@ profiles:
required: false required: false
type: list type: list
default: "[]" default: "[]"
text_type:
description: "Default text type. Supported text types are `text` and `ssml`. Read more on what is that and how to use SSML [here](https://cloud.google.com/text-to-speech/docs/ssml)."
required: false
type: string
default: "text"
{% endconfiguration %} {% endconfiguration %}
### Full configuration example ### Full configuration example
@ -131,6 +136,7 @@ tts:
speed: 0.9 speed: 0.9
pitch: -2.5 pitch: -2.5
gain: -5.0 gain: -5.0
text_type: ssml
profiles: profiles:
- telephony-class-application - telephony-class-application
- wearable-class-device - wearable-class-device