Prerequisites
-
Install ffmpeg
- macOS:
brew install ffmpeg - Ubuntu:
sudo apt-get install ffmpeg - Windows: Download from https://ffmpeg.org/download.html
- macOS:
-
Install mlx-whisper library
-
Prepare audio files
- Create a ‘storage/audio’ directory
- Place your audio files in this directory
- Supported formats: mp3, mp4, wav, etc.
-
Download sample audio (optional)
- Visit the audio-samples (as an example) and save the audio file to the
storage/audiodirectory.
- Visit the audio-samples (as an example) and save the audio file to the
Example
The following agent will use MLX Transcribe to transcribe audio files.cookbook/14_tools/mlx_transcribe_tools.py
Toolkit Params
Toolkit Functions
Developer Resources
- View Tools