RivaCommonConfigMixin#

class langchain_community.utilities.nvidia_riva.RivaCommonConfigMixin[source]#

Bases: BaseModel

A collection of common Riva settings.

Create a new model by parsing and validating input data from keyword arguments.

Raises ValidationError if the input data cannot be parsed to form a valid model.

param encoding: RivaAudioEncoding = RivaAudioEncoding.LINEAR_PCM#

The encoding on the audio stream.

param language_code: str = 'en-US'#

The [BCP-47 language code](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) for the target language.

param sample_rate_hertz: int = 8000#

The sample rate frequency of audio stream.