Skip to content

Busrwa/Mindcaps_Backend

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🌿 MindCaps – AI-Powered Psychological Support Assistant (Backend)

A Flask REST API providing empathetic, AI-driven psychological support. Analyzes emotional content, detects crisis situations, and generates motivational messages. Integrated with the MindCaps React Native frontend.

⚙️ Tech Stack

  • Python + Flask
  • Mistral AI & Turkcell AI (LLM integration)
  • Emotion Analysis (joy, sadness, fear, anger, disgust, surprise)
  • Multilingual: Turkish & English

💡 Features

  • AI-generated supportive responses based on user input
  • Emotion analysis returned as structured JSON
  • Crisis situation detection with safe guidance
  • "Future self" motivational message generation

📡 Endpoints

Endpoint Method Description
/generate POST AI response to user input
/analyze-emotions POST Emotional content analysis
/get-next-question GET Next question in past sequence
/get-now-question GET Next question in present sequence
/generate-future-message POST Motivational message from future self

🔗 Related

🚀 Getting Started

git clone https://github.com/Busrwa/Mindcaps_Backend.git
cd Mindcaps_Backend
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
python app.py

About

Flask REST API for AI-powered psychological support, emotion analysis, crisis detection, and motivational message generation.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages