8000 GitHub - jc1518/audio-chatbot: Chatbot built with AWS services to enable voice interaction with LLM in Bedrock
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

jc1518/audio-chatbot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Audio Chatbot

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.

Prerequisites

  1. AWS Account with access to:
    • AWS Transcribe
    • AWS Polly
    • AWS Bedrock model access
  2. AWS credentials configured locally
  3. Python 3.11+

Installation

  1. Install the required packages:
pip install -r requirements.txt
  1. 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

Usage

python chatbot.py

or create a bash alias to run launch_chatbot.sh

Demo

Watch the video

About

Chatbot built with AWS services to enable voice interaction with LLM in Bedrock

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published
0