Implementation of a AI assistant consisting of STT (Vosk) + LLM(ChatGPT - ?) + TTS (Silero)
This is a "just for fun" non-commercial project.
- Clone this repository
- Download models from here and unzip it into repository.
- Install used tools: portaudio, flac
For Mac OS (for example):
brew install flac
brew install portaudio
-
Install Python 3.10+.
-
Install Poetry:
pip3 install poetry
- Install libraries:
poetry install
- Compile locales translations:
pybabel compile -d locales
-
Set 'LANGUAGE' environment variable: 'ru_RU' or 'en_US' (en_US by default)
-
Run demo:
poetry run python -m src.demo