Happy2be
Furthering my exploration in Java Spring Boot APIs and cloud technologies
Java Spring Boot Collection
- Bookit
- fortune-ai
- [happy2be] happy2be
- calendar
- lazy-image-loader
Furthering my exploration in Java Spring Boot APIs and cloud technologies, and using the foundation of fortune-ai, the desire to understand language models with human interface has be exploring the value ChatGPT can bring. Use to kickstart an app or tutorial.
Visit the repo and kick start your project!

User Journey to happiness is through Happy2Be

Sequence Diagram of java spring boot api of user engagement with the service.



Image on the left:Postman response, middle:Logic Flow and right: Database Entity Relationship Diagram A simple MariadDB/MySql database to record the message / response and emotion.

Sequence Diagram of flask integration of Happy2Be for the emotion positive / negative BERT via happyfaces.
Below we explore a mind map of the process to aid in visualizations of the api system and its components.


Happy 2 Be Mind map of the backend of a to be chatbot developed to accept a propt and respond based on the emotional aspects of the message. User Engagement flow is the focus of this model.
@RestController
@RequestMapping("/api/emotion")
public class EmotionController {
// private final TokenizerService tokenizerService;
private final EmotionService emotionService;
public EmotionController(EmotionService tokenizerService) {
this.emotionService = tokenizerService;
}
@PostMapping
public String classifyEmotion(@RequestBody String text) throws Exception {
return emotionService.classifyEmotion(text);
}
}