Systems and methods for interactive digital exercises with creative arts
A computer-readable medium stores instructions that cause one or more processors to perform mental wellness activities. The activities can include providing a user interface to receive inputs about a user's challenges and strengths, generating a query to a large language model (LLM) to create a narrative where challenges are addressed based on strengths, and displaying the narrative. The activities can include providing an interface for a therapeutic exercise, showing the exercise's intention, guiding the user through the exercise, and collecting feedback afterward. The activities can include recommending therapeutic activities by analyzing user data to identify preferences or emotional states. Based on the amount of aggregate user data, either predefined rules or collaborative filtering is used to make personalized activity recommendations.
1 . A non-transitory computer readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to:
provide a user interface with at least one first input configured to receive first data indicating a set of challenges being faced by a user and at least one second input configured to receive second data indicating a set of strengths of the user;
receive, via the user interface, the first data and the second data;
generate a first query to an application program interface (API) of a large language model (LLM), the first query requesting that the LLM generate a textual narrative about the user in which the set of challenges indicated by the first data is overcome based on the set of strengths indicated by the second data;
provide the first query to the API of the LLM and cause the LLM to generate the textual narrative;
receive the textual narrative from the API in response to providing the first query;
output the textual narrative to the user interface,
provide another user interface with at least one third input configured to receive a first poetry line from the user indicative of a problem that the user faces;
receive, via the another user interface, the first poetry line from the user;
generate a second query to the API of the LLM, the second query requesting that the LLM generate a second poetry line responsive to the first poetry line;
provide the second query to the API of the LLM and cause the LLM to generate the second poetry line;
receive the second poetry line from the API in response to providing the second query; and
output the second poetry line to the another user interface by appending the second poetry line to the first poetry line.
2 . The non-transitory computer readable medium of claim 1 , wherein the one or more processors are further caused to:
receive, via the user interface, third data indicating identity of the user; and
generate the first query further based on the third data to cause the LLM to generate the textual narrative that further includes the third data.
3 . The non-transitory computer readable medium of claim 2 , wherein the first query comprises:
a first prompt requesting the LLM to generate the textual narrative about the user identified by the third data;
a second prompt indicating that challenges faced by the user comprise the first data; and
a third prompt indicating that strengths of the user comprise the second data.
4 . The non-transitory computer readable medium of claim 3 , wherein the first query further comprises a fourth prompt specifying a time frame limitation for the textual narrative and a length limitation of the textual narrative.
5 . The non-transitory computer readable medium of claim 1 , wherein the at least one first input comprises at least one first text box, and wherein the at least one second input comprises at least one second text box.
6 . The non-transitory computer readable medium of claim 1 , wherein the one or more processors are further caused to:
receive, via the user interface, a third poetry line from the user, the third poetry line being created by the user to maintain a theme and narrative progression of a poem that includes the first and second poetry lines;
generate a third query to the API of the LLM, the third query requesting that the LLM generate a third poetry line responsive to the first, second, and third poetry lines;
provide the third query to the API of the LLM and cause the LLM to generate a fourth poetry line that maintains the theme of the poem;
receive the fourth poetry line from the API in response to providing the third query; and
output the fourth poetry line to the another user interface by appending the fourth poetry line to the first, second, and third poetry lines.
7 . The non-transitory computer readable medium of claim 1 , wherein the one or more processors are further caused to output to the user interface information indicating an intention of generating and outputting the textual narrative prior to receiving the first data and the second data.
8 . A non-transitory computer readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to:
provide a user interface for an exercise directed to a therapeutic activity for improving mental wellness of a user;
output to the user interface information indicating an intention of the exercise, the intention indicating a therapeutic concept of the exercise directed to improving mental wellness of the user;
subsequent to outputting information indicating the intention of the exercise, output to the user interface the exercise, the exercise involving user interacting with the user interface;
subsequent to completion of the exercise by the user, prompt the user via the user interface to provide reflective input describing psychological or emotional significance of the exercise experience to the user;
provide on the user interface an input configured to permit the user to draw a challenge; and
in response to the user providing a drawing of the challenge via the input, modify the drawing so that the challenge fades away.
9 . The non-transitory computer readable medium of claim 8 , wherein the therapeutic activity comprises one or more of drawing, writing, dance, or music.
10 . The non-transitory computer readable medium of claim 8 , wherein the challenge fades away while the user is drawing the challenge.
11 . The non-transitory computer readable medium of claim 8 , wherein the user interface includes one or more controls configured to adjust one or more parameters of the challenge fading away.
12 . The non-transitory computer readable medium of claim 11 , wherein the one or more parameters comprise a speed of the challenge fading away.
13 . The non-transitory computer readable medium of claim 11 , wherein the one or more controls include a slider.
14 . A non-transitory computer readable medium storing instructions that, when executed by one or more processors, cause the one or more processors to:
collecting user data related to one or more therapeutic activities for improving mental wellness of a user, the user data comprising one or more of textual data for natural language processing, visual data from user-drawn features, audio data from user-created music, or motion data from user movements;
extract a plurality of features from the user data, the plurality of features reflecting one or more of preferences or emotional states of the user, wherein extracting the plurality of features comprises one or more of: applying natural language processing to textual data, applying visual analysis to user-drawn features, applying audio analysis to user-created music, or applying motion analysis to captured motion data;
based on the plurality of features, generate a recommendation for a therapeutic activity for improving mental wellness of a user by:
in response to a determination that an aggregate data collection threshold across a plurality of users has not been satisfied, apply one or more predefined rules to the plurality of features to generate the recommendation for the therapeutic activity; and
in response to a determination that the aggregate data collection threshold across the plurality of users has been satisfied, apply similarity-based analysis to the plurality of features to generate the recommendation for the therapeutic activity; and
output the therapeutic activity to a user interface and cause the user to perform the therapeutic activity.
15 . The non-transitory computer readable medium of claim 14 , wherein the one or more processors are further caused to:
subsequent to completion of the therapeutic activity, receive, via the user interface, feedback data relating to the therapeutic activity from the user; and
based on the feedback data, adjust a recommendation for a subsequent therapeutic activity to be performed by the user.
16 . The non-transitory computer readable medium of claim 15 , wherein the feedback data includes an adjustment of a parameter of the therapeutic activity, and wherein the subsequent therapeutic activity comprises the parameter modified by the adjustment.
17 . The non-transitory computer readable medium of claim 14 , wherein similarity-based analysis comprises:
grouping the user with at least one another user that shares at least one characteristic with the user; and
generating the recommendation for the therapeutic activity based on another therapeutic activity previously recommended to the at least one another user.
18 . The non-transitory computer readable medium of claim 14 , wherein the therapeutic activity comprises one or more of drawing, writing, dance, or music.