class_docstr: Transcribes audio files using OpenAI's Whisper using OpenAI API. Requires an API key. See the
  [OpenAI blog post](https://beta.openai.com/docs/api-reference/whisper) for more details.
  You can get one by signing up for an [OpenAI account](https://beta.openai.com/).
  
  For the supported audio formats, languages, and other parameters, see the
  [Whisper API documentation](https://platform.openai.com/docs/guides/speech-to-text)
docstr: Transcribe the audio files into a list of Documents, one for each input file.
  
  :param sources: A list of file paths or ByteStreams containing the audio files to transcribe.
  :returns: A list of Documents, one for each file. The content of the document is the transcription text.
code: def run(self, sources: List[Union[str, Path, ByteStream]]):
      """
      Transcribe the audio files into a list of Documents, one for each input file.
  
      :param sources: A list of file paths or ByteStreams containing the audio files to transcribe.
      :returns: A list of Documents, one for each file. The content of the document is the transcription text.
      """
      documents = []
  
      for source in sources:
          if not isinstance(source, ByteStream):
              path = source
              source = ByteStream.from_file_path(Path(source))
              source.meta["file_path"] = path
  
          file = io.BytesIO(source.data)
          file.name = (
              str(source.meta["file_path"])
              if "file_path" in source.meta
              else "__fallback__.wav"
          )
  
          content = self.client.audio.transcriptions.create(
              file=file, model=self.model, **self.whisper_params
          )
          doc = Document(content=content.text, meta=source.meta)
          documents.append(doc)
  
      return {"documents": documents}
  
file_path: haystack/haystack/components/audio/whisper_remote.py
imports: import io
  import logging
  from pathlib import Path
  from typing import Any, Dict, List, Optional, Union
  from openai import OpenAI
  from haystack import Document, component, default_from_dict, default_to_dict
  from haystack.dataclasses import ByteStream
label_desc: Use image node_id 4 for calling the RemoteWhisperTranscriber obj's underlying member method code with example usage: obj.run(sources) and returns: dict