An event-driven architecture is a style of software design in which system components communicate with each other through events. An event is any change of state or action that occurs in the system, and the architecture is structured around detecting, generating and responding to these events.
Its components are: Producer, Consumer, Bus or Broker and the Events.
It is usually used for distributed systems with language agnostic solutions, in this case the ChatGPT technology belonging to OpenAI was integrated to be able to detect through a consumer in NodeJs and alert users (psychologists) that their patients are at risk of loss of life such as suicide, anxiety or extreme depression. The technologies used are Angular 18, Node 21, Solace Standard Edition, Websockets, GPT 4 for making the analysis. The implementation is used to alert psychologists that their patients are at imminent risk of losing their lives and to be able to interact immediately, acting as a prevention mechanism.
Speaker
Samuel Roncal
Systems Engineer
Universidad Peruana Union