Voice To Prompt Pipeline
A conceptual voice to prompt pipeline that attempts to separate instructions from provided context for better results
About This Project
Voice-To-Prompt-Pipeline is a Python command-line tool that transforms audio recordings of AI prompts into well-organized markdown files. Users place audio files in an input directory, select one from an interactive menu, and the tool uploads the recording to Google's Gemini 2.5 Pro model, which transcribes the speech, removes filler words, and reformats the content according to a template defined in a separate system prompt file. The output is a timestamped markdown document containing a two-line summary, an organized list of requests, and a context or background section.
The project is built on Python 3.8 or higher and uses uv or pip for dependency management, with API credentials loaded from a local environment file. It supports common audio formats including MP3, WAV, M4A, OGG, FLAC, AAC, WMA, and OPUS. The system prompt is externalized to a markdown file, allowing the output structure and formatting rules to be adjusted without modifying the script itself.
The project is intended as a proof of concept for users who prefer dictating prompts over typing them and want to separate instructions from supporting context before submitting them to a language model. It may be of interest to developers exploring multimodal audio processing with large language models, or to anyone building voice-driven prompt workflows.