langchain_community.utilities.nvidia_riva
.RivaAudioEncoding¶
- class langchain_community.utilities.nvidia_riva.RivaAudioEncoding(value)[source]¶
表示Riva音频编码可能选项的枚举。
查找Riva GRPC Protobuf文件公开的类型列表可使用以下命令:
`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¶
返回编码的Riva API对象。