Frontend User Interface Module
Purpose: Handles interaction between user and chatbot.
Chat-Based UI Query Capture Dynamic Display
Provides chat-based UI (text & Captures user query Displays chatbot response
optional voice input) dynamically
Sends user message to backend using REST API
Supports multilingual selection (if enabled)
Java Backend API Module
Purpose: Acts as middleware between frontend and AI engine.
Request Processing Security & Response
Receives user request from frontend Handles error management and API security
Validates and formats input (JSON) Sends AI response back to frontend
Routes request to Python AI service
Python AI Processing Module
Purpose: Core intelligence of the system.
Preprocessing Intent Classification Query Matching
Preprocesses user input Performs intent classification Matches query with trained model
(cleaning, tokenization) / dataset
Response Generation NLP Understanding
Generates appropriate response Supports NLP-based understanding
Data Management Module
Purpose: Stores and manages college information.
Structured Data Storage FAQ Knowledge Base
Stores structured data (courses, fees, admission info) Maintains FAQ knowledge base
Dynamic Retrieval Data Consistency
Retrieves relevant data dynamically Ensures data consistency and accuracy
Response Delivery Module
Purpose: Sends final response to user.
Format Response Text-to-Speech
Formats chatbot response Converts text-to-speech (if enabled)
Deliver to Frontend Log Interactions
Sends response to frontend Logs interactions for improvement