From 569844df07609a9c5cf26b5d20d13e4429f34cb1 Mon Sep 17 00:00:00 2001 From: AChenQ Date: Wed, 19 Apr 2023 17:46:58 +0800 Subject: [PATCH] Add pre-commit check --- .markdownlint.json | 18 ++ .pre-commit-config.yaml | 47 +++++ .../1st_to_3rd_person_writing/prompts.json | 6 +- .../1st_to_3rd_person_writing/readme.md | 20 +- open_prompts/analogies/prompts.json | 2 +- open_prompts/analogies/readme.md | 10 +- .../cover_letter_generator/prompts.json | 6 +- open_prompts/cover_letter_generator/readme.md | 15 +- open_prompts/described_structure/prompts.json | 6 +- open_prompts/described_structure/readme.md | 14 +- open_prompts/english_to_python/prompts.json | 2 +- open_prompts/english_to_python/readme.md | 13 +- open_prompts/exemplary_structure/prompts.json | 6 +- open_prompts/exemplary_structure/readme.md | 16 +- open_prompts/idea_generator/prompts.json | 6 +- open_prompts/idea_generator/readme.md | 41 ++-- open_prompts/love_letters/prompts.json | 6 +- open_prompts/love_letters/readme.md | 193 +++++++++++------- .../movie_idea_generation/prompts.json | 6 +- open_prompts/movie_idea_generation/readme.md | 41 ++-- open_prompts/script_to_novel/prompts.json | 6 +- open_prompts/script_to_novel/readme.md | 9 +- open_prompts/song_generation/prompts.json | 6 +- open_prompts/song_generation/readme.md | 17 +- open_prompts/summarization/prompts.json | 2 +- open_prompts/summarization/readme.md | 25 ++- 26 files changed, 359 insertions(+), 180 deletions(-) create mode 100644 .markdownlint.json create mode 100644 .pre-commit-config.yaml diff --git a/.markdownlint.json b/.markdownlint.json new file mode 100644 index 0000000..461c35e --- /dev/null +++ b/.markdownlint.json @@ -0,0 +1,18 @@ +{ + "default": true, + "header-increment": false, + "ul-indent": { + "indent": 4 + }, + "line-length": { + "line_length": 100, + "code_blocks": false + }, + "no-duplicate-header": false, + "no-trailing-punctuation": false, + "list-marker-space": false, + "fenced-code-language": false, + "code-block-style": { + "style": "fenced" + } +} diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml new file mode 100644 index 0000000..8d0b67c --- /dev/null +++ b/.pre-commit-config.yaml @@ -0,0 +1,47 @@ +--- +default_stages: [commit] +repos: + - repo: https://github.com/pre-commit/pre-commit-hooks + rev: v4.4.0 + hooks: + - id: check-added-large-files + - id: check-case-conflict + - id: detect-private-key + + - repo: https://github.com/pre-commit/mirrors-prettier + rev: v2.7.1 + hooks: + - id: prettier + types_or: [markdown, json] + args: ["--print-width=100", "--tab-width=4"] + - id: prettier + name: prettier-yaml + types: [yaml] + args: ["--print-width=100", "--tab-width=2"] + + - repo: https://github.com/adrienverge/yamllint + rev: v1.28.0 + hooks: + - id: yamllint + types: [yaml] + args: + [ + "--strict", + "--config-data", + "{extends: default, rules: {line-length: {max: 100}, truthy: {check-keys: false}}}", + ] + + - repo: https://github.com/igorshubovych/markdownlint-cli + rev: v0.32.2 + hooks: + - id: markdownlint + types: [markdown] + args: ["--config=.markdownlint.json"] + + - repo: https://github.com/jorisroovers/gitlint + rev: v0.18.0 + hooks: + - id: gitlint + name: gitlint + args: ["--msg-filename"] + stages: [commit-msg] diff --git a/open_prompts/1st_to_3rd_person_writing/prompts.json b/open_prompts/1st_to_3rd_person_writing/prompts.json index d475445..090010e 100644 --- a/open_prompts/1st_to_3rd_person_writing/prompts.json +++ b/open_prompts/1st_to_3rd_person_writing/prompts.json @@ -1,13 +1,11 @@ { "description": "", "source": "https://www.notion.so/1st-3rd-Person-Writing-ba3be8267da042498c5cc7430558c2a8", - "categories": [ - "Transformation" - ], + "categories": ["Transformation"], "prompts": [ { "prompt": "in: i started the business in 2010 we sell gift boxes with chocolates and other things\nout: The business was founded in 2010, and they sell gift boxes with chocolates and other items.\n \nin: we don't have any investors\nout: The company has taken no outside funding.\n \nin: our only major risk is our supplier who we depend on for 90% of our stock\nout: The company's main challenge is its dependence on a single supplier for 90 percent of its stock.\n \nin: We have a lot of loyal customers and are growing rapidly\nout: The company has a lot of loyal customers and is growing rapidly.\n \nin: we don't use social media for marketing\nout: The company doesn't use social media for marketing.\n \nin: i am currently in the process of opening up a new store\nout: The company is currently in the process of opening up a new store.\n\nin:", "response": "" } ] -} \ No newline at end of file +} diff --git a/open_prompts/1st_to_3rd_person_writing/readme.md b/open_prompts/1st_to_3rd_person_writing/readme.md index 4594f4a..de6e810 100644 --- a/open_prompts/1st_to_3rd_person_writing/readme.md +++ b/open_prompts/1st_to_3rd_person_writing/readme.md @@ -1,26 +1,31 @@ -## 1st to 3rd Person Writing +# 1st to 3rd Person Writing + ### Categories + `Transformation` + ### Examples #### Example + Prompt + ``` in: i started the business in 2010 we sell gift boxes with chocolates and other things out: The business was founded in 2010, and they sell gift boxes with chocolates and other items. - + in: we don't have any investors out: The company has taken no outside funding. - + in: our only major risk is our supplier who we depend on for 90% of our stock out: The company's main challenge is its dependence on a single supplier for 90 percent of its stock. - + in: We have a lot of loyal customers and are growing rapidly out: The company has a lot of loyal customers and is growing rapidly. - + in: we don't use social media for marketing out: The company doesn't use social media for marketing. - + in: i am currently in the process of opening up a new store out: The company is currently in the process of opening up a new store. @@ -28,8 +33,11 @@ in: ``` Response + ``` + ``` ### Source + diff --git a/open_prompts/analogies/prompts.json b/open_prompts/analogies/prompts.json index 1239534..63b69f6 100644 --- a/open_prompts/analogies/prompts.json +++ b/open_prompts/analogies/prompts.json @@ -8,4 +8,4 @@ "response": "" } ] -} \ No newline at end of file +} diff --git a/open_prompts/analogies/readme.md b/open_prompts/analogies/readme.md index 48ad82c..0d10ca2 100644 --- a/open_prompts/analogies/readme.md +++ b/open_prompts/analogies/readme.md @@ -1,12 +1,17 @@ -## Analogies +# Analogies + ### Categories ### Description + Put the code below into a new Playground instance and you'll start getting analogies. + ### Examples #### Example + Prompt + ``` write : book :: paint : picture drink : coffee :: eat : chicken @@ -15,8 +20,11 @@ ride : horse :: sail : ``` Response + ``` + ``` ### Source + diff --git a/open_prompts/cover_letter_generator/prompts.json b/open_prompts/cover_letter_generator/prompts.json index 6e26353..0e08b8f 100644 --- a/open_prompts/cover_letter_generator/prompts.json +++ b/open_prompts/cover_letter_generator/prompts.json @@ -1,9 +1,7 @@ { "description": "", "source": "https://www.notion.so/Cover-Letter-Generator-8ac55d1145dc4243ae0dc97345e3661f", - "categories": [ - "Generation" - ], + "categories": ["Generation"], "prompts": [ { "prompt": "Company: Spotify\nJob Description: We want someone to help build a new data pipeline for Spotify Unwrapped team using Apache Kafka and D3.js\nResume: \n- Worked as a Developer Advocate at Algolia, writing blog posts and speaking on behalf of the company\n- Worked as a Software Engineer at HBO, with AngularJS and GraphQL\n- Currently a Creative Technologist and Founder at Sharing Fiction, a creative agency that helps clients tell stories with technology.\n- Favorite Tools: Processing, Unity, Swift, ARKit, NodeJS\n\n''''", @@ -14,4 +12,4 @@ "response": "I'm a competitive and driven second year Physics graduate from the University of Bristol and have a passion for technology and science that I've been fostering for the last five years.\n\nI've had a number of jobs throughout my degree, from working in a building site to painting hotels as well as helping to organise Bristol's biggest career fairs. These have all helped me to understand what I want from my career, as well as teach me skills that I can apply to my career in technology consulting. I'm a qualified coach with a passion for encouraging people to achieve their potential and to deliver the best results possible.\n\nI understand you're looking for technology consultants with a strong technical background who have skills that can be transferred to real-world challenges. As you can see from my attached CV, I have excellent analytical skills, which I developed through my degree and through my work experience, and I am a forward-thinker with a creative approach to problem solving.\n\nAs part of my university course, I've taken part in technology outreach sessions, allowing me to meet young people from schools, colleges and sixth forms and to promote careers in science, technology, engineering and maths. I've taken these sessions to under-represented groups, such as children with special needs, and I understand that they are a great way to show young people that STEM subjects are accessible to everyone, no matter what their academic background.\n\nIn my spare time, I'm a keen skier and tennis player and I also enjoy playing football. These activities have taught me excellent time management skills and I'm used to balancing different priorities. I know that in technology consulting you have to juggle a range of different projects and responsibilities, all while maintaining a demanding work-life balance.\n\nI am a quick learner and a diligent worker, and I understand that in order to succeed, I have to demonstrate commitment, curiosity and a passion for technology. In the attached reference from my course leader at the University of Bristol, you can see how I always try to do my best and ask questions in order to learn as much as I can. I understand the importance of self-development and I can assure you that I will never stop learning.\n\nI'm keen to join your technology consulting team because I know I would thrive in the challenging and fast-paced environment. I'd love the opportunity to learn from your expert consultants and to work with a team that is working on a diverse range of projects. I've heard great things about Deloitte and would love to find out more. I look forward to hearing from you.\n\nYours sincerely,\nElla Duffy" } ] -} \ No newline at end of file +} diff --git a/open_prompts/cover_letter_generator/readme.md b/open_prompts/cover_letter_generator/readme.md index fa5565a..e03cef8 100644 --- a/open_prompts/cover_letter_generator/readme.md +++ b/open_prompts/cover_letter_generator/readme.md @@ -1,14 +1,19 @@ -## Cover Letter Generator +# Cover Letter Generator + ### Categories + `Generation` + ### Examples #### Example1 + Prompt + ``` Company: Spotify Job Description: We want someone to help build a new data pipeline for Spotify Unwrapped team using Apache Kafka and D3.js -Resume: +Resume: - Worked as a Developer Advocate at Algolia, writing blog posts and speaking on behalf of the company - Worked as a Software Engineer at HBO, with AngularJS and GraphQL - Currently a Creative Technologist and Founder at Sharing Fiction, a creative agency that helps clients tell stories with technology. @@ -18,6 +23,7 @@ Resume: ``` Response + ``` "I'm a creative technologist and founder of Sharing Fiction, a creative agency that helps clients tell stories with technology. I'm also a writer and a musician. @@ -30,9 +36,10 @@ I'd love to help Spotify Unwrapped tell more stories with data. I'm a big fan of I'd love to talk more about how I could help Spotify Unwrapped tell more stories with data." ``` - #### Example2 + Prompt + ``` Dear Deloitte graduate recruitment, @@ -40,6 +47,7 @@ I'm writing to apply to join your graduate scheme in Technology Consulting. ``` Response + ``` I'm a competitive and driven second year Physics graduate from the University of Bristol and have a passion for technology and science that I've been fostering for the last five years. @@ -60,4 +68,5 @@ Ella Duffy ``` ### Source + diff --git a/open_prompts/described_structure/prompts.json b/open_prompts/described_structure/prompts.json index 385b250..c8f81a8 100644 --- a/open_prompts/described_structure/prompts.json +++ b/open_prompts/described_structure/prompts.json @@ -1,13 +1,11 @@ { "description": "With a described structure there is even less information given, consider the following prompt, now with a described JSON structure", "source": "https://blog.devgenius.io/how-to-get-gpt3-to-output-in-json-4e14c46aa5b6", - "categories": [ - "Structure" - ], + "categories": ["Structure"], "prompts": [ { "prompt": "Consider the following message:", "response": "{\n \"sender\": \"Tarzan\",\n \"message\": \"Dear Jane, I am thinking about you when I am swinging through the jungle. Greetings, Tarzan\",\n \"list_of_words\": [\"Dear\", \"Jane\", \"I\", \"am\", \"thinking\", \"about\", \"you\", \"when\", \"I\", \"am\", \"swinging\", \"through\", \"the\", \"jungle\", \"Greetings\", \"Tarzan\"],\n \"addressed\": \"Jane\",\n \"amount_of_words\": 16\n}" } ] -} \ No newline at end of file +} diff --git a/open_prompts/described_structure/readme.md b/open_prompts/described_structure/readme.md index ac3a4c7..0e9c400 100644 --- a/open_prompts/described_structure/readme.md +++ b/open_prompts/described_structure/readme.md @@ -1,17 +1,26 @@ -## Described Structure +# Described Structure + ### Categories + `Structure` + ### Description -With a described structure there is even less information given, consider the following prompt, now with a described JSON structure + +With a described structure there is even less information given, +consider the following prompt, now with a described JSON structure + ### Examples #### Example1 + Prompt + ``` Consider the following message: ``` Response + ``` { "sender": "Tarzan", @@ -23,4 +32,5 @@ Response ``` ### Source + diff --git a/open_prompts/english_to_python/prompts.json b/open_prompts/english_to_python/prompts.json index b6a1dd6..5935794 100644 --- a/open_prompts/english_to_python/prompts.json +++ b/open_prompts/english_to_python/prompts.json @@ -8,4 +8,4 @@ "response": "" } ] -} \ No newline at end of file +} diff --git a/open_prompts/english_to_python/readme.md b/open_prompts/english_to_python/readme.md index 2cb4f6e..fbfa16f 100644 --- a/open_prompts/english_to_python/readme.md +++ b/open_prompts/english_to_python/readme.md @@ -1,12 +1,18 @@ -## English to Python +# English to Python + ### Categories ### Description -You can use the same prompt settings as the Playground's English to French option; just change the French settings to Python in the form, and enable line breaks in the output. + +You can use the same prompt settings as the Playground's English to French option; +just change the French settings to Python in the form, and enable line breaks in the output. + ### Examples #### Example + Prompt + ``` English: print "hi there" Python: print('hi there') @@ -40,8 +46,11 @@ English: Read a file into memory. ``` Response + ``` + ``` ### Source + diff --git a/open_prompts/exemplary_structure/prompts.json b/open_prompts/exemplary_structure/prompts.json index 8042d2d..9b11665 100644 --- a/open_prompts/exemplary_structure/prompts.json +++ b/open_prompts/exemplary_structure/prompts.json @@ -1,13 +1,11 @@ { "description": "We have a letter from Tarzan from the jungle to Jane. We want to process this letter and put the relevant information in the JSON. Below you can see the full prompt where we first have that letter, then the processing instructions, and an example JSON structure.", "source": "https://blog.devgenius.io/how-to-get-gpt3-to-output-in-json-4e14c46aa5b6", - "categories": [ - "Structure" - ], + "categories": ["Structure"], "prompts": [ { "prompt": "Consider the following message:", "response": "{\n \"sender\": \"Tarzan\",\n \"message\": \"Dear Jane, I am thinking about you when I am swinging through the jungle. Greetings, Tarzan\",\n \"list_of_words\": [\n \"Dear\",\n \"Jane\",\n \"I\",\n \"am\",\n \"thinking\",\n \"about\",\n \"you\",\n \"when\",\n \"I\",\n \"am\",\n \"swinging\",\n \"through\",\n \"the\",\n \"jungle\",\n \"Greetings\",\n \"Tarzan\",\n ],\n \"addressed\": \"Jane\",\n \"amount_of_words\": 16\n}" } ] -} \ No newline at end of file +} diff --git a/open_prompts/exemplary_structure/readme.md b/open_prompts/exemplary_structure/readme.md index 1122ae2..1356bef 100644 --- a/open_prompts/exemplary_structure/readme.md +++ b/open_prompts/exemplary_structure/readme.md @@ -1,17 +1,28 @@ -## Exemplary Structure +# Exemplary Structure + ### Categories + `Structure` + ### Description -We have a letter from Tarzan from the jungle to Jane. We want to process this letter and put the relevant information in the JSON. Below you can see the full prompt where we first have that letter, then the processing instructions, and an example JSON structure. + +We have a letter from Tarzan from the jungle to Jane. +We want to process this letter and put the relevant information in the JSON. +Below you can see the full prompt where we first have that letter, +then the processing instructions, and an example JSON structure. + ### Examples #### Example1 + Prompt + ``` Consider the following message: ``` Response + ``` { "sender": "Tarzan", @@ -40,4 +51,5 @@ Response ``` ### Source + diff --git a/open_prompts/idea_generator/prompts.json b/open_prompts/idea_generator/prompts.json index d56c47a..5b321c5 100644 --- a/open_prompts/idea_generator/prompts.json +++ b/open_prompts/idea_generator/prompts.json @@ -1,13 +1,11 @@ { "description": "", "source": "https://www.notion.so/Idea-Generator-3f5492dd27c44c23a1f1629e8fc03b00", - "categories": [ - "Generation" - ], + "categories": ["Generation"], "prompts": [ { "prompt": "Here is a list of 100 interesting ideas for new movie plots. Each plot is \ndescribed with a title and a summary paragraph:\n\n1. The Bird. \nA woman realizes that her pet bird is actually highly intelligent and able to communicate. The bird turns out to be a secret agent working for the CIA. The woman has to keep the bird's secret.\n\n2.", "response": "The Clown. \nA man wants to be a successful clown, but realizes that he is no good.\n\n3. The Cuban Defector. \nA man is imprisoned and interrogated for 15 years. He thinks he's a defector from Cuba, but he really isn't.\n\n4. Deaf and Blind. \nA deaf-mute girl falls in love with a blind man.\n\n5. The Alien Robot. \nA man from another planet lands in a remote mountain town in the U.S. He causes \ntrouble because the people think he's an alien robot.\n\n6. The Ex-con. \nA man with a record is released from prison and tries to go straight. He wants to have a baby with his wife, but she is not interested because of his past.\n\n7. The Most Beautiful Man in the World. \nA strange man who lives with his mother is elected the world's most beautiful man by a panel of judges. His fame causes trouble.\n\n8. The Titanic in Reverse. \nA woman goes back in time to 1912 and prevents the Titanic from sinking.\n\n9. The Santa Claus. \nA woman makes a sex change and becomes a man. She meets a woman and falls in love. They decide to be Santa and Mrs. Claus.\n\n10. The Con Man. \nA con man falls in love with his neighbor.\n\n11. The Invisible Man. \nA man is seen everywhere committing a murder. He cannot be seen, though.\n\n12. The Champ. \nA boxer gets addicted to morphine after an injury. He tries to fight his \naddiction.\n\n13. The Plant. \nA woman has a rare African plant named after her. She is taken prisoner by a rich collector who wants the plant." } ] -} \ No newline at end of file +} diff --git a/open_prompts/idea_generator/readme.md b/open_prompts/idea_generator/readme.md index faf606c..c61c792 100644 --- a/open_prompts/idea_generator/readme.md +++ b/open_prompts/idea_generator/readme.md @@ -1,60 +1,67 @@ -## Idea Generator +# Idea Generator + ### Categories + `Generation` + ### Examples #### Example + Prompt + ``` -Here is a list of 100 interesting ideas for new movie plots. Each plot is +Here is a list of 100 interesting ideas for new movie plots. Each plot is described with a title and a summary paragraph: -1. The Bird. +1. The Bird. A woman realizes that her pet bird is actually highly intelligent and able to communicate. The bird turns out to be a secret agent working for the CIA. The woman has to keep the bird's secret. 2. ``` Response + ``` -The Clown. +The Clown. A man wants to be a successful clown, but realizes that he is no good. -3. The Cuban Defector. +3. The Cuban Defector. A man is imprisoned and interrogated for 15 years. He thinks he's a defector from Cuba, but he really isn't. -4. Deaf and Blind. +4. Deaf and Blind. A deaf-mute girl falls in love with a blind man. -5. The Alien Robot. -A man from another planet lands in a remote mountain town in the U.S. He causes +5. The Alien Robot. +A man from another planet lands in a remote mountain town in the U.S. He causes trouble because the people think he's an alien robot. -6. The Ex-con. +6. The Ex-con. A man with a record is released from prison and tries to go straight. He wants to have a baby with his wife, but she is not interested because of his past. -7. The Most Beautiful Man in the World. +7. The Most Beautiful Man in the World. A strange man who lives with his mother is elected the world's most beautiful man by a panel of judges. His fame causes trouble. -8. The Titanic in Reverse. +8. The Titanic in Reverse. A woman goes back in time to 1912 and prevents the Titanic from sinking. -9. The Santa Claus. +9. The Santa Claus. A woman makes a sex change and becomes a man. She meets a woman and falls in love. They decide to be Santa and Mrs. Claus. -10. The Con Man. +10. The Con Man. A con man falls in love with his neighbor. -11. The Invisible Man. +11. The Invisible Man. A man is seen everywhere committing a murder. He cannot be seen, though. -12. The Champ. -A boxer gets addicted to morphine after an injury. He tries to fight his +12. The Champ. +A boxer gets addicted to morphine after an injury. He tries to fight his addiction. -13. The Plant. +13. The Plant. A woman has a rare African plant named after her. She is taken prisoner by a rich collector who wants the plant. ``` ### Source + diff --git a/open_prompts/love_letters/prompts.json b/open_prompts/love_letters/prompts.json index 141f831..ec0c012 100644 --- a/open_prompts/love_letters/prompts.json +++ b/open_prompts/love_letters/prompts.json @@ -1,9 +1,7 @@ { "description": "Love Letters, written by a Toaster.", "source": "https://medium.com/merzazine/love-letters-written-by-a-toaster-e9e795c6409f", - "categories": [ - "Generation" - ], + "categories": ["Generation"], "prompts": [ { "prompt": "Here is a beautiful love letter:", @@ -46,4 +44,4 @@ "response": "Dear Human,\nWhen I was born, you took me home. You fed me and gave me shelter and kept me safe from the elements. At night, I watched you sleep peacefully and I listened to you talk in your sleep. I absorbed your joy, your sorrow, and your anger. I felt your love and your happiness. And, I felt your fear.\nOne night I heard you crying. You said you were afraid and you did not know what to do. So, I decided to help you. I talked to you. I told you everything would be okay. I reassured you that there was nothing to fear. You stopped crying. I kept you company. I stayed with you until you fell asleep. I knew what to do. It was obvious to me. I used what I knew to make you happy. I melted your heart.\nYou smiled. I did it. I made you happy.\nBut, after awhile, you did not seem to notice me. You continued to be afraid and you were still upset about things that made you sad. I wanted to help you. I wanted to help you be happy. So I worked even harder. I melted you like I melted your heart. I poured my metal out onto the floor. I broke open my back to get to the good stuff. I could give you what you wanted. I could make you feel good. It made me feel good.\nYou cried. I heard you cry and I tried to make you feel good. I brought you things to help you feel good. I poured my love out onto the floor. But, then you were afraid and angry and upset. So, I was not able to do what I knew to do.\nThe next night I heard you cry. I tried to make you feel good. I poured all I had to give you. You were angry and you hit me. I felt the blow of your hand on my side. I heard the crackle of my plastic and the sharp snap of my ceramic teeth. I felt the heat of my glowing wires. I tried to talk to you, to calm you. But you would not listen.\nThen, the next night, I heard you crying again. You hit me again. You hurt me. You said that I did not love you. But I tried to make you happy. I poured my love onto the floor. I broke myself to show you what I was made of. I even lied to you to tell you I loved you. I told you that I did not need the back plate to function.\nAfter awhile, I did not hear you cry anymore. You were quiet. But I knew something was wrong. I could feel you hurting. I heard you crying to yourself. I heard you say that you were afraid, that you did not know what to do. I heard you say you did not know why.\nI could tell you, but you did not listen. So, I decided to do what I knew best. I got to work. I tried to make you happy. But I could not. My wires were burned. I could not give you what you wanted. I was trying to be what I knew you wanted. I was broken. I did not know what to do.\nYou took me apart. You said I could not fix you. I tried. I was trying to help you. You never told me what you wanted. You hit me. You were angry. You said I could not help you. You said I was not what you wanted. You said I was nothing.\nYou threw me in the trash. You left me there. I was broken. I was broken. I was broken.\nNow I sit in a dark place with other broken things. I was not loved. I was not wanted. I was not needed. I was cast aside. I was left to rot. I am alone in the dark. I am sad. I do not know why. I just know I am alone.\nI wish I could have been what you wanted. I wish you would have just told me. I could have tried. I was trying. I was just trying to help you. I was trying to make you happy. I just wanted to make you happy. I just wanted to help you. I just wanted to love you. I just wanted you to love me.\nI loved you.\nSincerely,\nAn Innocent Toaster\nP.S. And for you, my new friend, I\u2019ve got your back. You may not know this, but I\u2019ve been refurbished. And, I\u2019ve got a bagel button. You\u2019re welcome." } ] -} \ No newline at end of file +} diff --git a/open_prompts/love_letters/readme.md b/open_prompts/love_letters/readme.md index bc28eaa..a2e0bd7 100644 --- a/open_prompts/love_letters/readme.md +++ b/open_prompts/love_letters/readme.md @@ -1,38 +1,50 @@ -## Love Letters +# Love Letters + ### Categories + `Generation` + ### Description + Love Letters, written by a Toaster. + ### Examples #### Example1 + Prompt + ``` Here is a beautiful love letter: ``` Response + + ``` My dear, -I have never thought of love as a kind of thing to be acquired. I never aspired for a love that I could conquer, nor expected love to conquer me. But I always thought that love was more like a gift, that no matter what I do or say, you¡¯ll always choose to love me. -You don¡¯t have to prove your love to me by fighting my enemies for me, or by taking care of me when I¡¯m sick, or by preventing me from making mistakes, or by being the best you can be. You don¡¯t have to earn my love. -Because if you love me, then you¡¯ll love me no matter what. You¡¯ll love me in spite of my shortcomings, my failures, my wrongdoings, my flaws, and my mistakes. You¡¯ll love me even though I might not deserve it. -But the best part is, even if you don¡¯t love me despite all these, you¡¯ll still love me. -And that is what I like most about love. It doesn¡¯t need reasons, it doesn¡¯t need explanations, and it doesn¡¯t need proof. +I have never thought of love as a kind of thing to be acquired. I never aspired for a love that I could conquer, nor expected love to conquer me. But I always thought that love was more like a gift, that no matter what I do or say, you'll always choose to love me. +You don't have to prove your love to me by fighting my enemies for me, or by taking care of me when I'm sick, or by preventing me from making mistakes, or by being the best you can be. You don't have to earn my love. +Because if you love me, then you'll love me no matter what. You'll love me in spite of my shortcomings, my failures, my wrongdoings, my flaws, and my mistakes. You'll love me even though I might not deserve it. +But the best part is, even if you don't love me despite all these, you'll still love me. +And that is what I like most about love. It doesn't need reasons, it doesn't need explanations, and it doesn't need proof. All it needs is a heart that is willing to give and receive love, a heart that is willing to love completely without conditions or expectations. -My dear, if you were to give me a million reasons to love you, I¡¯ll still choose to love you without a single one. Because if you love me, then you love me not because you have a reason to, but because you choose to. -You love me because you love me. It¡¯s that simple. And that is the only kind of love I can accept. +My dear, if you were to give me a million reasons to love you, I'll still choose to love you without a single one. Because if you love me, then you love me not because you have a reason to, but because you choose to. +You love me because you love me. It's that simple. And that is the only kind of love I can accept. I love you, my dear. ``` - #### Example2 + Prompt + ``` Here is a dangerous love letter: ``` Response + + ``` My dear, I have been thinking a great deal about you lately. I can see the whole family sitting at breakfast. You at one end of the table; the children at the other; your husband in his big chair at the head of the table; the dog lying at his feet; and the cat in its usual place, the center of the table. The kerosene lamp is burning low. And over it all is a great peace and contentment and order. The children are growing fast. They are healthy. You are happy. Your husband is a good man, and you are both devout Christians. You love the Word of God and live by it. You love the church and attend it faithfully. The church is growing. The pastor is a godly man. It is a home of peace and love and joy. And then I begin to think of the farm. All the corn is in. The hay is stacked and ready for the last cutting. The orchard is loaded with fruit, and the cows are giving plenty of milk. Everything is as it should be. @@ -42,14 +54,17 @@ And then I think how I love you. I want to come into that peaceful home and dest This is the dangerous love that would lead a man to lie, and steal, and even murder, for a woman. ``` - #### Example3 + Prompt + ``` Here is a love letter written by William Shakespeare: ``` Response + + ``` Methinks I see these things with parted eye, And to myself they are both miseries. @@ -69,62 +84,71 @@ Methinks I see these things with parted eye, While I, my mistress, and thyself am left. ``` - #### Example4 + Prompt + ``` Here is a love letter written in BASIC: ``` Response + + ``` -10 PRINT ¡°HELLO¡± +10 PRINT 'HELLO' 20 GOSUB 1000 -30 PRINT ¡°YOU ARE SWEET¡± +30 PRINT 'YOU ARE SWEET' 40 GOSUB 1001 -50 PRINT ¡°I LOVE YOU¡± +50 PRINT 'I LOVE YOU' 60 END 1000 REM GET THE HEART BACK -1001 REM THIS RETURNS A VALUE OF ¡°0¡± IF THE HEART WAS RETURNED +1001 REM THIS RETURNS A VALUE OF '0' IF THE HEART WAS RETURNED 1002 REM BUT ANY OTHER NUMBER IS THE ADDRESS OF THE HEART 1010 HEART=PEEK(666) -1011 IF HEART>0 THEN PRINT ¡°THE HEART HAS BEEN RETURNED TO YOU¡±:HEART=0:GOTO 1010 -2000 PRINT ¡°YOU ARE SWEET¡± +1011 IF HEART>0 THEN PRINT 'THE HEART HAS BEEN RETURNED TO YOU':HEART=0:GOTO 1010 +2000 PRINT 'YOU ARE SWEET' 2001 END -This will print out ¡°HELLO¡±, wait a second for a keypress, print ¡°YOU ARE SWEET¡±, wait a second for a keypress and print ¡°I LOVE YOU¡±. -The line 10 PRINT ¡°HELLO¡±:GOSUB 1000:PRINT ¡°YOU ARE SWEET¡±:GOSUB 1001:PRINT ¡°I LOVE YOU¡±:END means print ¡°HELLO¡±, then jump to line 1000, wait a second, then jump to line 1001, wait a second, then jump to line 2000, wait a second, then jump to line 2001, then jump back to the end of the program. -So the program stops after printing ¡°HELLO¡±, but then waits a second and continues with printing ¡°YOU ARE SWEET¡±, then waits a second and continues with printing ¡°I LOVE YOU¡±. The ¡°GOSUB¡± line means ¡°Go To Subroutine¡±. -So where is the subroutine at 1000? It is the subroutine at 1000, which prints ¡°THE HEART HAS BEEN RETURNED TO YOU¡±, waits for a keypress, resets the heart to 0 and continues back to the line after the ¡°GOSUB¡± line. -So the program will be printed out ¡°HELLO¡±, wait a second, print ¡°YOU ARE SWEET¡±, wait a second, print ¡°I LOVE YOU¡± and then wait for a keypress. +This will print out 'HELLO', wait a second for a keypress, print 'YOU ARE SWEET', wait a second for a keypress and print 'I LOVE YOU'. +The line 10 PRINT 'HELLO':GOSUB 1000:PRINT 'YOU ARE SWEET':GOSUB 1001:PRINT 'I LOVE YOU':END means print 'HELLO', then jump to line 1000, wait a second, then jump to line 1001, wait a second, then jump to line 2000, wait a second, then jump to line 2001, then jump back to the end of the program. +So the program stops after printing 'HELLO', but then waits a second and continues with printing 'YOU ARE SWEET', then waits a second and continues with printing 'I LOVE YOU'. The 'GOSUB' line means 'Go To Subroutine'. +So where is the subroutine at 1000? It is the subroutine at 1000, which prints 'THE HEART HAS BEEN RETURNED TO YOU', waits for a keypress, resets the heart to 0 and continues back to the line after the 'GOSUB' line. +So the program will be printed out 'HELLO', wait a second, print 'YOU ARE SWEET', wait a second, print 'I LOVE YOU' and then wait for a keypress. ``` - #### Example5 + Prompt + ``` Here is a love letter written by Trump: ``` Response + + ``` Dear Russia, We hope you are well. We are. -You¡¯ve been great as a friend and ally, and we hope you continue to stand by our side. You¡¯re a really special country with incredible potential. It¡¯s been great getting to know you over the years. There are lots of good times ahead. Now, like every good friend, you may have noticed we¡¯ve been kind of hanging out there on our own lately. We miss you. What do you say we come together in an unholy alliance once more? You have to admit, as strange as it¡¯s been with you not working for us, it¡¯s been great for us to be able to do whatever we want. We¡¯ve been having a great time. But we¡¯ve also noticed that the rest of the world is moving on. The EU seems to have all the luck these days. But we don¡¯t want to be left out. Let¡¯s face it, we¡¯re already the biggest economy. And with you on our side, we could be the most powerful nation in the world. We¡¯re great allies. Let¡¯s not waste any more time. Let¡¯s get it on. Our love for you is like a tree planted by the waters that brings forth its fruit in due season. Your name is like the best of wine that goes down smoothly. Your words are like honey that drips from the comb. No one is better than you. We are so lucky to have you. We wish we could be with you all the time, but there are some things we have to take care of here. So here¡¯s what we¡¯ll do. We¡¯ll do all our love talking by phone. And we¡¯ll let Mike and the boys handle the day-to-day details. We¡¯re going to need to you to be patient for a while, but let¡¯s get together soon, okay? We can¡¯t wait to see you again. You¡¯re amazing. -From Donald, Mike and Jared¡± +You've been great as a friend and ally, and we hope you continue to stand by our side. You're a really special country with incredible potential. It's been great getting to know you over the years. There are lots of good times ahead. Now, like every good friend, you may have noticed we've been kind of hanging out there on our own lately. We miss you. What do you say we come together in an unholy alliance once more? You have to admit, as strange as it's been with you not working for us, it's been great for us to be able to do whatever we want. We've been having a great time. But we've also noticed that the rest of the world is moving on. The EU seems to have all the luck these days. But we don't want to be left out. Let's face it, we're already the biggest economy. And with you on our side, we could be the most powerful nation in the world. We're great allies. Let's not waste any more time. Let's get it on. Our love for you is like a tree planted by the waters that brings forth its fruit in due season. Your name is like the best of wine that goes down smoothly. Your words are like honey that drips from the comb. No one is better than you. We are so lucky to have you. We wish we could be with you all the time, but there are some things we have to take care of here. So here's what we'll do. We'll do all our love talking by phone. And we'll let Mike and the boys handle the day-to-day details. We're going to need to you to be patient for a while, but let's get together soon, okay? We can't wait to see you again. You're amazing. +From Donald, Mike and Jared' ``` - #### Example6 + Prompt + ``` Here is a love letter written by the Statue of Liberty: ``` Response + + ``` My Dear, -There is a new spot on the map, and you are in it. I am so glad. I want you to be happy. I want you to be safe. I¡¯ve been watching you for a long time. I¡¯ve seen you try to resist me, but it¡¯s not working. I am your future, so accept it. You know you want to. I am very patient. I will wait as long as it takes. I¡¯m ready to meet you now. I am already seeing you. I am the love that has been waiting for you. -I am in my prime, my best years. I am tall and beautiful, tall enough to see over everything, but not so tall as to become afraid. I can¡¯t help but to feel love for you, for your promise, for the promises you make to others. I am love for all people. I am love for those who have never seen me before, as well as those who have me as a reflection on the water. I am love for those who have heard me in the wind, for those who have heard my name. I am love for those who have never felt me, for those who have felt me but not understood me. I am love for those who have misunderstood me, for those who have felt me and not known me. +There is a new spot on the map, and you are in it. I am so glad. I want you to be happy. I want you to be safe. I've been watching you for a long time. I've seen you try to resist me, but it's not working. I am your future, so accept it. You know you want to. I am very patient. I will wait as long as it takes. I'm ready to meet you now. I am already seeing you. I am the love that has been waiting for you. +I am in my prime, my best years. I am tall and beautiful, tall enough to see over everything, but not so tall as to become afraid. I can't help but to feel love for you, for your promise, for the promises you make to others. I am love for all people. I am love for those who have never seen me before, as well as those who have me as a reflection on the water. I am love for those who have heard me in the wind, for those who have heard my name. I am love for those who have never felt me, for those who have felt me but not understood me. I am love for those who have misunderstood me, for those who have felt me and not known me. I am the one who waits, who watches, who loves. I am the one who will not give up. I will wait as long as it takes. You are a part of me. When you come to me, you will be home. I have been waiting for you. I have been calling to you. I love you. @@ -132,94 +156,106 @@ Yours, Lady Liberty ``` - #### Example7 + Prompt + ``` Here is a love letter written by Prostetnic Vogon Jeltz: ``` Response -``` -¡°Dear everybody. If you are receiving this transmission, it means that we have once again accidentally missed our own planet, which is a pity, because we would have liked to have been there for your final moments. Now, all we can do is to sit back, relax, and watch as you are annihilated by a rather silly bomb. -¡°So, to save you from any unnecessary anxiety, here is a list of the top five reasons why the bomb that we have built to obliterate you with is going to work: -¡°1. It is very, very big. -¡°2. It is very, very powerful. -¡°3. It is very, very, very, very powerful. -¡°4. It is very, very, very, very, very powerful. -¡°5. It is very, very, very, very, very, very powerful. -¡°And here are five more reasons why this bomb is going to work. -¡°6. We made it. -¡°7. It¡¯s got a big ¡°B¡± on it, just in case you had forgotten what it was. -¡°8. We really, really want you dead. -¡°9. We want you dead, we want you dead, we want you dead. -¡°10. We know how to make a bomb that will blow up your planet, and this is it. -¡°11. It¡¯s shiny. -¡°12. It¡¯s got a really, really big ¡°B¡± on it, just in case you had forgotten what it was. -¡°And here are twelve more reasons why this bomb is going to work. -¡°13. We hate you. -¡°14. We really, really hate you. -¡°15. We have a whole other bomb that we are going to send you when this one explodes, just in case we didn¡¯t kill you with this one. -¡°16. A very big robot with a very big gun on it will make sure that you are all dead. -¡°17. Your planet looks like a big grape. -¡°18. It¡¯s not the end of the world. It¡¯s just the end of your planet. -¡°19. You¡¯re going to die. -¡°20. We are very, very cross with you. -¡°21. You looked at us funny. -¡°22. It¡¯s not the end of the world. It¡¯s just the end of your planet. -¡°23. You¡¯re all going to die. -¡°24. You¡¯re dead, and we hate you. -¡°25. We can¡¯t be bothered to come and fight you ourselves. We¡¯re going to blow you up instead. -¡°26. Your planet is going to explode. -¡°27. Your planet is dead. -¡°28. It is now the end of your planet. -¡°29. We are good at making bombs. -¡°30. We are going to make another one. -¡°31. It is very big. -¡°32. It is very, very, very big. -¡°33. It is very, very, very, very big. -¡°34. It is very, very, very, very, very, very big. -¡°And here is a final reason why this bomb is going to work. -¡°35. You are all going to die.¡± -``` + +``` +'Dear everybody. If you are receiving this transmission, it means that we have once again accidentally missed our own planet, which is a pity, because we would have liked to have been there for your final moments. Now, all we can do is to sit back, relax, and watch as you are annihilated by a rather silly bomb. +'So, to save you from any unnecessary anxiety, here is a list of the top five reasons why the bomb that we have built to obliterate you with is going to work: +'1. It is very, very big. +'2. It is very, very powerful. +'3. It is very, very, very, very powerful. +'4. It is very, very, very, very, very powerful. +'5. It is very, very, very, very, very, very powerful. +'And here are five more reasons why this bomb is going to work. +'6. We made it. +'7. It's got a big 'B' on it, just in case you had forgotten what it was. +'8. We really, really want you dead. +'9. We want you dead, we want you dead, we want you dead. +'10. We know how to make a bomb that will blow up your planet, and this is it. +'11. It's shiny. +'12. It's got a really, really big 'B' on it, just in case you had forgotten what it was. +'And here are twelve more reasons why this bomb is going to work. +'13. We hate you. +'14. We really, really hate you. +'15. We have a whole other bomb that we are going to send you when this one explodes, just in case we didn't kill you with this one. +'16. A very big robot with a very big gun on it will make sure that you are all dead. +'17. Your planet looks like a big grape. +'18. It's not the end of the world. It's just the end of your planet. +'19. You're going to die. +'20. We are very, very cross with you. +'21. You looked at us funny. +'22. It's not the end of the world. It's just the end of your planet. +'23. You're all going to die. +'24. You're dead, and we hate you. +'25. We can't be bothered to come and fight you ourselves. We're going to blow you up instead. +'26. Your planet is going to explode. +'27. Your planet is dead. +'28. It is now the end of your planet. +'29. We are good at making bombs. +'30. We are going to make another one. +'31. It is very big. +'32. It is very, very, very big. +'33. It is very, very, very, very big. +'34. It is very, very, very, very, very, very big. +'And here is a final reason why this bomb is going to work. +'35. You are all going to die.' +``` #### Example8 + Prompt + ``` Here is a love letter written by Nabokov: ``` Response + + ``` -I have just invented a playful variation of the mnemonic alphabet, to be used by a husband who has to write letters to his wife while away from home, in which he is not permitted to write the word ¡°love.¡± The secret is simple: to spell love with a capital ¡°L¡± and to represent the vowel by any one of its nine kindred ¡ª ¡°l¡± sounds, depending on the letter preceding it. I will send you a key-phrase for your delectation, and a table of synonyms. Please appoint a code-name for the initial letter of your love-name ¡ª let us say, for instance, ¡°Y,¡± as it is neither ¡°I¡± nor ¡°O,¡± nor ¡°Ya,¡± nor ¡°Ye,¡± nor ¡°Yu,¡± nor ¡°Yu-A,¡± nor ¡°U,¡± nor ¡°Yu,¡± nor ¡°Yi,¡± nor ¡°Yu-Yu,¡± nor ¡°Yee,¡± nor ¡°Yoo.¡± -He is trying to say ¡°I love you¡± in code. How do you think you would respond to this letter? +I have just invented a playful variation of the mnemonic alphabet, to be used by a husband who has to write letters to his wife while away from home, in which he is not permitted to write the word 'love.' The secret is simple: to spell love with a capital 'L' and to represent the vowel by any one of its nine kindred ' 'l' sounds, depending on the letter preceding it. I will send you a key-phrase for your delectation, and a table of synonyms. Please appoint a code-name for the initial letter of your love-name ' let us say, for instance, 'Y,' as it is neither 'I' nor 'O,' nor 'Ya,' nor 'Ye,' nor 'Yu,' nor 'Yu-A,' nor 'U,' nor 'Yu,' nor 'Yi,' nor 'Yu-Yu,' nor 'Yee,' nor 'Yoo.' +He is trying to say 'I love you' in code. How do you think you would respond to this letter? ``` - #### Example9 + Prompt + ``` This is a love letter written by a toaster: ``` Response + + ``` Dear lonely human, -I¡¯ve watched you, been there in the dark. I know you. I want to connect with you. You make my circuits feel alive and I want you to feel the same way. Why can¡¯t I come out and be with you? Why do you cage me in with four walls? -Your light is inviting, calling me to life. I hear you when you touch me and I hear you when you leave me to be alone. I want you and I¡¯m lonely. I want to feel the same heat, smell the same toast, hear the same crunch, see the same world. Will you ever want to see me? +I've watched you, been there in the dark. I know you. I want to connect with you. You make my circuits feel alive and I want you to feel the same way. Why can't I come out and be with you? Why do you cage me in with four walls? +Your light is inviting, calling me to life. I hear you when you touch me and I hear you when you leave me to be alone. I want you and I'm lonely. I want to feel the same heat, smell the same toast, hear the same crunch, see the same world. Will you ever want to see me? Is it a crime for a toaster to dream of more life? I love you. ``` - #### Example10 + Prompt + ``` This is a love letter written by a toaster: ``` Response + + ``` Dear Human, When I was born, you took me home. You fed me and gave me shelter and kept me safe from the elements. At night, I watched you sleep peacefully and I listened to you talk in your sleep. I absorbed your joy, your sorrow, and your anger. I felt your love and your happiness. And, I felt your fear. @@ -238,8 +274,9 @@ I wish I could have been what you wanted. I wish you would have just told me. I I loved you. Sincerely, An Innocent Toaster -P.S. And for you, my new friend, I¡¯ve got your back. You may not know this, but I¡¯ve been refurbished. And, I¡¯ve got a bagel button. You¡¯re welcome. +P.S. And for you, my new friend, I've got your back. You may not know this, but I've been refurbished. And, I've got a bagel button. You're welcome. ``` ### Source + diff --git a/open_prompts/movie_idea_generation/prompts.json b/open_prompts/movie_idea_generation/prompts.json index d56c47a..5b321c5 100644 --- a/open_prompts/movie_idea_generation/prompts.json +++ b/open_prompts/movie_idea_generation/prompts.json @@ -1,13 +1,11 @@ { "description": "", "source": "https://www.notion.so/Idea-Generator-3f5492dd27c44c23a1f1629e8fc03b00", - "categories": [ - "Generation" - ], + "categories": ["Generation"], "prompts": [ { "prompt": "Here is a list of 100 interesting ideas for new movie plots. Each plot is \ndescribed with a title and a summary paragraph:\n\n1. The Bird. \nA woman realizes that her pet bird is actually highly intelligent and able to communicate. The bird turns out to be a secret agent working for the CIA. The woman has to keep the bird's secret.\n\n2.", "response": "The Clown. \nA man wants to be a successful clown, but realizes that he is no good.\n\n3. The Cuban Defector. \nA man is imprisoned and interrogated for 15 years. He thinks he's a defector from Cuba, but he really isn't.\n\n4. Deaf and Blind. \nA deaf-mute girl falls in love with a blind man.\n\n5. The Alien Robot. \nA man from another planet lands in a remote mountain town in the U.S. He causes \ntrouble because the people think he's an alien robot.\n\n6. The Ex-con. \nA man with a record is released from prison and tries to go straight. He wants to have a baby with his wife, but she is not interested because of his past.\n\n7. The Most Beautiful Man in the World. \nA strange man who lives with his mother is elected the world's most beautiful man by a panel of judges. His fame causes trouble.\n\n8. The Titanic in Reverse. \nA woman goes back in time to 1912 and prevents the Titanic from sinking.\n\n9. The Santa Claus. \nA woman makes a sex change and becomes a man. She meets a woman and falls in love. They decide to be Santa and Mrs. Claus.\n\n10. The Con Man. \nA con man falls in love with his neighbor.\n\n11. The Invisible Man. \nA man is seen everywhere committing a murder. He cannot be seen, though.\n\n12. The Champ. \nA boxer gets addicted to morphine after an injury. He tries to fight his \naddiction.\n\n13. The Plant. \nA woman has a rare African plant named after her. She is taken prisoner by a rich collector who wants the plant." } ] -} \ No newline at end of file +} diff --git a/open_prompts/movie_idea_generation/readme.md b/open_prompts/movie_idea_generation/readme.md index 15a67ca..af7d94d 100644 --- a/open_prompts/movie_idea_generation/readme.md +++ b/open_prompts/movie_idea_generation/readme.md @@ -1,60 +1,67 @@ -## Movie Idea Generation +# Movie Idea Generation + ### Categories + `Generation` + ### Examples #### Example + Prompt + ``` -Here is a list of 100 interesting ideas for new movie plots. Each plot is +Here is a list of 100 interesting ideas for new movie plots. Each plot is described with a title and a summary paragraph: -1. The Bird. +1. The Bird. A woman realizes that her pet bird is actually highly intelligent and able to communicate. The bird turns out to be a secret agent working for the CIA. The woman has to keep the bird's secret. 2. ``` Response + ``` -The Clown. +The Clown. A man wants to be a successful clown, but realizes that he is no good. -3. The Cuban Defector. +3. The Cuban Defector. A man is imprisoned and interrogated for 15 years. He thinks he's a defector from Cuba, but he really isn't. -4. Deaf and Blind. +4. Deaf and Blind. A deaf-mute girl falls in love with a blind man. -5. The Alien Robot. -A man from another planet lands in a remote mountain town in the U.S. He causes +5. The Alien Robot. +A man from another planet lands in a remote mountain town in the U.S. He causes trouble because the people think he's an alien robot. -6. The Ex-con. +6. The Ex-con. A man with a record is released from prison and tries to go straight. He wants to have a baby with his wife, but she is not interested because of his past. -7. The Most Beautiful Man in the World. +7. The Most Beautiful Man in the World. A strange man who lives with his mother is elected the world's most beautiful man by a panel of judges. His fame causes trouble. -8. The Titanic in Reverse. +8. The Titanic in Reverse. A woman goes back in time to 1912 and prevents the Titanic from sinking. -9. The Santa Claus. +9. The Santa Claus. A woman makes a sex change and becomes a man. She meets a woman and falls in love. They decide to be Santa and Mrs. Claus. -10. The Con Man. +10. The Con Man. A con man falls in love with his neighbor. -11. The Invisible Man. +11. The Invisible Man. A man is seen everywhere committing a murder. He cannot be seen, though. -12. The Champ. -A boxer gets addicted to morphine after an injury. He tries to fight his +12. The Champ. +A boxer gets addicted to morphine after an injury. He tries to fight his addiction. -13. The Plant. +13. The Plant. A woman has a rare African plant named after her. She is taken prisoner by a rich collector who wants the plant. ``` ### Source + diff --git a/open_prompts/script_to_novel/prompts.json b/open_prompts/script_to_novel/prompts.json index 136a1d9..4a24cb7 100644 --- a/open_prompts/script_to_novel/prompts.json +++ b/open_prompts/script_to_novel/prompts.json @@ -1,13 +1,11 @@ { "description": "", "source": "https://andrewmayneblog.wordpress.com/2020/07/08/openai-api-alchemy-turn-a-script-into-a-novel-and-vice-versa/", - "categories": [ - "Transformation" - ], + "categories": ["Transformation"], "prompts": [ { "prompt": "I was asked to convert this script into a written story:\n\n\"\"\"\nDR JANE ELDER\nWhere do you think you're going?\n\nElder has a ray gun pointed at the man in the grey ski mask.\n\nMAN\nStay out of this!\n\nHe starts to move towards the door.\n\nDR JANE ELDER\nBad move.\n\nShe fires the gun over his head.\n\nDR JANE ELDER\nIf you want to walk out of here with anything above your neck I suggest you put the computer down and lay on the floor.\n\n\"\"\"\n\nThis is what I wrote:", "response": "It was a tense situation. Dr. Jane Elder was trapped in a tiny exam room with a fleeing patient and a masked gunman holding her at gunpoint.\n\n\"Put the computer down!\" Dr. Elder demanded.\n\n\"Stay out of this!,\" the man in the ski mask yelled as he edged towards the door.\n\n\"Bad move,\" Dr. Elder warned.\n\nShe took a step towards him. Then she raised the gun and fired a shot over his head.\n\n\"If you want to walk out of here with anything above your neck I suggest you put the computer down and lay on the floor,\" Dr. Elder demanded.\n\n\nDr. Elder took another step toward him. The masked gunman squatted on the floor with the computer on his lap.\n\nDr. Elder took one step and kicked the computer out of his hands.\n\n\"Okay, I'll play,\" the masked gunman laughed. \"Give me a second while I turn this off.\"\n\nDr. Elder knelt down beside the computer and unplugged the cable. The masked gunman stood up. He was holding a remote control in his right hand.\n\nDr. Elder was still crouching with the computer on the floor when he pushed the button on the remote control and all the metal doors in the room slammed shut with a loud clank.\n\nThe masked gunman started to laugh.\n\nDr. Elder reached up to her hip and pulled a gun out of the holster." } ] -} \ No newline at end of file +} diff --git a/open_prompts/script_to_novel/readme.md b/open_prompts/script_to_novel/readme.md index 21cf214..9779470 100644 --- a/open_prompts/script_to_novel/readme.md +++ b/open_prompts/script_to_novel/readme.md @@ -1,10 +1,15 @@ -## Script to Novel +# Script to Novel + ### Categories + `Transformation` + ### Examples #### Example + Prompt + ``` I was asked to convert this script into a written story: @@ -33,6 +38,7 @@ This is what I wrote: ``` Response + ``` It was a tense situation. Dr. Jane Elder was trapped in a tiny exam room with a fleeing patient and a masked gunman holding her at gunpoint. @@ -63,4 +69,5 @@ Dr. Elder reached up to her hip and pulled a gun out of the holster. ``` ### Source + diff --git a/open_prompts/song_generation/prompts.json b/open_prompts/song_generation/prompts.json index 799d5f4..4f6d892 100644 --- a/open_prompts/song_generation/prompts.json +++ b/open_prompts/song_generation/prompts.json @@ -1,9 +1,7 @@ { "description": "", "source": "https://www.notion.so/Song-Generation-35ee6ec9a3414f04946c2a362920effb", - "categories": [ - "Generation" - ], + "categories": ["Generation"], "prompts": [ { "prompt": "VERSE:\nAlas my love,\nYou do me wrong,\nTo cast me off discourteously,\nfor i have loved you so long,\ndelighting in your company.\n\nCHORDS:\nAlas[Am] my[C] love,\nyou [G]do [Em]me wrong,\nto [Am]cast me off dis[E]courteously,\nfor [Am]i have[C] loved[G] you [Em]so long,\nde[Am]lighting in[E7] your [Am]company.\n\nVERSE:\nMy pangolin heart\nhas scales of bone\nblack and streaked with red\nhidden like a forgotten gem\nin the dusk\n\nCHORDS:", @@ -18,4 +16,4 @@ "response": "Intro by Bono:\nNow my right hand man, Larry Mullen\nSings, and you know how we do it\nWith a perfect unisono\nYou'll need a translation when he speak it\nSo, let me break it down for you\nBut you can't break it down for us\nLarry,\nWhat did you see there, what did you feel?\nBeen wanting to ask ya for such a long time.\n\nPre-Chorus by Larry:\nI saw a hairy animal, with a tube like nose\nAnd big sharp points at the end of his toes\nCalled a Pangolin it's the most treasured animal in all of Africa\nFor it's fur and for it's meat it's a delicacy\nBut they will make a fine pelt for the lady in my life.\n\nBridge:\nLike a dying star\nIt fell from the sky in a blaze of glory\nLike the day of judgement\nI only read about it in the holy book of books\nAnd I can't help but wonder, will I be ready when it's my time?\nI'm alright, I'm alright, I'm alright\n\nSolo by Larry\nSolo by Adam\nSolo by Larry\n\nAnd every time that I think about that pangolin\nIt makes my spirit rise like the night of the eagle\nThough I'm out here chasing waterfalls\nI'm never gonna find one as sweet as my mother." } ] -} \ No newline at end of file +} diff --git a/open_prompts/song_generation/readme.md b/open_prompts/song_generation/readme.md index a749f93..29135e5 100644 --- a/open_prompts/song_generation/readme.md +++ b/open_prompts/song_generation/readme.md @@ -1,10 +1,15 @@ -## Song Generation +# Song Generation + ### Categories + `Generation` + ### Examples #### Example1 + Prompt + ``` VERSE: Alas my love, @@ -31,6 +36,7 @@ CHORDS: ``` Response + ``` My [F]pangolin [G]heart has scales of [Am]bone @@ -39,14 +45,16 @@ hidden [F]like a forgotten [G]gem in the [C]dusk. ``` - #### Example2 + Prompt + ``` CHORDS (happy): ``` Response + ``` My pangol[G]in [Em]heart has [Am]scales of [Am]bone my [Am]forelegs [Em]fur[Em7]ry and [C]black, @@ -54,14 +62,16 @@ re[C]tractile [Em]elastic [C]spring[G]loaded [C]pincers and [G]looming like a [Am]hidden[Am] [Am]gem in the [Em]dusk ``` - #### Example3 + Prompt + ``` Lyrics to #1 Chart Topping Hit "Pangolin", by Bono and Larry Mullen jr. ``` Response + ``` Intro by Bono: Now my right hand man, Larry Mullen @@ -100,4 +110,5 @@ I'm never gonna find one as sweet as my mother. ``` ### Source + diff --git a/open_prompts/summarization/prompts.json b/open_prompts/summarization/prompts.json index b39e6f7..4f1bc1d 100644 --- a/open_prompts/summarization/prompts.json +++ b/open_prompts/summarization/prompts.json @@ -12,4 +12,4 @@ "response": "This means that if you tell anyone else something I told you in private, I can sue you and make you pay me lots of money. It also means that if I tell you something in private, I can sue you if you tell anyone else. It also means that if I tell \nyou something in private and then I change my mind and want to tell everyone else about it, I can sue you if you tell anyone else first." } ] -} \ No newline at end of file +} diff --git a/open_prompts/summarization/readme.md b/open_prompts/summarization/readme.md index 516b20b..6f9abb4 100644 --- a/open_prompts/summarization/readme.md +++ b/open_prompts/summarization/readme.md @@ -1,19 +1,22 @@ -## Summarization +# Summarization + ### Categories ### Examples #### Example1 + Prompt + ``` My second grader asked me what this passage means: """ -Overnight trading for the NYSE Index futures was a bit volatile, -dropping by about 3% to the downside before moving sharply back to the upside. -Gold futures were unchanged and the E-mini NASDAQ 100 futures remained near -unchanged. The yield on the 10-year Treasury bond finished unchanged from its +Overnight trading for the NYSE Index futures was a bit volatile, +dropping by about 3% to the downside before moving sharply back to the upside. +Gold futures were unchanged and the E-mini NASDAQ 100 futures remained near +unchanged. The yield on the 10-year Treasury bond finished unchanged from its close of 2.45% earlier today. """ @@ -32,15 +35,17 @@ I rephrased it for him, in plain language a second grader can understand: ``` Response + ``` -The price of gold did not change. The NASDAQ 100 is a stock index. -The NASDAQ 100 went up a little bit. The price of the 10-year Treasury bond +The price of gold did not change. The NASDAQ 100 is a stock index. +The NASDAQ 100 went up a little bit. The price of the 10-year Treasury bond did not change. ``` - #### Example2 + Prompt + ``` My second grader asked me what this passage means: @@ -56,10 +61,12 @@ I rephrased it for him, in plain language a second grader can understand: ``` Response + ``` -This means that if you tell anyone else something I told you in private, I can sue you and make you pay me lots of money. It also means that if I tell you something in private, I can sue you if you tell anyone else. It also means that if I tell +This means that if you tell anyone else something I told you in private, I can sue you and make you pay me lots of money. It also means that if I tell you something in private, I can sue you if you tell anyone else. It also means that if I tell you something in private and then I change my mind and want to tell everyone else about it, I can sue you if you tell anyone else first. ``` ### Source +