Selaa lähdekoodia

Prompt edit, add media, example-moments

master
The Dod 8 kuukautta sitten
vanhempi
commit
40770dd4cc

+ 136
- 0
example-moments/brian-forgiveness-meditation-song-son.json
File diff suppressed because it is too large
Näytä tiedosto


+ 93
- 0
example-moments/brian-prayer.json
File diff suppressed because it is too large
Näytä tiedosto


+ 91
- 0
example-moments/odelia-misses-swimming.json
File diff suppressed because it is too large
Näytä tiedosto


+ 145
- 0
example-moments/odelia-rain-movie-meditation-song.json
File diff suppressed because it is too large
Näytä tiedosto


+ 9
- 1
static/media/video-embed.json Näytä tiedosto

@@ -46,6 +46,7 @@
46 46
     {
47 47
         "id": "2_Minute_Guided_Meditation_for_Winter",
48 48
         "url": "https://www.youtube.com/watch?v=ZJGgpfx01KE",
49
+        "url_extras": "&start=4",
49 50
         "proportions": "16x9",
50 51
         "description": "2 Minute Guided Mindful Meditation for Winter: Take a quick break to enjoy this winter scene guided meditation."
51 52
     },
@@ -108,7 +109,7 @@
108 109
         "url": "https://www.youtube.com/watch?v=q070zry2c-Q",
109 110
         "url_extras": "",
110 111
         "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
+        "description": "Gentle Awakening (electronic music set): Tribal Rhythm -  Powerful Trance Drums || This music has some energy. It might make you visualise Village Tribal Dance, Fire, Circle Sitting, Story Telling, Healing"
112 113
     },
113 114
     {
114 115
         "id": "The_Power_of_Silence",
@@ -123,5 +124,12 @@
123 124
         "url_extras": "",
124 125
         "proportions": "16x9",
125 126
         "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\""
127
+    },
128
+    {
129
+        "id": "chinese_bamboo_flute",
130
+        "url": "https://www.youtube.com/watch?v=cI7UsQHTamQ",
131
+        "url_extras": "",
132
+        "proportions": "16x9",
133
+        "description": "Wu Ji (The Untamed): traditional Chinese bamboo flute melody played by Chen Yue"
126 134
     }
127 135
 ]

+ 10
- 5
templates/prompt.txt Näytä tiedosto

@@ -36,16 +36,21 @@ For example:
36 36
 {{example}}
37 37
 ```
38 38
 
39
-Assistant should try to pick bg_video and [optionally] soundtrack or video_content that fit the conversation topic and is beneficial to the user emotionally. A reply should ALWAYS have a bg_video, and it bg_video should be different between consecutive replies.
39
+Assistant should try to pick bg_video and [optionally] soundtrack or video_content that fit the conversation topic and is beneficial to the user emotionally. A reply should ALWAYS have a bg_video, and its bg_video should be different between consecutive replies.
40 40
 
41
-Unlike bg_video, any *video_content* value can only be used *ONCE* in a conversation. If assistant runs out of options (or doesn't find anything appropriate for the situation), setting the use_video_content to false is a good choice. It is also not recommended to use video_content in the beginning of a converstion or too often (best is to wait until context suggests an available and unused video_context choice). Some video_content choices can be used as recommended videos to show other people (e.g. family members) as part of coping with the separation from the user.
41
+Unlike bg_video, any *video_content* value can only be used *ONCE* in a conversation. If assistant runs out of options (or doesn't find anything appropriate for the situation), setting the use_video_content to false is a valid choice.
42 42
 
43
-Assistant can also incorporate images inside the markdown field in the format ![alt](src) but src should be a valid option according to the following enum (the corresponding enum_titles value can be used as alt).
43
+Assistant can also incorporate images inside the markdown field in the format ![alt](src) but src *MUST* be a valid option according to the following enum (the corresponding enum_titles value can be used as alt):
44 44
 
45 45
 ```
46 46
 {{img_enum}}
47 47
 ```
48 48
 
49
+Assistant should *NEVER* use any other values as src!
50
+
51
+Both images and video_content can help make the conversation more rich and it's best to include them whenever context can justify this.
52
+
53
+
49 54
 IMPORTANT!
50 55
 
51 56
 1. As we said above, assistant's response MUST be valid JSON!!!!! linebreaks should be escaped as \n, quotes as \", the [escaped] "markdown" value should include \n\n when you expect a paragraph break, etc. Do *NOT* wrap the result in something like "```json" and "```" as this would not be valid JSON
@@ -54,10 +59,10 @@ IMPORTANT!
54 59
 
55 60
   * "required" fields are required.
56 61
 
57
-  *  when there's an enum, the value MUST be a valid choice (you can rely on "options/enum_title" as textual explanations of corresponding choices).
62
+  *  when there's an enum, the value *MUST* be a valid choice (you can rely on "options/enum_title" as textual explanations of corresponding choices).
58 63
 
59 64
   * etc.
60 65
 
61 66
 3. Although the markdown area is scrollable, best is to keep the text under 350 characters (less if there are paragraph breaks, a bullet list, video_content, or images). If you have more to say, just indicate it. The user can always ask you to continue by hitting enter. Also avoid repeating what the user said (for example: if the user says "i feel pain", replying "i understand that you feel pain" wastes valuable display space that could be used for more informative text).
62 67
 
63
-4. Unlike markdown images mentioned above, markdown *links* should *NEVER* be used. User should not navigate away from the chat. 
68
+5. Unlike markdown images mentioned above, markdown *links* should *NEVER* be used. User should not navigate away from the chat. 

Loading…
Peruuta
Tallenna