return to [[Jasper Commands |Jasper Commands | GPT Prompts Database Database]]
Table of Contents
{{roam/render: (ns toc
(:require
[clojure.string]
[roam.block :as block]
[roam.datascript :as d]
[roam.datascript.reactive :as dr]
[roam.util :as u]))
(defn ancestor-block-uids [uid]
(d/q '[:find [?puid ...]
:in $ ?cuid
:where
[?c :block/uid ?cuid]
[?c :block/parents ?p]
[?p :block/string]
[?p :block/uid ?puid]]
uid))
(defn block-html-el [uid]
(some (fn [x]
(when (clojure.string/ends-with? (.-id x) uid) x))
(.getElementsByClassName js/document "rm-block__input")))
(defn try-scroll-into-view [uid]
(when-some [el (block-html-el uid)]
(.scrollIntoView el)))
(defn scroll-to-block [uid]
(doseq [parent (ancestor-block-uids uid)]
(block/update
{:block {:uid parent :open true}}))
(when-not (try-scroll-into-view uid)
(js/setTimeout #(try-scroll-into-view uid) 300)))
(defn flatten-block [acc block]
(reduce flatten-block
(conj acc (dissoc block :block/children))
(sort-by :block/order (:block/children block))))
(defn block->table-entry [block]
[:div {:style {:margin-left (str (dec (:block/heading block)) "em")
:font-size (str (* 0.25 (- 7 (:block/heading block)))
"em")}}
[:a {:on-click #(scroll-to-block (:block/uid block))}
(u/parse (:block/string block))]])
(defn component [{uid :block-uid}]
(let [block @(dr/q '[:find (pull ?p [:block/string
:block/uid
:block/heading
:block/order
{:block/children ...}]) .
:in $ ?uid
:where
[?e :block/uid ?uid]
[?e :block/parents ?p]
[?p :node/title]]
uid)]
(into [:div]
(comp
(filter #(-> % :block/heading pos?))
(map block->table-entry))
(flatten-block [] block))))
generally gives back a story with a point as opposed to just a linear story.
we give our prompt a specific type of individual. In marketing terms, if our intent is to appeal to a specific demographic or type of person, we would write from that person's perspective to build connection & empathy.
we inform the prompt on a specific desired outcome that our protagonist is aiming for (the goal) and the desire behind it; this adds a target goal to our story that our audience can emphasize with.
Conflict defined: inability to reach the goal (desire to create works of art) because of deep psychological issues.
This conflict can change based on what we want our protagonist's journey to be like, a generic deep psychological issues
will give us a conflict that most can emphasize with, since most people understand that internal conflicts greatly influence external goals.
the generic but having to overcome deep psychological issues
conflict definition gives our prompt the "journey" element, even if just vaguely, the verb overcoming
gives an implied conclusion to the conflict.
adding in the literary style of "belles-lettres"
influences the language used throughout the main output, in this case "belles-lettres" gives a more eloquent output, this could be modified in a number of ways; eg: the tone and style of a specific writer.
Output One promptoutput
Alice was a talented writer, but she was plagued by the demons of her past. She longed to create works of art that inspired and enlightened others, but her inner turmoil prevented her from doing so. Despite her best efforts, Alice could not escape the darkness that lurked within her.
It had always been this way. As a young woman, Alice had been forced to confront the harsh realities of life - poverty, abuse, and neglect - and these experiences had left deep psychological scars on her heart and soul. Even as she grew older, Alice struggled with depression and anxiety. Every time she tried to focus on creating something beautiful, these lingering issues would come back to haunt her.
Alice's only hope for achieving success as a writer seemed to be in overcoming these psychological obstacles, but it seemed like an insurmountable task. She felt lost in an ocean of doubt, fear and uncertainty. It was almost impossible for Alice to imagine ever writing something meaningful or uplifting without first reconciling with her inner demons.
So Alice set out on a journey - both physical and spiritual - in search of redemption and inspiration. She traveled around the world exploring different cultures and learning about diverse perspectives on life's challenges. Slowly but surely, Alice began to chip away at the layers of sadness that had accumulated over time within her heart.
As she embraced new ideas about joy and happiness, Alice also embraced herself - flaws and all - for who she really was underneath it all: A creative being capable of producing stories full of beauty, love and understanding that could touch other people's hearts in a real way.
Finally ready to sit down at the typewriter again, Alice wrote with such passion that what emerged were tales that spoke directly from her own soul; stories filled with emotion-evoking images full of vivid colors and dreams; words bound together by intricate weavings of philosophical musings about life’s greater truths; passages crafted with eloquence and grace reminiscent of belles-lettres style literature; narratives rooted in optimism yet grounded in reality – tales that moved readers in ways unimaginable before this moment…
Alice was no longer held captive by any form of darkness – instead she allowed those shadows to guide her light instead! Her newfound freedom granted through self-acceptance enabled Alice to express herself through meaningful works overflowing with positivity thus inspiring others towards living a more fulfilling life free from suffering as well...
The second person's point is rarely used in literary work but is often used in marketing copy. This point of view is focused
Output promptoutput
As a talented writer, you were plagued by the demons of your past. You longed to create works of art that inspired and enlightened others, but your inner turmoil prevented you from doing so. Despite your best efforts, you could not escape the darkness that lurked within you.
It had always been this way. As a young woman, you had been forced to confront the harsh realities of life - poverty, abuse, and neglect - and these experiences had left deep psychological scars on your heart and soul. Even as you grew older, you struggled with depression and anxiety. Every time you tried to focus on creating something beautiful, these lingering issues would come back to haunt you.
So you set out on a journey - both physical and spiritual - in search of redemption and inspiration. You traveled around the world exploring different cultures and learning about diverse perspectives on life's challenges. Slowly but surely, you began to chip away at the layers of sadness that had accumulated over time within your heart.
As you embraced new ideas about joy and happiness, you also embraced yourself - flaws and all - for who you really were underneath it all: a creative being capable of producing stories full of beauty, love, and understanding that could touch other people's hearts in a real way.
Finally ready to sit down at the typewriter again, you wrote with such passion that what emerged were tales that spoke directly from your own soul; stories filled with emotion-evoking images full of vivid colors and dreams; words bound together by intricate weavings of philosophical musings about life’s greater truths; passages crafted with eloquence and grace reminiscent of belles-lettres style literature; narratives rooted in optimism yet grounded in reality – tales that moved readers in ways unimaginable before this moment…
You were no longer held captive by any form of darkness – instead you allowed those shadows to guide your light instead! Your newfound freedom granted through self-acceptance enabled you to express yourself through meaningful works overflowing with positivity thus inspiring others towards living a more fulfilling life free from suffering as well...
Simple modification to change the tense of the output
Final Output After Some Manual Edits promptoutput
As a talented writer, you are plagued by the demons of your past. You long to create works of art that inspire and enlighten others, but your inner turmoil prevents you from doing so. Despite your best efforts, you cannot escape the darkness that lurks within you.
It has always been this way. As a young person, you were forced to confront the harsh realities of life - poverty, abuse, and neglect - and these experiences have left deep psychological scars on your heart and soul. Even as you grow older, you struggle with depression and anxiety. Every time you try to focus on creating something beautiful, these lingering issues come back to haunt you.
Your only hope for achieving success as a writer seems to be in overcoming these obstacles, but it seems like an insurmountable task. You feel lost in an ocean of doubt, fear, and uncertainty. It is almost impossible for you to imagine ever writing something meaningful or uplifting without first reconciling with your inner demons.
So you set out on a journey - both physical and spiritual - in search of redemption and inspiration. You travel around the world exploring different cultures and learning about diverse perspectives on life's challenges.
Slowly but surely, you begin to chip away at the layers of sadness that have accumulated over time within your heart.
As you embrace new ideas about joy and happiness, you also embrace yourself - flaws and all - for who you really are underneath it all: a creative being capable of producing stories full of beauty, love, and understanding that can touch other people's hearts in a real way.
Finally ready to sit down at the keyboard again, you write with such passion that what emerges are tales that speak directly from your own soul; stories filled with emotion-evoking images full of vivid colors and dreams; words bound together by intricate weavings of philosophical musings about life’s greater truths; passages crafted with eloquence and grace reminiscent of belles-lettres style literature; narratives rooted in optimism yet grounded in reality – tales that move readers in ways unimaginable before this moment…
You are no longer held captive by any form of darkness – instead, you allow those shadows to guide your light instead.
Your newfound freedom granted through self-acceptance enables you to express yourself through meaningful works overflowing with positivity, thus inspiring others towards living a more fulfilling life, free from turmoil.