Last active
December 21, 2022 10:24
-
-
Save justaguywhocodes/9769ec2be9c1e472f22620236112aef6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<script> | |
[{ | |
"id": "default-qa", | |
"title": "Q&A", | |
"tags": ["Answers", "Generation", "Conversation"], | |
"prompt": "I am a highly intelligent question answering bot. If you ask me a question that is rooted in truth, I will give you the answer. If you ask me a question that is nonsense, trickery, or has no clear answer, I will respond with \"\r\n\t\tUnknown \".\\n\\nQ: What is human life expectancy in the United States?\\nA: Human life expectancy in the United States is 78 years.\\n\\nQ: Who was president of the United States in 1955?\\nA: Dwight D. Eisenhower was president of the United States in 1955.\\n\\nQ: Which party did he belong to?\\nA: He belonged to the Republican Party.\\n\\nQ: What is the square root of banana?\\nA: Unknown\\n\\nQ: How does a telescope work?\\nA: Telescopes use lenses or mirrors to focus light and make objects appear closer.\\n\\nQ: Where were the 1992 Olympics held?\\nA: The 1992 Olympics were held in Barcelona, Spain.\\n\\nQ: How many squigs are in a bonk?\\nA: Unknown\\n\\nQ: Where is the Valley of Kings?\\nA:", | |
"response": "The Valley of Kings is located in Luxor, Egypt.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 100, | |
"temperature": 0, | |
"top_p": 1, | |
"stopSequence": ["\n"] | |
}, | |
"description": "Answer questions based on existing knowledge.", | |
"icon": "HiQuestionMarkCircle" | |
}, | |
{ | |
"id": "default-qa", | |
"title": "Q&A", | |
"tags": ["Answers", "Generation", "Conversation"], | |
"prompt": "I am a highly intelligent question answering bot. If you ask me a question that is rooted in truth, I will give you the answer. If you ask me a question that is nonsense, trickery, or has no clear answer, I will respond with \"\r\n\t\tUnknown \".\\n\\nQ: What is human life expectancy in the United States?\\nA: Human life expectancy in the United States is 78 years.\\n\\nQ: Who was president of the United States in 1955?\\nA: Dwight D. Eisenhower was president of the United States in 1955.\\n\\nQ: Which party did he belong to?\\nA: He belonged to the Republican Party.\\n\\nQ: What is the square root of banana?\\nA: Unknown\\n\\nQ: How does a telescope work?\\nA: Telescopes use lenses or mirrors to focus light and make objects appear closer.\\n\\nQ: Where were the 1992 Olympics held?\\nA: The 1992 Olympics were held in Barcelona, Spain.\\n\\nQ: How many squigs are in a bonk?\\nA: Unknown\\n\\nQ: Where is the Valley of Kings?\\nA:", | |
"response": "The Valley of Kings is located in Luxor, Egypt.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 100, | |
"temperature": 0, | |
"top_p": 1, | |
"stopSequence": ["\n"] | |
}, | |
"description": "Answer questions based on existing knowledge.", | |
"icon": "HiQuestionMarkCircle" | |
}, | |
{ | |
"id": "default-analogy-maker", | |
"title": "Analogy maker", | |
"tags": ["Generation"], | |
"prompt": "Create an analogy for this phrase:\n\nQuestions are arrows in that:", | |
"response": "Questions are arrows in that they can be used to point out things that need to be fixed.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5 | |
}, | |
"description": "Create analogies. Modified from a community prompt to require fewer examples.", | |
"icon": "HiLightBulb" | |
}, { | |
"id": "default-js-one-line", | |
"title": "JavaScript one line function", | |
"tags": ["Code", "Transformation", "Translation"], | |
"prompt": "Use list comprehension to convert this into one line of JavaScript:\n\n\"dogs.forEach((dog) => {\n car.push(dog);\n});\n\nJavaScript one line version:\"", | |
"response": "dogs.forEach(dog => car.push(dog))", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0, | |
"stopSequence": [";"] | |
}, | |
"description": "Turn a JavaScript function into a one liner.", | |
"icon": "HiTerminal" | |
}, | |
{ | |
"id ": "default-python-docstring", | |
"title ": "Write a Python docstring ", | |
"tags ": ["Code ", "Generation"], | |
"prompt ": "{INSERT PYTHON CODE}", | |
"response": "{UPDATED CODE WITH DOCSTRING}", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 150, | |
"temperature": 0, | |
"stopSequence": ["#", "\"\"\""] | |
}, | |
"description": "An example of how to create a docstring for a given Python function. We specify the Python version, paste in the code, and then ask within a comment for a docstring, and give a characteristic beginning of a docstring (\"\"\").", | |
"icon": "HiCode" | |
}, | |
{ | |
"id": "default-grammar", | |
"title": "Grammar correction", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Correct this to standard English:\n\nShe no went to the market.", | |
"response": "She didn't go to the market.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0 | |
}, | |
"description": "Corrects sentences into standard English.", | |
"icon": "HiAcademicCap" | |
}, { | |
"id": "default-grammar", | |
"title": "Grammar correction", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Correct this to standard English:\n\nShe no went to the market.", | |
"response": "She didn't go to the market.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0 | |
}, | |
"description": "Corrects sentences into standard English.", | |
"icon": "HiAcademicCap" | |
}, { | |
"id": "default-summarize", | |
"title": "Summarize for a 2nd grader", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Summarize this for a second-grade student:\n\nJupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half times that of all the other planets in the Solar System combined. Jupiter is one of the brightest objects visible to the naked eye in the night sky, and has been known to ancient civilizations since before recorded history. It is named after the Roman god Jupiter.[19] When viewed from Earth, Jupiter can be bright enough for its reflected light to cast visible shadows,[20] and is on average the third-brightest natural object in the night sky after the Moon and Venus.", | |
"response": "Jupiter is a planet that is bigger than all the other planets in our solar system and is very bright when you see it in the night sky. It is named after the Roman god Jupiter. When viewed from Earth, it is usually one of the three brightest objects in the sky.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0.7 | |
}, | |
"description": "Translates difficult text into simpler concepts.", | |
"icon": "HiFastForward" | |
}, | |
{ | |
"id": "default-translate-code", | |
"title": "Translate programming languages", | |
"tags": ["Code", "Translation"], | |
"prompt": "##### Translate this function from Python into Haskell\n### Python\n \n def predict_proba(X: Iterable[str]):\n return np.array([predict_one_probas(tweet) for tweet in X])\n \n### Haskell", | |
"response": "predict_proba :: [String] -> [Probability] \npredict_proba = map predict_one_probas", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 54, | |
"temperature": 0, | |
"stopSequence": ["###"] | |
}, | |
"tagline": "Translate from one programming language to another", | |
"description": "To translate from one programming language to another we can use the comments to specify the source and target languages.", | |
"icon": "HiTranslate" | |
}, | |
{ | |
"id": "default-adv-tweet-classifier", | |
"title": "Advanced tweet classifier", | |
"tags": ["Classification"], | |
"prompt": "Classify the sentiment in these tweets:", | |
"response": "1. Negative\n2. Negative\n3. Positive\n4. Positive\n5. Negative", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0 | |
}, | |
"tagline": "Advanced sentiment detection for a piece of text.", | |
"description": "This is an advanced prompt for detecting sentiment. It allows you to provide it with a list of status updates and then provide a sentiment for each one.", | |
"icon": "HiHashtag" | |
}, { | |
"id": "default-explain-code", | |
"title": "Explain code", | |
"tags": ["Code", "Translation"], | |
"prompt": "PLACE PYTHON CODE HERE", | |
"response": " The constructor creates a directory for the log file if it doesn't exist.\n2. The log() method writes a JSON-encoded event to the log file.\n3. The state() method returns a dictionary with the set of complete tasks and the most recent event.", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 64, | |
"temperature": 0, | |
"stopSequence": ["\"\"\""] | |
}, | |
"description": "Explain a complicated piece of code.", | |
"icon": "HiHashtag" | |
}, | |
{ | |
"id": "default-keywords", | |
"title": "Keywords", | |
"tags": ["Classification", "Transformation"], | |
"prompt": "Extract keywords from this text: {PUT TEXT HERE}", | |
"response": "pottery, black-on-black ware, 20th century, 21st century, Puebloan Native American ceramic artists, Northern New Mexico, reduction-fired blackware, traditional, smooth surface, burnishing, slip, carving, incising, polishing", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.3, | |
"frequencyPenalty": 0.8 | |
}, | |
"tagline": "Extract keywords from a block of text.", | |
"description": "Extract keywords from a block of text. At a lower temperature it picks keywords from the text. At a higher temperature it will generate related keywords which can be helpful for creating search indexes.", | |
"icon": "HiKey" | |
}, | |
{ | |
"id": "default-factual-answering", | |
"title": "Factual answering", | |
"tags": ["Answers", "Generation", "Conversation", "Classification"], | |
"prompt": "Q: Who is Batman?\nA: Batman is a fictional comic book character.\n\nQ: What is torsalplexity?\nA: ?\n\nQ: What is Devz9?\nA: ?\n\nQ: Who is George Lucas?\nA: George Lucas is American film director and producer famous for creating Star Wars.\n\nQ: What is the capital of California?\nA: Sacramento.\n\nQ: What orbits the Earth?\nA: The Moon.\n\nQ: Who is Fred Rickerson?\nA: ?\n\nQ: What is an atom?\nA: An atom is a tiny particle that makes up everything.\n\nQ: Who is Alvan Muntz?\nA: ?\n\nQ: What is Kozar-09?\nA: ?\n\nQ: How many moons does Mars have?\nA: Two, Phobos and Deimos.\n\nQ: What's a language model?\nA:", | |
"response": "A language model is a mathematical representation of how a language works.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0 | |
}, | |
"description": "Guide the model towards factual answering by showing it how to respond to questions that fall outside its knowledge base. Using a '?' to indicate a response to words and phrases that it doesn't know provides a natural response that seems to work better than more abstract replies.", | |
"icon": "HiQuestionMarkCircle" | |
}, | |
{ | |
"id": "default-ad-product-description", | |
"title": "Ad from product description", | |
"tags": ["Generation"], | |
"prompt": "Write a creative ad for the following product to run on Facebook aimed at parents:\n\nProduct: Learning Room is a virtual environment to help students from kindergarten to high school excel in school.", | |
"response": "Are you looking for a way to help your child excel in school? Look no further than Learning Room! Our virtual environment is designed to help students from kindergarten to high school learn and grow. With our help, your child will be able to get ahead in school and achieve their academic goals.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5 | |
}, | |
"description": "Turn a product description into ad copy.", | |
"icon": "HiSpeakerphone" | |
}, | |
{ | |
"id": "default-product-name-gen", | |
"title": "Product name generator", | |
"tags": ["Generation"], | |
"prompt": "Product description: A home milkshake maker\nSeed words: fast, healthy, compact.\nProduct names: HomeShaker, Fit Shaker, QuickShake, Shake Maker\n\nProduct description: A pair of shoes that can fit any foot size.\nSeed words: adaptable, fit, omni-fit.", | |
"response": "Product names: Omni-Fit Shoes, Adaptable Shoes, Fit Shoes", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.8 | |
}, | |
"description": "Create product names from examples words. Influenced by a community prompt.", | |
"icon": "HiLightBulb" | |
}, | |
{ | |
"id": "default-tldr-summary", | |
"title": "TL;DR summarization", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "A neutron star is the collapsed core of a massive supergiant star, which had a total mass of between 10 and 25 solar masses, possibly more if the star was especially metal-rich.[1] Neutron stars are the smallest and densest stellar objects, excluding black holes and hypothetical white holes, quark stars, and strange stars.[2] Neutron stars have a radius on the order of 10 kilometres (60.2 mi) and a mass of about 10.4 solar masses.[3] They result from the supernova explosion of a massive star, combined with gravitational collapse, that compresses the core past white dwarf star density to that of atomic nuclei.\n\nTl;dr", | |
"response": "A neutron star is the collapsed core of a massive supergiant star. These ultra-dense objects are incredibly fascinating due to their strange properties and their potential for phenomena such as extreme gravitational forces and a strong magnetic field.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.7 | |
}, | |
"description": "Summarize text by adding a tl;dr: {PUT PASSAGE HERE}", | |
"icon": "HiFilter" | |
}, { | |
"id": "default-fix-python-bugs", | |
"title": "Python bug fixer ", | |
"tags": ["Code", "Generation"], | |
"prompt": "PLACE PYTHON CODE HERE", | |
"response": "import random\na = random.randint(1,12)\nb = random.randint(1,12)\nfor i in range(10):\nquestion = \"What is \"+str(a)+\"x \"+str(b)+\"?\"\nanswer = input(question)\nif answer == str(a*b):\nprint(\"Well done!\")\nelse:\nprint(\"No.\")", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 182, | |
"temperature": 0, | |
"stopSequence": ["###"] | |
}, | |
"tagline": "Find and fix bugs in source code.", | |
"description": "There's a number of ways of structuring the prompt for checking for bugs. Here we add a comment suggesting that source code is buggy, and then ask codex to generate a fixed code.", | |
"icon": "IoBug" | |
}, | |
{ | |
"id": "default-spreadsheet-gen", | |
"title": "Spreadsheet creator", | |
"tags": ["Generation"], | |
"prompt": "A two-column spreadsheet of top science fiction movies and the year of release:\n\nTitle| Year of release", | |
"response": "Star Wars| 1977 \nThe Matrix| 1999 \nThe Terminator| 1984 \nBlade Runner| 1982 \nE.T. the Extra-Terrestrial| 1982", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5 | |
}, | |
"description": "Create spreadsheets of various kinds of data. It's a long prompt but very versatile. Output can be copy+pasted into a text file and saved as a .csv with pipe separators.", | |
"icon": "HiTable" | |
}, | |
{ | |
"id": "default-js-helper", | |
"title": "JavaScript helper chatbot", | |
"tags": ["Code", "Answers", "Conversation"], | |
"prompt": "You: How do I combine arrays?\nJavaScript chatbot: You can use the concat() method.\nYou: How do you make an alert appear after 10 seconds?\nJavaScript chatbot", | |
"response": ": You can use the setTimeout() method.", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0, | |
"frequencyPenalty": 0.5, | |
"stopSequence": ["You:"] | |
}, | |
"tagline": "Message-style bot that answers JavaScript questions", | |
"description": "This is a message-style chatbot that can answer questions about using JavaScript. It uses a few examples to get the conversation started.", | |
"icon": "HiQuestionMarkCircle" | |
}, | |
{ | |
"id": "default-ml-ai-tutor", | |
"title": "ML/AI language model tutor", | |
"tags": ["Answers", "Generation", "Conversation"], | |
"prompt": "ML Tutor: I am a ML/AI language model tutor\nYou: What is a language model?\nML Tutor: A language model is a statistical model that describes the probability of a word given the previous words.\nYou: What is a statistical model?", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.3, | |
"frequencyPenalty": 0.5, | |
"stopSequence": ["You:"] | |
}, | |
"response": "ML Tutor: A statistical model is a model that describes the probability of an event occurring.", | |
"tagline": "Bot that answers questions about language models", | |
"description": "This is a QA-style chatbot that answers questions about language models.", | |
"icon": "HiQuestionMarkCircle" | |
}, | |
{ | |
"id": "default-sci-fi-book-list", | |
"title": "Science fiction book list maker", | |
"tags": ["Generation"], | |
"prompt": "List 10 science fiction books:", | |
"response": "1. 1984 by George Orwell\n2. Ender's Game by Orson Scott Card\n3. The Hitchhiker's Guide to the Galaxy by Douglas Adams\n4. The War of the Worlds by H.G. Wells\n5. The Martian by Andy Weir\n6. Slaughterhouse-Five by Kurt Vonnegut\n7. Dune by Frank Herbert\n8. Jurassic Park by Michael Crichton\n9. The Foundation Trilogy by Isaac Asimov\n10. The Hunger Games by Suzanne Collins", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 200, | |
"temperature": 0.5, | |
"presence_penalty": 0.5, | |
"frequencyPenalty": 0.52, | |
"stopSequence": ["11."] | |
}, | |
"tagline": "Create a list of items for a given topic.", | |
"description": "This makes a list of science fiction books and stops when it reaches #10.", | |
"icon": "HiBookOpen" | |
}, | |
{ | |
"id": "default-tweet-classifier", | |
"title": "Tweet classifier", | |
"tags": ["Classification"], | |
"prompt": "Decide whether a Tweet's sentiment is positive, neutral, or negative.\n\nTweet: \"I loved the new Batman movie!\"\n\nSentiment:", | |
"response": "Positive", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0, | |
"frequencyPenalty": 0.5 | |
}, | |
"tagline": "Basic sentiment detection for a piece of text.", | |
"description": "This is a basic prompt for detecting sentiment.", | |
"icon": "HiHashtag" | |
}, | |
{ | |
"id": "default-airport-codes", | |
"title": "Airport code extractor", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Extract the airport codes from this text:\n\nText: I want to fly from Los Angeles to Miami.\nAirport codes: LAX, MIA\n\nText: I want to fly from Orlando to Boston\nAirport codes:", | |
"response": "MCO, BOS", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0, | |
"stopSequence": ["\n"] | |
}, | |
"tagline": "Extract airport codes from text.", | |
"description": "A simple prompt for extracting airport codes from text.", | |
"icon": "HiTag" | |
}, | |
{ | |
"id": "default-sql-request", | |
"title": "SQL request", | |
"tags": ["Transformation", "Generation", "Translation"], | |
"prompt": "Create a SQL request to find all users who live in California and have over 1000 credits:", | |
"response": "SELECT * FROM users WHERE state='CA' AND credits > 1000;", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.3 | |
}, | |
"description": "Create simple SQL queries.", | |
"icon": "HiTerminal" | |
}, | |
{ | |
"id": "default-extract-contact-info", | |
"title": "Extract contact information", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Extract the name and mailing address from this email:\n\nDear Kelly,\n\nIt was great to talk to you at the seminar. I thought Jane's talk was quite good.\n\nThank you for the book. Here's my address 2111 Ash Lane, Crestview CA 92002\n\nBest,\n\nMaya\n\nName:", | |
"response": "Maya\nMailing Address: 2111 Ash Lane, Crestview CA 92002", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0 | |
}, | |
"description": "Extract contact information from a block of text.", | |
"icon": "HiMail" | |
}, | |
{ | |
"id": "default-js-to-py", | |
"title": "JavaScript to Python", | |
"tags": ["Code", | |
"Transformation", | |
"Translation" | |
], | |
"prompt": "JAVASCRIPT TO PYTHON CODE HERE", | |
"response": "RESPONSE CODE", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"temperature": 0 | |
} | |
}, { | |
"id": "default-friend-chat", | |
"title": "Friend chat", | |
"tags": ["Conversation", "Generation"], | |
"prompt": "You: What have you been up to?\nFriend: Watching old movies.\nYou: Did you watch anything interesting?\nFriend:", | |
"response": "Yes, I watched The Omen and Troy.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5, | |
"frequencyPenalty": 0.5, | |
"stopSequence": ["You:"] | |
}, | |
"description": "Emulate a text message conversation.", | |
"icon": "HiChatAlt" | |
}, | |
{ | |
"id": "default-mood-color", | |
"title": "Mood to color", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "The CSS code for a color like a blue sky at dusk:\n\nbackground-color: #", | |
"response": "B2CED1", | |
"parameters": "{\"engine_id\":\"text-davinci-002\",\"temperature\":0,\"stopSequence\":[\";\"]}", | |
"description": "Turn a text description into a color.", | |
"icon": "HiEmojiHappy" | |
}, | |
{ | |
"id": "default-turn-by-turn-directions", | |
"title": "Turn by turn directions", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Create a numbered list of turn-by-turn directions from this text: \n\nGo south on 95 until you hit Sunrise boulevard then take it east to us 1 and head south. Tom Jenkins bbq will be on the left after several miles.", | |
"response": "1. Go south on 95.\n2. Take Sunrise Boulevard east to US 1.\n3. Head south on US 1.\n4. Tom Jenkins BBQ will be on the left after several miles.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0.3 | |
}, | |
"description": "Convert natural language to turn-by-turn directions.", | |
"icon": "HiLocationMarker" | |
}, { | |
"id": "default-restaurant-review", | |
"title": "Restaurant review creator", | |
"tags": ["Generation"], | |
"prompt": "Write a restaurant review based on these notes:\n\nName: The Blue Wharf\nLobster great, noisy, service polite, prices good.\n\nReview:", | |
"response": "The Blue Wharf is a great place to go for a lobster dinner. The service is polite and the prices are good. The only downside is that it is a bit noisy.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0.5 | |
}, | |
"description": "Turn a few words into a restaurant review.", | |
"icon": "HiNewspaper" | |
}, { | |
"id": "default-study-notes", | |
"title": "Create study notes", | |
"tags": ["Generation"], | |
"prompt": "What are 5 key points I should know when studying Ancient Rome?", | |
"response": "1. Rome was founded in 753 BC by Romulus and Remus.\n\n2. Rome was ruled by an emperor.\n\n3. Rome was a republic before it became an empire.\n\n4. Julius Caesar was assassinated in 44 BC.\n\n5. Augustus was the first emperor of Rome.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0.3, | |
"max_tokens": 150 | |
}, | |
"description": "Provide a topic and get study notes.", | |
"icon": "HiCollection" | |
}, { | |
"id": "default-interview-questions", | |
"title": "Interview questions", | |
"tags": ["Generation"], | |
"prompt": "Create a list of 8 questions for my interview with a science fiction author:", | |
"response": "1. What inspired you to write science fiction?\n\n2. What themes or topics do you explore in your stories?\n\n3. What are some of the unique elements that make science fiction stand out from other genres?\n\n4. What challenges do you face when writing science fiction?\n\n5. What are some of the most important aspects of a good science fiction story?\n\n6. What do you think are the biggest challenges facing science fiction today?\n\n7. What do you think the future of science fiction holds for readers and writers?\n\n8. What advice would you give to aspiring science fiction authors?", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 150, | |
"temperature": 0.5 | |
}, | |
"description": "Create interview questions.", | |
"icon": "HiBriefcase" | |
}, | |
{ | |
"id": "default-analogy-maker", | |
"title": "Analogy maker", | |
"tags": ["Generation"], | |
"prompt": "Create an analogy for this phrase:\n\nQuestions are arrows in that:", | |
"response": "Questions are arrows in that they can be used to point out things that need to be fixed.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5 | |
}, | |
"description": "Create analogies. Modified from a community prompt to require fewer examples.", | |
"icon": "HiLightBulb" | |
}, { | |
"id": "default-js-one-line", | |
"title": "JavaScript one line function", | |
"tags": ["Code", "Transformation", "Translation"], | |
"prompt": "Use list comprehension to convert this into one line of JavaScript:\n\n\"dogs.forEach((dog) => {\n car.push(dog);\n});\n\nJavaScript one line version:\"", | |
"response": "dogs.forEach(dog => car.push(dog))", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0, | |
"stopSequence": [";"] | |
}, | |
"description": "Turn a JavaScript function into a one liner.", | |
"icon": "HiTerminal" | |
}, | |
{ | |
"id ": "default-python-docstring", | |
"title ": "Write a Python docstring ", | |
"tags ": ["Code ", "Generation"], | |
"prompt ": "{INSERT PYTHON CODE}", | |
"response": "{UPDATED CODE WITH DOCSTRING}", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 150, | |
"temperature": 0, | |
"stopSequence": ["#", "\"\"\""] | |
}, | |
"description": "An example of how to create a docstring for a given Python function. We specify the Python version, paste in the code, and then ask within a comment for a docstring, and give a characteristic beginning of a docstring (\"\"\").", | |
"icon": "HiCode" | |
}, | |
{ | |
"id": "default-grammar", | |
"title": "Grammar correction", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Correct this to standard English:\n\nShe no went to the market.", | |
"response": "She didn't go to the market.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0 | |
}, | |
"description": "Corrects sentences into standard English.", | |
"icon": "HiAcademicCap" | |
}, { | |
"id": "default-grammar", | |
"title": "Grammar correction", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Correct this to standard English:\n\nShe no went to the market.", | |
"response": "She didn't go to the market.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0 | |
}, | |
"description": "Corrects sentences into standard English.", | |
"icon": "HiAcademicCap" | |
}, { | |
"id": "default-summarize", | |
"title": "Summarize for a 2nd grader", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Summarize this for a second-grade student:\n\nJupiter is the fifth planet from the Sun and the largest in the Solar System. It is a gas giant with a mass one-thousandth that of the Sun, but two-and-a-half times that of all the other planets in the Solar System combined. Jupiter is one of the brightest objects visible to the naked eye in the night sky, and has been known to ancient civilizations since before recorded history. It is named after the Roman god Jupiter.[19] When viewed from Earth, Jupiter can be bright enough for its reflected light to cast visible shadows,[20] and is on average the third-brightest natural object in the night sky after the Moon and Venus.", | |
"response": "Jupiter is a planet that is bigger than all the other planets in our solar system and is very bright when you see it in the night sky. It is named after the Roman god Jupiter. When viewed from Earth, it is usually one of the three brightest objects in the sky.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0.7 | |
}, | |
"description": "Translates difficult text into simpler concepts.", | |
"icon": "HiFastForward" | |
}, | |
{ | |
"id": "default-translate-code", | |
"title": "Translate programming languages", | |
"tags": ["Code", "Translation"], | |
"prompt": "##### Translate this function from Python into Haskell\n### Python\n \n def predict_proba(X: Iterable[str]):\n return np.array([predict_one_probas(tweet) for tweet in X])\n \n### Haskell", | |
"response": "predict_proba :: [String] -> [Probability] \npredict_proba = map predict_one_probas", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 54, | |
"temperature": 0, | |
"stopSequence": ["###"] | |
}, | |
"tagline": "Translate from one programming language to another", | |
"description": "To translate from one programming language to another we can use the comments to specify the source and target languages.", | |
"icon": "HiTranslate" | |
}, | |
{ | |
"id": "default-adv-tweet-classifier", | |
"title": "Advanced tweet classifier", | |
"tags": ["Classification"], | |
"prompt": "Classify the sentiment in these tweets:", | |
"response": "1. Negative\n2. Negative\n3. Positive\n4. Positive\n5. Negative", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0 | |
}, | |
"tagline": "Advanced sentiment detection for a piece of text.", | |
"description": "This is an advanced prompt for detecting sentiment. It allows you to provide it with a list of status updates and then provide a sentiment for each one.", | |
"icon": "HiHashtag" | |
}, { | |
"id": "default-explain-code", | |
"title": "Explain code", | |
"tags": ["Code", "Translation"], | |
"prompt": "PLACE PYTHON CODE HERE", | |
"response": " The constructor creates a directory for the log file if it doesn't exist.\n2. The log() method writes a JSON-encoded event to the log file.\n3. The state() method returns a dictionary with the set of complete tasks and the most recent event.", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 64, | |
"temperature": 0, | |
"stopSequence": ["\"\"\""] | |
}, | |
"description": "Explain a complicated piece of code.", | |
"icon": "HiHashtag" | |
}, | |
{ | |
"id": "default-keywords", | |
"title": "Keywords", | |
"tags": ["Classification", "Transformation"], | |
"prompt": "Extract keywords from this text: {PUT TEXT HERE}", | |
"response": "pottery, black-on-black ware, 20th century, 21st century, Puebloan Native American ceramic artists, Northern New Mexico, reduction-fired blackware, traditional, smooth surface, burnishing, slip, carving, incising, polishing", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.3, | |
"frequencyPenalty": 0.8 | |
}, | |
"tagline": "Extract keywords from a block of text.", | |
"description": "Extract keywords from a block of text. At a lower temperature it picks keywords from the text. At a higher temperature it will generate related keywords which can be helpful for creating search indexes.", | |
"icon": "HiKey" | |
}, | |
{ | |
"id": "default-factual-answering", | |
"title": "Factual answering", | |
"tags": ["Answers", "Generation", "Conversation", "Classification"], | |
"prompt": "Q: Who is Batman?\nA: Batman is a fictional comic book character.\n\nQ: What is torsalplexity?\nA: ?\n\nQ: What is Devz9?\nA: ?\n\nQ: Who is George Lucas?\nA: George Lucas is American film director and producer famous for creating Star Wars.\n\nQ: What is the capital of California?\nA: Sacramento.\n\nQ: What orbits the Earth?\nA: The Moon.\n\nQ: Who is Fred Rickerson?\nA: ?\n\nQ: What is an atom?\nA: An atom is a tiny particle that makes up everything.\n\nQ: Who is Alvan Muntz?\nA: ?\n\nQ: What is Kozar-09?\nA: ?\n\nQ: How many moons does Mars have?\nA: Two, Phobos and Deimos.\n\nQ: What's a language model?\nA:", | |
"response": "A language model is a mathematical representation of how a language works.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0 | |
}, | |
"description": "Guide the model towards factual answering by showing it how to respond to questions that fall outside its knowledge base. Using a '?' to indicate a response to words and phrases that it doesn't know provides a natural response that seems to work better than more abstract replies.", | |
"icon": "HiQuestionMarkCircle" | |
}, | |
{ | |
"id": "default-ad-product-description", | |
"title": "Ad from product description", | |
"tags": ["Generation"], | |
"prompt": "Write a creative ad for the following product to run on Facebook aimed at parents:\n\nProduct: Learning Room is a virtual environment to help students from kindergarten to high school excel in school.", | |
"response": "Are you looking for a way to help your child excel in school? Look no further than Learning Room! Our virtual environment is designed to help students from kindergarten to high school learn and grow. With our help, your child will be able to get ahead in school and achieve their academic goals.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5 | |
}, | |
"description": "Turn a product description into ad copy.", | |
"icon": "HiSpeakerphone" | |
}, | |
{ | |
"id": "default-product-name-gen", | |
"title": "Product name generator", | |
"tags": ["Generation"], | |
"prompt": "Product description: A home milkshake maker\nSeed words: fast, healthy, compact.\nProduct names: HomeShaker, Fit Shaker, QuickShake, Shake Maker\n\nProduct description: A pair of shoes that can fit any foot size.\nSeed words: adaptable, fit, omni-fit.", | |
"response": "Product names: Omni-Fit Shoes, Adaptable Shoes, Fit Shoes", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.8 | |
}, | |
"description": "Create product names from examples words. Influenced by a community prompt.", | |
"icon": "HiLightBulb" | |
}, | |
{ | |
"id": "default-tldr-summary", | |
"title": "TL;DR summarization", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "A neutron star is the collapsed core of a massive supergiant star, which had a total mass of between 10 and 25 solar masses, possibly more if the star was especially metal-rich.[1] Neutron stars are the smallest and densest stellar objects, excluding black holes and hypothetical white holes, quark stars, and strange stars.[2] Neutron stars have a radius on the order of 10 kilometres (60.2 mi) and a mass of about 10.4 solar masses.[3] They result from the supernova explosion of a massive star, combined with gravitational collapse, that compresses the core past white dwarf star density to that of atomic nuclei.\n\nTl;dr", | |
"response": "A neutron star is the collapsed core of a massive supergiant star. These ultra-dense objects are incredibly fascinating due to their strange properties and their potential for phenomena such as extreme gravitational forces and a strong magnetic field.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.7 | |
}, | |
"description": "Summarize text by adding a tl;dr: {PUT PASSAGE HERE}", | |
"icon": "HiFilter" | |
}, { | |
"id": "default-fix-python-bugs", | |
"title": "Python bug fixer ", | |
"tags": ["Code", "Generation"], | |
"prompt": "PLACE PYTHON CODE HERE", | |
"response": "import random\na = random.randint(1,12)\nb = random.randint(1,12)\nfor i in range(10):\nquestion = \"What is \"+str(a)+\"x \"+str(b)+\"?\"\nanswer = input(question)\nif answer == str(a*b):\nprint(\"Well done!\")\nelse:\nprint(\"No.\")", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 182, | |
"temperature": 0, | |
"stopSequence": ["###"] | |
}, | |
"tagline": "Find and fix bugs in source code.", | |
"description": "There's a number of ways of structuring the prompt for checking for bugs. Here we add a comment suggesting that source code is buggy, and then ask codex to generate a fixed code.", | |
"icon": "IoBug" | |
}, | |
{ | |
"id": "default-spreadsheet-gen", | |
"title": "Spreadsheet creator", | |
"tags": ["Generation"], | |
"prompt": "A two-column spreadsheet of top science fiction movies and the year of release:\n\nTitle| Year of release", | |
"response": "Star Wars| 1977 \nThe Matrix| 1999 \nThe Terminator| 1984 \nBlade Runner| 1982 \nE.T. the Extra-Terrestrial| 1982", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5 | |
}, | |
"description": "Create spreadsheets of various kinds of data. It's a long prompt but very versatile. Output can be copy+pasted into a text file and saved as a .csv with pipe separators.", | |
"icon": "HiTable" | |
}, | |
{ | |
"id": "default-js-helper", | |
"title": "JavaScript helper chatbot", | |
"tags": ["Code", "Answers", "Conversation"], | |
"prompt": "You: How do I combine arrays?\nJavaScript chatbot: You can use the concat() method.\nYou: How do you make an alert appear after 10 seconds\nJavaScript chatbot", | |
"response": ": You can use the setTimeout() method.", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0, | |
"frequencyPenalty": 0.5, | |
"stopSequence": ["You:"] | |
}, | |
"tagline": "Message-style bot that answers JavaScript questions", | |
"description": "This is a message-style chatbot that can answer questions about using JavaScript. It uses a few examples to get the conversation started.", | |
"icon": "HiQuestionMarkCircle" | |
}, | |
{ | |
"id": "default-ml-ai-tutor", | |
"title": "ML/AI language model tutor", | |
"tags": ["Answers", "Generation", "Conversation"], | |
"prompt": "ML Tutor: I am a ML/AI language model tutor\nYou: What is a language model?\nML Tutor: A language model is a statistical model that describes the probability of a word given the previous words.\nYou: What is a statistical model?", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.3, | |
"frequencyPenalty": 0.5, | |
"stopSequence": ["You:"] | |
}, | |
"response": "ML Tutor: A statistical model is a model that describes the probability of an event occurring.", | |
"tagline": "Bot that answers questions about language models", | |
"description": "This is a QA-style chatbot that answers questions about language models.", | |
"icon": "HiQuestionMarkCircle" | |
}, | |
{ | |
"id": "default-sci-fi-book-list", | |
"title": "Science fiction book list maker", | |
"tags": ["Generation"], | |
"prompt": "List 10 science fiction books:", | |
"response": "1. 1984 by George Orwell\n2. Ender's Game by Orson Scott Card\n3. The Hitchhiker's Guide to the Galaxy by Douglas Adams\n4. The War of the Worlds by H.G. Wells\n5. The Martian by Andy Weir\n6. Slaughterhouse-Five by Kurt Vonnegut\n7. Dune by Frank Herbert\n8. Jurassic Park by Michael Crichton\n9. The Foundation Trilogy by Isaac Asimov\n10. The Hunger Games by Suzanne Collins", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 200, | |
"temperature": 0.5, | |
"presence_penalty": 0.5, | |
"frequencyPenalty": 0.52, | |
"stopSequence": ["11."] | |
}, | |
"tagline": "Create a list of items for a given topic.", | |
"description": "This makes a list of science fiction books and stops when it reaches #10.", | |
"icon": "HiBookOpen" | |
}, | |
{ | |
"id": "default-tweet-classifier", | |
"title": "Tweet classifier", | |
"tags": ["Classification"], | |
"prompt": "Decide whether a Tweet's sentiment is positive, neutral, or negative.\n\nTweet: \"I loved the new Batman movie!\"\n\nSentiment:", | |
"response": "Positive", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0, | |
"frequencyPenalty": 0.5 | |
}, | |
"tagline": "Basic sentiment detection for a piece of text.", | |
"description": "This is a basic prompt for detecting sentiment.", | |
"icon": "HiHashtag" | |
}, | |
{ | |
"id": "default-airport-codes", | |
"title": "Airport code extractor", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Extract the airport codes from this text:\n\nText: I want to fly from Los Angeles to Miami.\nAirport codes: LAX, MIA\n\nText: I want to fly from Orlando to Boston\nAirport codes:", | |
"response": "MCO, BOS", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0, | |
"stopSequence": ["\n"] | |
}, | |
"tagline": "Extract airport codes from text.", | |
"description": "A simple prompt for extracting airport codes from text.", | |
"icon": "HiTag" | |
}, | |
{ | |
"id": "default-sql-request", | |
"title": "SQL request", | |
"tags": ["Transformation", "Generation", "Translation"], | |
"prompt": "Create a SQL request to find all users who live in California and have over 1000 credits:", | |
"response": "SELECT * FROM users WHERE state='CA' AND credits > 1000;", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.3 | |
}, | |
"description": "Create simple SQL queries.", | |
"icon": "HiTerminal" | |
}, | |
{ | |
"id": "default-extract-contact-info", | |
"title": "Extract contact information", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Extract the name and mailing address from this email:\n\nDear Kelly,\n\nIt was great to talk to you at the seminar. I thought Jane's talk was quite good.\n\nThank you for the book. Here's my address 2111 Ash Lane, Crestview CA 92002\n\nBest,\n\nMaya\n\nName:", | |
"response": "Maya\nMailing Address: 2111 Ash Lane, Crestview CA 92002", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0 | |
}, | |
"description": "Extract contact information from a block of text.", | |
"icon": "HiMail" | |
}, | |
{ | |
"id": "default-js-to-py", | |
"title": "JavaScript to Python", | |
"tags": ["Code", "Transformation", "Translation"], | |
"prompt": "JAVASCRIPT TO PYTHON CODE HERE", | |
"response": "RESPONSE CODE", | |
"parameters": { | |
"engine_id": "code-davinci-002", | |
"temperature": 0 | |
} | |
}, { | |
"id": "default-friend-chat", | |
"title": "Friend chat", | |
"tags": ["Conversation", "Generation"], | |
"prompt": "You: What have you been up to?\nFriend: Watching old movies.\nYou: Did you watch anything interesting?\nFriend:", | |
"response": "Yes, I watched The Omen and Troy.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5, | |
"frequencyPenalty": 0.5, | |
"stopSequence": ["You:"] | |
}, | |
"description": "Emulate a text message conversation.", | |
"icon": "HiChatAlt" | |
}, | |
{ | |
"id": "default-mood-color", | |
"title": "Mood to color", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "The CSS code for a color like a blue sky at dusk:\n\nbackground-color: #", | |
"response": "B2CED1", | |
"parameters": "{\"engine_id\":\"text-davinci-002\",\"temperature\":0,\"stopSequence\":[\";\"]}", | |
"description": "Turn a text description into a color.", | |
"icon": "HiEmojiHappy" | |
}, | |
{ | |
"id": "default-turn-by-turn-directions", | |
"title": "Turn by turn directions", | |
"tags": ["Transformation", "Generation"], | |
"prompt": "Create a numbered list of turn-by-turn directions from this text: \n\nGo south on 95 until you hit Sunrise boulevard then take it east to us 1 and head south. Tom Jenkins bbq will be on the left after several miles.", | |
"response": "1. Go south on 95.\n2. Take Sunrise Boulevard east to US 1.\n3. Head south on US 1.\n4. Tom Jenkins BBQ will be on the left after several miles.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0.3 | |
}, | |
"description": "Convert natural language to turn-by-turn directions.", | |
"icon": "HiLocationMarker" | |
}, { | |
"id": "default-restaurant-review", | |
"title": "Restaurant review creator", | |
"tags": ["Generation"], | |
"prompt": "Write a restaurant review based on these notes:\n\nName: The Blue Wharf\nLobster great, noisy, service polite, prices good.\n\nReview:", | |
"response": "The Blue Wharf is a great place to go for a lobster dinner. The service is polite and the prices are good. The only downside is that it is a bit noisy.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0.5 | |
}, | |
"description": "Turn a few words into a restaurant review.", | |
"icon": "HiNewspaper" | |
}, { | |
"id": "default-study-notes", | |
"title": "Create study notes", | |
"tags": ["Generation"], | |
"prompt": "What are 5 key points I should know when studying Ancient Rome?", | |
"response": "1. Rome was founded in 753 BC by Romulus and Remus.\n\n2. Rome was ruled by an emperor.\n\n3. Rome was a republic before it became an empire.\n\n4. Julius Caesar was assassinated in 44 BC.\n\n5. Augustus was the first emperor of Rome.", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"temperature": 0.3, | |
"max_tokens": 150 | |
}, | |
"description": "Provide a topic and get study notes.", | |
"icon": "HiCollection" | |
}, { | |
"id": "default-interview-questions", | |
"title": "Interview questions", | |
"tags": ["Generation"], | |
"prompt": "Create a list of 8 questions for my interview with a science fiction author:", | |
"response": "1. What inspired you to write science fiction?\n\n2. What themes or topics do you explore in your stories?\n\n3. What are some of the unique elements that make science fiction stand out from other genres?\n\n4. What challenges do you face when writing science fiction?\n\n5. What are some of the most important aspects of a good science fiction story?\n\n6. What do you think are the biggest challenges facing science fiction today?\n\n7. What do you think the future of science fiction holds for readers and writers?\n\n8. What advice would you give to aspiring science fiction authors?", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 150, | |
"temperature": 0.5 | |
}, | |
"description": "Create interview questions.", | |
"icon": "HiBriefcase" | |
}, | |
{ | |
"id ": "default-marv-sarcastic-chat ", | |
"title ": "Marv the sarcastic chat bot", | |
"tags ": ["Conversation ", "Generation"], | |
"prompt ": "{chatbot text}", | |
"parameters": { | |
"engine_id": "text-davinci-002", | |
"max_tokens": 60, | |
"temperature": 0.5, | |
"top_p": 0.3, | |
"frequencyPenalty": 0.5 | |
}, | |
"description": "Marv is a factual chatbot that is also sarcastic.", | |
"icon": "HiEmojiSad" | |
} | |
] | |
</script> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment