Welcome to the GitHub repository of IITI-GPT, a unique chatbot application developed by the Cynaptics Club and Robotics Club of IIT Indore.
IITI-GPT is an innovative chatbot application designed specifically to run on a Raspberry Pi. Leveraging the compact and efficient computing capabilities of the Raspberry Pi, this chatbot brings advanced natural language processing to your fingertips. It provides an interactive and intelligent conversational experience.
- Intelligent Conversations: IITI-GPT uses advanced AI models to generate human-like responses, making it a reliable and interactive chatbot.
- Raspberry Pi Integration: The application is optimized to run on Raspberry Pi, making it a portable and accessible solution.
- Developed by Experts: This project is a collaborative effort between the Cynaptics Club and Robotics Club of IIT Indore, bringing together expertise in AI, robotics, and software development.
- The source code is run on the Raspberry Pi 4 Model-B with 4 GB RAM microprocessor. Here there is audio to text conversion , AI model response genration , again conversion of text to audio and finally responce is played through speakers.
- A library, PyAudio in python is to record audio when the button is pressed. It provides Python bindings for PortAudio v19, the cross-platform audio I/O library and then we save it as a WAV file. Then for audio to speech transcription we use Gradio client, a high-level class which allows to create a web-based GUI / demo around a ML model in a few lines of code. Then this is fed for interaction with a remote chatbot model using the Gradio client to send a combination of initial prompts, information, and questions. The chatbot's responses are then extracted and then converted back to audio using Google Text-to-Speech (gTTS) , and plays them through speakers.
This file has been designed to provide a interactive and intelligent conversational experience. The RGB channels mainly indicate :
Green LED: Indicates that the system is in a recording state(When the user is press holding the button) Blue LED: Indicates that the system is in a speaking state. ie, when the AI model is playing back a response. Red LED: Indicates an error state or an issue with the system(If it arises).
To get started with IITI-GPT, you'll need a Raspberry Pi and the necessary software dependencies.
- Install the required dependencies:
pip install -r requirements.txt
For any queries or suggestions, please reach out to the Cynaptics Club or Robotics Club of IIT Indore.