Spaces:
Running
on
Inf2
Running
on
Inf2
File size: 4,598 Bytes
7bf1507 d2390f1 7bf1507 d2390f1 7bf1507 d2390f1 7bf1507 |
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 |
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: "Pong game",
prompt: "Create a minimalist pong game using HTML and tailwindcss",
followUps: [
{
title: "README.md file",
prompt: "Create a comprehensive README.md for the Pong game project.",
},
{
title: "Add power-ups",
prompt:
"Add a power-up mechanic to the Pong game so paddles temporarily grow when a player scores twice in a row.",
},
{
title: "CRT Screen",
prompt: "Add a CRT screen effect to the game",
},
],
},
{
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 using Tailwind CSS with a hero, features, testimonials, and pricing sections.",
followUps: [
{
title: "Dark mode",
prompt:
"Extend the Tailwind CSS landing page with a toggleable dark mode that remembers the user's choice.",
},
{
title: "Add blog teasers",
prompt:
"Add a latest blog posts section to the Tailwind CSS landing page with three article cards and call-to-action buttons.",
},
{
title: "Translate to Italian",
prompt: "Translate the visible content of the page into italian",
},
],
},
{
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: "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: "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 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: "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.",
},
],
},
];
|