File tree Expand file tree Collapse file tree
src/pipecat/services/gradium Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def __init__(
117117 * ,
118118 api_key : str ,
119119 api_endpoint_base_url : str = "wss://eu.api.gradium.ai/api/speech/asr" ,
120- encoding : str = "pcm " ,
120+ encoding : str = "pcm_16000 " ,
121121 params : Optional [InputParams ] = None ,
122122 json_config : Optional [str ] = None ,
123123 settings : Optional [Settings ] = None ,
@@ -129,7 +129,8 @@ def __init__(
129129 Args:
130130 api_key: Gradium API key for authentication.
131131 api_endpoint_base_url: WebSocket endpoint URL. Defaults to Gradium's streaming endpoint.
132- encoding: Audio input format. One of "pcm", "wav", or "opus". Defaults to "pcm".
132+ encoding: Audio input format. One of "pcm", "pcm_16000", "wav", or "opus". Defaults to
133+ "pcm_16000".
133134 params: Configuration parameters for language and delay settings.
134135
135136 .. deprecated:: 0.0.105
You can’t perform that action at this time.
0 commit comments