This chatbot application uses AWS services to enable voice interaction with LLM in Bedrock. It captures voice input, transcribes it using AWS Transcribe Streaming, and gets responses from model using AWS Bedrock, then uses Polly to convert text to speech.
- AWS Account with access to:
- AWS Transcribe
- AWS Polly
- AWS Bedrock model access
- AWS credentials configured locally
- Python 3.11+
- Install the required packages:
pip install -r requirements.txt
- Make sure you have PortAudio installed for PyAudio to work:
- On Ubuntu/Debian:
sudo apt-get install portaudio19-dev
- On macOS:
brew install portaudio
- On Windows: No additional installation needed
python chatbot.py
or create a bash alias to run launch_chatbot.sh