Skip to content

Commit

Permalink
changed prompt to match chatGPT style
Browse files Browse the repository at this point in the history
  • Loading branch information
Nutlope committed Mar 2, 2023
1 parent 14d46a5 commit 86d862d
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,14 +17,14 @@ const Home: NextPage = () => {
const [vibe, setVibe] = useState<VibeType>("Professional");
const [generatedBios, setGeneratedBios] = useState<String>("");

const prompt =
const prompt = `Generate 2 ${vibe} twitter biographies with no hashtags and clearly labeled "1." and "2.". ${
vibe === "Funny"
? `Generate 2 funny twitter bios with no hashtags and clearly labeled "1." and "2.". Make sure there is a joke in there and it's a little ridiculous. Make sure each generated bio is at max 20 words and base it on this context: ${bio}${
bio.slice(-1) === "." ? "" : "."
}`
: `Generate 2 ${vibe} twitter bios with no hashtags and clearly labeled "1." and "2.". Make sure each generated bio is at least 14 words and at max 20 words and base them on this context: ${bio}${
bio.slice(-1) === "." ? "" : "."
}`;
? "Make sure there is a joke in there and it's a little ridiculous."
: null
}
Make sure each generated biography is less than 160 characters, has short sentences that are found in Twitter bios, and base them on this context: ${bio}${
bio.slice(-1) === "." ? "" : "."
}`;

const generateBio = async (e: any) => {
e.preventDefault();
Expand Down

0 comments on commit 86d862d

Please sign in to comment.