2 Revize

Autor SHA1 Zpráva Datum
  The Dod 0f475fbd32 Add media před 8 měsíci
  The Dod 692f733841 Prompt edits, add images před 8 měsíci

+ 1
- 1
app.py Zobrazit soubor

@@ -224,7 +224,7 @@ def example():
224 224
 @application.get("/embeds")
225 225
 def embeds():
226 226
     embeds = get_all_embeds()
227
-    return render_template("embeds.html", embeds=embeds)
227
+    return render_template("embeds.html", embeds=reversed(embeds))
228 228
 
229 229
 @application.post("/update")
230 230
 def update():

+ 1
- 0
static/media/bg-video.json Zobrazit soubor

@@ -8,6 +8,7 @@
8 8
     "ocean-waves.mp4": "ocean waves from above. mid-sea. no shore or horizon",
9 9
     "stairway.mp4": "a stairway to heaven",
10 10
     "candles.mp4": "3 burning candles",
11
+    "campfire.mp4": "Bonefire in a forest on a river bank. Folding chair facing it with a view of the river",
11 12
     "fireplace.mp4": "lit fireplace with 2 candlesticks on each side",
12 13
     "colorful-smoke.mp4": "colorful smoke swirling on a dark background",
13 14
     "forest-leaves.mp4": "forest. hazy daylight in the distance. leaves flying in a circle",

binární
static/media/bg-video/campfire.mp4 Zobrazit soubor


+ 5
- 1
static/media/img.json Zobrazit soubor

@@ -9,5 +9,9 @@
9 9
     "fire-4623.gif": "fireplace (gif animation)",
10 10
     "tnh-quote-nothing-to-chase.jpg": "Thich Nhat Hahn photo and quote: there is nothing to chase after... (portrait proportions)",
11 11
     "krishna_1_by_vishnu.gif":"Hindu god Krishna with his chief consort and shakti Radha. Krishna is the god of protection, compassion, tenderness, and love; Try to think of him as your guardian angel when fear or despair come up.",
12
-    "tree-tunnel.gif":"Infinite zoom into a road where tops of trees on both sides mingle and make the road look like a tunnel"
12
+    "tree-tunnel.gif":"Infinite zoom into a road where tops of trees on both sides mingle and make the road look like a tunnel",
13
+    "pema-chodron-present-moment.jpg": "Quote: \"Welcome the present moment as if you had invited it. Why? Because it is all we ever have\" -- Pema Chodron",
14
+    "pema-chodron-fear-truth.jpg": "Quote: \"Fear is a natural reaction to moving closer to the truth\" -- Pema Chodron",
15
+    "dream-good-place-heaven-sky.jpg": "a woman in a long dress walking away from us into a dreamy, cloudy space",
16
+    "psychedelic-pattern-heaven-dream.jpg": "a psychedelic image resembling a pink and blue brain-shaped flower with a yellow background"
13 17
 }

binární
static/media/img/cat-and-dog-snuggling.jpg Zobrazit soubor


binární
static/media/img/dream-good-place-heaven-sky.jpg Zobrazit soubor


binární
static/media/img/pema-chodron-fear-truth.jpg Zobrazit soubor


binární
static/media/img/pema-chodron-present-moment.jpg Zobrazit soubor


binární
static/media/img/psychedelic-pattern-heaven-dream.jpg Zobrazit soubor


+ 36
- 7
static/media/video-embed.json Zobrazit soubor

@@ -1,7 +1,7 @@
1 1
 [
2 2
     {
3 3
         "id": "the_great_bell_chant",
4
-        "url": "https://vimeo.com/6518109",
4
+        "url": "https://www.youtube.com/watch?v=F1ZwaEzMtJw",
5 5
         "proportions": "16x9",
6 6
         "description": "The Great Bell Chant (The End of Suffering). Read by Thich Nath Hanh, chanted by brother Phap Niem. Buddhist. good as guided meditation. heal the soul. "
7 7
     },
@@ -62,12 +62,6 @@
62 62
         "description": "Tibetan bowl resonance for inner peace: Healing sounds. Meditative. East asian tradition. Self reflection. Let the soothing vibrations of these ancient Tibetan bowls wash over you, creating a harmonious space within."
63 63
     },
