Skip to content

Latest commit

 

History

History
89 lines (70 loc) · 3.31 KB

File metadata and controls

89 lines (70 loc) · 3.31 KB

Psychology Platform - Professional Support System

A comprehensive web platform designed for psychologists providing scientific article access, real-time communication, and AI-powered patient text analysis capabilities.

🎯 Overview

This platform serves as a centralized hub for psychology professionals, offering:

  • Scientific Article Repository: Access to psychology-related research and publications
  • Live Chat System: Real-time communication between psychologists
  • AI Text Analysis: Sentiment analysis of patient texts using Azure AI services
  • Professional Integration: Seamless workflow integration for psychological practice

🏗️ Architecture

The application is built on a microservices architecture deployed on Kubernetes, featuring:

Core Components

  • CMS Layer: Vveb CMS (4 replicas) - Content management for articles and site content
  • Chat System: Python + Nginx backend (3 replicas) with Vue.js frontend (1 replica)
  • AI Application: Vue.js frontend (1 replica) with Azure AI integration
  • Data Storage: MongoDB and Redis for chat system, MySQL for CMS, Azure Blob Storage and SQL Database for AI application

Technology Stack

  • Frontend: Vue.js for interactive components
  • Backend: Python with WebSocket support, Nginx reverse proxy
  • CMS: Vveb Content Management System
  • Databases:
    • MongoDB for chat message storage
    • Redis for chat session management and caching
    • MySQL for CMS content management
    • Azure SQL Database for AI analysis metadata
  • AI Services: Azure Sentiment Analysis
  • Cloud Storage: Azure Blob Storage
  • Container Orchestration: Kubernetes
  • Containerization: Docker with multi-stage builds

🚀 Features

📚 Scientific Article Management

  • Curated collection of psychology research papers
  • Article categorization and search functionality
  • Reading history and bookmarking system
  • Professional content management through CMS

💬 Real-Time Chat System

  • WebSocket-based live communication
  • Message history with timestamps
  • User identification and session management
  • Chronological message display
  • Integrated iframe embedding in main site

🤖 AI-Powered Text Analysis

  • Patient text upload and processing
  • Azure Sentiment Analysis integration
  • Historical analysis tracking
  • Secure file storage using Azure Blob Storage
  • Results database with metadata tracking

Service Endpoints

  • Main Website: Port 80
  • Chat Backend: Port 88
  • Chat Frontend: Port 90
  • AI Application: Integrated via iframe

🎨 Usage

For Psychologists

  1. Access Articles: Browse and read scientific publications through the CMS
  2. Professional Chat: Communicate with colleagues in real-time
  3. Patient Analysis: Upload patient texts for AI-powered sentiment analysis
  4. Track Progress: Review analysis history and results

Administrative Features

  • Content management through CMS interface
  • User session monitoring
  • System health monitoring via Kubernetes dashboard

📊 Monitoring & Maintenance

Health Checks

  • All services include health check endpoints
  • Kubernetes liveness and readiness probes configured
  • Automated restart on failure

Scaling

  • CMS: 4 replicas for high availability
  • Chat Backend: 3 replicas for load distribution
  • Frontend components: Scalable based on demand