An AI-powered web application designed to provide emotional support and mental health guidance using OpenAI API.
- Conversational AI: Powered by GPT-4-turbo (OpenAI)
- Sentiment Analysis: Detects user emotions
- Responsive Web Interface: Built with Next.js and TailwindCSS
- Anonymous user interactions
- Uses history for context
- Framework: Next.js, TypeScript, TailwindCSS
- AI Models: OpenAI GPT-4-turbo
- NLP Tools: Sentiment.js
git clone https://github.com/dinakajoy/TheraBot.git ai-therapist-chatbot
cd ai-therapist-chatbotnpm installCreate a .env file in the root directory and add:
OPENAI_API_KEY=your_openai_api_keynpm run devnpm run build && npm start- User inputs a message.
- Sentiment Analysis determines mood (positive, negative, neutral).
- AI Model (GPT-4-turbo) generates an appropriate response.
- Response is displayed in a chat UI.
Disclaimer: This chatbot is not a substitute for professional mental health support. If you need help, please consult a licensed therapist.