Report Project
Report Project
Karachi Campus
Submitted By:
Submitted to:
1-INTRODUCTION:
In today's dynamic and emotionally charged world, ensuring mental and emotional
well-being is crucial. One of the proven strategies to uplift mood is through
engaging with enriching eBooks and informative articles. To enhance this
experience, Mood Swing introduces an intelligent AI-powered recommendation
system that adapts to users' emotional states. The application allows users to express
their current mood and receive tailored content suggestions, all while incorporating
object-oriented programming (OOP) practices for robustness and scalability.
2-OOP CONCEPTS USED IN PROJECT:
The application design strictly adheres to Java OOP principles, as outlined below:
Abstraction:
The application interacts with the OpenAI API and only extracts relevant
content (eBooks and articles), abstracting away other response data.
Inheritance:
A class hierarchy is used where User is the base class and PremiumUser and
LocalUser inherit from it.
Encapsulation:
The token-based access for Premium users is encapsulated within the
PremiumUser class, ensuring secure, controlled usage.
Access Modifiers:
Premium users have a private ID attribute to maintain identity protection and
class-level data restriction.
3-UML CLASS DIAGRAM:
6-INTERFACE:
7-CONCLUSION:
Mood Swing exemplifies how emotional intelligence can be combined with
artificial intelligence to create personalized user experiences. The application is
developed using strong object-oriented design principles ensuring maintainability
and scalability. With features like mood-based recommendations, token systems,
premium discounting, and secure AI integration, Mood Swing not only fills a
technological gap but also contributes to users' mental and emotional well-being in
a meaningful way.