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][pydantic_core.ValidationError] if the input data cannot be validated to form a valid model.
self is explicitly positional-only to allow self as a field name.
- 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.