diff --git a/haystack/preview/components/audio/whisper_remote.py b/haystack/preview/components/audio/whisper_remote.py index 743efc451..3b515e867 100644 --- a/haystack/preview/components/audio/whisper_remote.py +++ b/haystack/preview/components/audio/whisper_remote.py @@ -54,6 +54,12 @@ class RemoteWhisperTranscriber: self.whisper_params = whisper_params or {} self.model_name = model_name + self.init_parameters = { + "api_key": self.api_key, + "model_name": self.model_name, + "api_base": self.api_base, + "whisper_params": self.whisper_params, + } @component.output_types(documents=List[Document]) def run(self, audio_files: List[Path], whisper_params: Optional[Dict[str, Any]] = None): diff --git a/pyproject.toml b/pyproject.toml index b3e52581e..3a64cdcba 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -80,7 +80,7 @@ dependencies = [ "jsonschema", # Preview - "canals==0.4.0", + "canals==0.5.0", # Agent events "events",