An AI-powered chatbot designed to help users improve their pronunciation, build confidence, and practice communication skills. The chatbot provides personalized feedback, interactive conversations, and generates detailed progress reports.
- Interactive Chat: Engage in meaningful conversations to practice communication skills.
- Phoneme Practice: Focused exercises to improve pronunciation of specific sounds.
- Text-to-Speech: Audio feedback with adjustable speed and clarity.
- Speech Recognition: Converts spoken words into text for interaction.
- Progress Analysis: Generate a PDF report with conversation insights, progress charts, and user details.
- Custom Styling: Visually appealing chat bubbles and user interface.
-
Frontend:
- Streamlit for building the user interface.
- Custom CSS for styling chat bubbles and buttons.
-
Backend:
- Groq API for AI-generated responses.
- SpeechRecognition for handling voice input.
- pyttsx3 for text-to-speech conversion.
- Python as the primary programming language.
-
PDF Generation:
- ReportLab for creating detailed progress reports.
- Charts generated with Matplotlib and Seaborn.
-
Speech & Audio:
- Py Audio for capturing and playing back audio on Raspberry Pi or compatible devices.
-
Version Control:
-
Visualization & Reporting:
- Matplotlib for generating charts and graphs in reports.
- Seaborn for enhanced data visualization.
-
Clone the Repository:
https://github.com/abhaydixit07/confidence-Pronunciation-boosting-chatbot.git cd confidence-Pronunciation-boosting-chatbot
-
Set Up the Environment:
- Create a virtual environment and activate it:
python -m venv venv source venv/bin/activate # On Windows: venv\Scripts\activate
- Install dependencies:
pip install -r requirements.txt
- Create a virtual environment and activate it:
-
Add API Key:
- Create a file named
apiKey.py
in the root directory. - Add your Groq API key:
GROQ_API_KEY = "your-groq-api-key"
- Create a file named
-
Run the Application:
streamlit run Conversational AI.py
-
Access the App: Open your browser and navigate to
http://localhost:8501
.
-
Start the Chatbot:
- Launch the application and interact with the chatbot.
- You can type messages or use the "Start Listening" button to speak.
-
Practice Pronunciation:
- Follow the bot's guidance for phoneme exercises like "p" and "b," or "s" and "sh."
-
Generate Progress Reports:
- After a session, click on "Generate Report" to download a detailed PDF analysis.
-
Listen to Feedback:
- Use the integrated text-to-speech feature for audio responses.
This project is licensed under the MIT License.
- The Groq API for enabling advanced conversational capabilities.
- The Streamlit team for an excellent framework for building interactive apps.
- Open-source libraries like ReportLab and SpeechRecognition.