← all repositories

linyiLYi/voice-assistant

A Python script enabling voice-based dialogue with local large language models using Whisper for speech recognition and Yi for text generation.

1.3k stars Python Chat AssistantsLanguage Models
voice-assistant
Velocity · 7d
+1.5
★ / day
Trend
steady
star history

This project creates a local voice assistant by combining Whisper for speech-to-text with the Yi large language model for generating text responses. Users speak into a microphone, which is transcribed by Whisper, sent to the Yi model, and the response is then vocalized. The implementation is a single-script Python project designed as a demonstration of integrating speech recognition with LLMs.

heatdrop uses Google Analytics to see which pages get read — nothing else. Your call. How we handle data.