A language for chatbots, uses ASR and TTS technology.
The system uses pyaudio which needs: portaudio, libsound and mpg321, to install do the following:
sudo apt-get install libasound-dev portaudio19-dev libportaudio2
sudo apt install mpg321
Using pipenv
pipenv install --ignore-pipfile
Activate the shell
pipenv shell
python chatvoice.py conversations/hello_name.yaml
python chatvoice.py conversations/hello_name.yaml --rec_voice --google_tts
Resulting in this:
HAL: buen día
HAL: ¿cúal es tu nombre?
USER: Jesús
HAL: mucho gusto en conocerte
HAL: adios Jesús
Summary values:
name Jesús
python chatvoice.py conversations/hello_name.yaml --help