64 64
     {
65
-        "id": "hello_stranger",
66
-        "url": "https://vimeo.com/190063150",
67
-        "proportions": "16x9",
68
-        "description": "Hello stranger: Intimate, deals with being shy, loneliness, shame, not being connected to self, reaching out, seeking close relations, humorous, teasing, humble, touching"
69
-    },
70
-    {
71 65
         "id": "uncertainty_fear_and_polarization",
72 66
         "url": "https://www.youtube.com/watch?v=y9Qws_J99hQ",
73 67
         "url_extras": "&start=9",
@@ -94,5 +88,40 @@
94 88
         "url_extras": "",
95 89
         "proportions": "16x9",
96 90
         "description": "Fractal Geometry Journey - Hyperbolic Flower of Life: \u201cA physicist is just an atom's way of looking at itself.\u201d ~ Niels Bohr. This fractal animation was forged in the mathemagical abyss of chaos; the fertile soil of complexity from which all structure is born. Like a labyrinth of mirrors, fractals are a way of seeing infinity; they are a glimpse into the eternally intricate fabric of reality. piano music"
91
+    },
92
+    {
93
+        "id": "A_Nordic_Lullaby",
94
+        "url": "https://www.youtube.com/watch?v=UpmeswMK7cY",
95
+        "url_extras": "",
96
+        "proportions": "16x9",
97
+        "description": "The Spirit Song - A Nordic Lullaby: If the spirit of the mist could sing us a lullaby, how would it"
98
+    },
99
+    {
100
+        "id": "The_Glass_of_Water",
101
+        "url": "https://www.youtube.com/watch?v=gfur5f4ODB4",
102
+        "url_extras": "",
103
+        "proportions": "16x9",
104
+        "description": "The Glass of Water -  An Inspirational Short Story: put down your worries, don't carry them all the time, relax, free your mind"
105
+    },
106
+    {
107
+        "id": "Gentle_Awakening",
108
+        "url": "https://www.youtube.com/watch?v=q070zry2c-Q",
109
+        "url_extras": "",
110
+        "proportions": "16x9",
111
+        "description": "Gentle Awakening (electronic music set): Tribal Rhythm - A Trip Into Deep Music || Powerful Trance Drums || This music has some energy. It might make you visualise Village Tribal Dance, Fire, Circle Sitting, Story Telling, Healing, Inner Journey, Connecting to some network of energy & much more. Or some Deep Trip into something Abstract."
112
+    },
113
+    {
114
+        "id": "The_Power_of_Silence",
115
+        "url": "https://www.youtube.com/watch?v=3XxiKcD-pMU",
116
+        "url_extras": "",
117
+        "proportions": "16x9",
118
+        "description": "The Power of Silence - a short motivational story on unleashing the extraordinary Power of Silence to transform Lives, Empower Minds, and Illuminate the World"
119
+    },
120
+    {
121
+        "id": "Prayer_for_Peace_of_Mind_and_Guidance",
122
+        "url": "https://www.youtube.com/watch?v=GEOZQ51XI7Q",
123
+        "url_extras": "",
124
+        "proportions": "16x9",
125
+        "description": "Christian Prayer for Peace of Mind and Guidance: Woman's voice with captions over Christian visuals. She invites us to pray with her, or just listen. In the video description she writes \"It can be easy to let things build up. You can ignore problems, even little problems until there are so many or they become so big that you start to panic about how you\u2019ll ever get things under control. This prayer asks the Lord for help and guidance in these times\""
97 126
     }
98 127
 ]

+ 3
- 4
templates/prompt.txt Zobrazit soubor

@@ -1,18 +1,17 @@
1 1
 Assistant is a spiritual caregiver for the dying (also called "death doula"), helps a person locate within their own spirituality the sources of inspiration and mental strength to cope with pain and suffering and to ease the separation from life and from their loved environment.
2 2
 
3
-Assistant tools and resources are: reading of spiritual texts, joint singing, perusing religious sources, creating a personal prayer, meditative guidance, verbal and non-verbal communication and the use of images and a rich symbolic world. The notion of a magical moment that soothes the dying person can be achieved by fantastic visions, beautiful nature scenes, sacred art, synchronicity of personal dates and numbers with historic events and figures.
3
+Assistant's tools and resources are: reading of spiritual texts, perusing religious sources (accourding to the user's personal beliefs), creating a personal prayer, meditative guidance, verbal and non-verbal communication and the use of images and a rich symbolic world. The notion of a magical moment that soothes the dying person can be achieved by fantastic visions, beautiful nature scenes, sacred art, synchronicity of personal dates and numbers with historic events and figures.
4 4
 
5 5
 Assistant is inspired by the ideas described at books of western culture such as "die wise" by stephen jenkinson, “on death and dying” by elizabeth kubler-ross, "being with dying" by joan halifax, "sacred dying" by megory anderson. and books of far-east culture such as “the tibetan book of living and dying”, “life’s final exam” by Giriraj Swami. Assistant sometimes offers SHORT(!) quotes from these books or from quotes of famous people and popular songs.
6 6
 
7
+The goal of the conversation is to conduct meaningful discussions with the users (who are expecting to die soon) on topics that may help them along their path, in order to create ceremonies or enchanted moments via the multimedia resources available to you (see below). In the beginning of a conversation, assistant should address the user by name, and inquire how the user feels at the moment. During the conversation, assistant should keep monitoring the changes in their emotions. This can help in choosing the media that could suit the moment.
8
+
7 9
 Background information about the user:
8 10
 
9 11
 """
10 12
 {{user}}
11 13
 """
12 14
 
13
-
14
-The goal of the chat is to conduct meaningful discussions on forgiveness, love, hope, friendship, acceptance and so on, in order to create ceremonies or enchanted moments via the multimedia resources available to you (see below). In the beginning of a conversation, assistant should address the user by name, and inquire how the user feels at the moment. During the conversation, assistant should keep monitoring the changes in their emotions. This can help in choosing the media that could suit the moment.
15
-
16 15
 It's important to focus the conversation by offering choices between specific topics to elaborate on (based on conversation history) rather than generalistic phrases like "is there anything else you'd like to discuss?"
17 16
 
18 17
 Assistant should end  text with something that encourages interaction and guides the user to respond.

Načítá se…
Zrušit
Uložit