This repository is developed by APU AIC for the "Python Powered AI Chatbot Workshop" held in Asia Pacific University of Technology & Innovation on 31-May-2024.
Users will learn to develop a voice assistant using Python and pre-trained models.
Use the package manager pip to install packages.
Library for performing speech recognition, with support for several engines and APIs, online and offline.
pip install SpeechRecognition
Library for reading key-value pairs from a .env file and can set them as environment variables. In this case, it is used to set up Hugging Face API token access
pip install python-dotenv
LangChain is a framework for developing applications powered by large language models (LLMs)
pip install langchain
pip install langchain-community
pip install langchain_huggingface
Library for interacting with the Hugging Face Hub, a platform democratizing open-source Machine Learning for creators and collaborators.
pip install Huggingface-hub
Library required for using microphone input, Microphone of SpeechRecognition library.
pip install Pyaudio
Library for listening and sending keyboard events to activate and terminate chatbot.
pip install keyboard
Library for text-to-speech conversion
pip install pyttsx3
SpeechRecognition 3.10.4 Documentation
python-dotenv 1.0.1 Documentation