Fig. 11

Flexible design of the WeiseEule app—The WeiseEule app features a flexible software design with two main components: the frontend, which handles the user interface (UI), and the backend, which implements the logic for various features. These components communicate via WebSocket protocol, enabling full-duplex communication for real-time data exchange. This architecture allows the LLM to stream responses efficiently from the backend to the frontend, significantly enhancing the user experience. The modular and segregated code structure of the UI and API endpoints facilitates quick and easy addition or removal of features