This AI-based psychologist chatbot offers users an interactive and engaging platform for voice-based communication. Using advanced natural language processing (NLP) techniques and machine learning, the chatbot simulates a conversation with a psychologist, providing insights and responses to user inputs.
- Voice Recognition: Users can interact with the chatbot via voice inputs.
- NLP-based Conversations: The chatbot processes and understands user speech to generate thoughtful responses.
- Psychological Assessments: The system is trained to provide conversational assistance related to mental health.
- User-Friendly Interface: Powered by Streamlit for an easy-to-use web interface.
You can access the live version of the AI Voice Psychologist Chatbot here:
AI Voice Psychologist Chatbot - Live Demo
Psychologist-Voice-Chatbot/
│
├── .streamlit/ # Contains secrets.toml for storing API keys
│ └── secrets.toml
├── app.py # Main Streamlit app file
├── requirements.txt # List of dependencies to install
├── README.md
├── README.md # Project documentation (this file)
└── utils.py # Other project-specific files and folders
To get started with the project locally, clone the repository to your machine:
git clone https://github.com/Rizwanali324/Psychologist-Voice-Chatbot.git
cd Psychologist-Voice-Chatbot
python -m venv venv
source venv/bin/activate # On Windows use: venv\Scripts\activate
pip install -r requirements.txt
The application uses the Groq API for some of its functionalities. Follow these steps to configure the API key Go to the Groq Console and create an API key.
Create a folder named .streamlit in the root directory of your project:
mkdir .streamlit
Inside the .streamlit folder, create a file named secrets.toml and add your Groq API key in the following format:
[secert]
api_key = "your_groq_api_key_here"
Once the API key is set up and the dependencies are installed, you can run the chatbot locally using Streamlit:
streamlit run app.py
This will launch the chatbot in your default web browser.