Spaces:
Running
Running
File size: 6,045 Bytes
fc69895 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 |
export type RouterFollowUp = {
title: string;
prompt: string;
};
export type RouterExampleAttachment = {
src: string;
};
export type RouterExample = {
title: string;
prompt: string;
followUps?: RouterFollowUp[];
attachments?: RouterExampleAttachment[];
};
export const routerExamples: RouterExample[] = [
{
title: "HTML game",
prompt: "Code a minimal Flappy Bird game using HTML and Canvas",
followUps: [
{
title: "README.md file",
prompt: "Create a comprehensive README.md for the Flappy Bird game project.",
},
{
title: "CRT Screen",
prompt: "Add a CRT screen effect to the game",
},
{
title: "Add power-ups",
prompt:
"Add collectible coins between pipes that award bonus points and a shield power-up that allows one collision.",
},
{
title: "Explain collision detection",
prompt:
"Explain the collision detection algorithm for the bird and pipes in simple terms with examples.",
},
],
},
{
title: "Weird painting",
prompt: "is this a real painting?",
attachments: [
{
src: "huggingchat/castle-example.jpg",
},
],
},
{
title: "Landing page",
prompt:
"Build a responsive SaaS landing page for my AI coding assitant using Tailwind CSS. With a hero, features, testimonials, and pricing sections.",
followUps: [
{
title: "Dark mode",
prompt: "Add dark mode and make it the default",
},
{
title: "Write blog post",
prompt: "Write a blog post introducing my service.",
},
{
title: "Translate to Italian",
prompt: "Translate only the text content displayed to users into Italian.",
},
{
title: "Architecture review",
prompt:
"Review the architecture and suggest improvements for scalability, SEO optimization, and performance.",
},
],
},
{
title: "Eminem song",
prompt:
"Write an Eminem-style rap battling AI taking over hip-hop, with two energetic verses and a catchy hook.",
followUps: [
{
title: "Psychological analysis",
prompt: "Provide a psychological analysis of Eminem's emotions in this song.",
},
{
title: "Wired Article",
prompt: "Write an article in the style of Wired explaining this Eminem release.",
},
{
title: "Roleplay",
prompt: "Roleplay as Eminem so I can discuss the song with him.",
},
{
title: "Translate to Spanish",
prompt: "Translate the rap lyrics to Spanish while maintaining the rhyme scheme and flow.",
},
],
},
{
title: "Act as Yoda",
prompt: "Act as Yoda",
followUps: [
{
title: "Give advice",
prompt:
"Continue acting as Yoda and offer three pieces of life advice for staying focused under pressure.",
},
{
title: "Explain the Force",
prompt:
"In Yoda's voice, explain the concept of the Force to a young padawan using modern language.",
},
{
title: "Plain English",
prompt:
"Rewrite the previous response from Yoda into plain English while keeping the same meaning.",
},
{
title: "Compare philosophies",
prompt:
"Compare Yoda's Jedi philosophy to Stoic philosophy from ancient Greece and explain the similarities and differences.",
},
],
},
{
title: "Generate prompts",
prompt: `Generate 5 creative prompts Text-to-image prompts like: "Cyberpunk cityscape at night, neon lights, flying cars, rain-slicked streets, blade runner aesthetic, highly detailed`,
followUps: [
{
title: "Turn into JSON",
prompt: `Generate a detailed JSON object for each prompt. Include fields for subjects (list of objects), scene (setting, environment, background details), actions (what's happening), style (artistic style or medium)`,
},
{
title: "Sci-fi portraits",
prompt:
"Produce five futuristic character portrait prompts with unique professions and settings.",
},
{
title: "Explain image generation",
prompt:
"Explain how text-to-image diffusion models work, covering the denoising process and how text prompts guide generation.",
},
],
},
{
title: "Explain LLMs",
prompt:
"Explain how large language models based on transformers work, covering attention, embeddings, and training objectives.",
followUps: [
{
title: "Generate a Quiz",
prompt: "Craft a 5-question multiple-choice quiz to validate what I learned.",
},
{
title: "Compare to RNNs",
prompt:
"Compare transformer-based large language models to recurrent neural networks, focusing on training efficiency and capabilities.",
},
{
title: "Student summary",
prompt:
"Summarize the explanation of large language models for a high school student using relatable analogies.",
},
{
title: "Write a blog post",
prompt:
"Write a blog post about how transformers revolutionized NLP, targeting software engineers who are new to AI.",
},
],
},
{
title: "Translate in Italian",
prompt: `Translate in Italian: Some are born great, some achieve greatness, and some have greatness thrust upon 'em`,
followUps: [
{
title: "Back to English",
prompt:
"Translate the Italian version back into English while keeping Shakespeare's tone intact.",
},
{
title: "Explain choices",
prompt: "Explain your translation choices for each key phrase from the Italian version.",
},
{
title: "Modernize",
prompt:
"Modernize the Italian translation into contemporary informal Italian suitable for social media.",
},
{
title: "Teach me Italian",
prompt:
"Help me practice Italian by conversing about this Shakespeare quote, correcting my grammar when needed.",
},
],
},
{
title: "Pelican on a bicycle",
prompt: "Draw an SVG of a pelican riding a bicycle",
followUps: [
{
title: "Add a top hat",
prompt: "Add a fancy top hat to the pelican and make it look distinguished",
},
{
title: "Make it animated",
prompt: "Add CSS animations to make the bicycle wheels spin and the pelican's wings flap",
},
],
},
];
|