langchain_community.utilities.nvidia_riva.RivaAudioEncoding¶

class langchain_community.utilities.nvidia_riva.RivaAudioEncoding(value)[source]¶

An enum of the possible choices for Riva audio encoding.

The list of types exposed by the Riva GRPC Protobuf files can be found with the following commands: `python import riva.client print(riva.client.AudioEncoding.keys())  # noqa: T201 `

ALAW = 'ALAW'¶
ENCODING_UNSPECIFIED = 'ENCODING_UNSPECIFIED'¶
FLAC = 'FLAC'¶
LINEAR_PCM = 'LINEAR_PCM'¶
MULAW = 'MULAW'¶
OGGOPUS = 'OGGOPUS'¶
riva_pb2¶

Returns the Riva API object for the encoding.

Examples using RivaAudioEncoding¶