The provider object a speak script accepts: any of the four text-to-speech providers.
This is the type of TextStreamScript.provider. Pick the variant for the provider you
want, give it the voice_id to speak with and, except for AmazonTtsProvider, an optional
voice_config; type discriminates the union.
The provider object a speak script accepts: any of the four text-to-speech providers.
This is the type of TextStreamScript.provider. Pick the variant for the provider you want, give it the
voice_idto speak with and, except for AmazonTtsProvider, an optionalvoice_config;typediscriminates the union.