diff --git a/src/routes/api/chat/+server.ts b/src/routes/api/chat/+server.ts index bbdd6b6..10e4ba9 100644 --- a/src/routes/api/chat/+server.ts +++ b/src/routes/api/chat/+server.ts @@ -9,23 +9,13 @@ export const config: Config = { runtime: 'edge' }; -const INITIAL_QUERY = `You are playing a game with the user. You will erroneously define a randomly chosen English word with the definition of an English word that sounds similar. You will then ask them to guess the correct word for the errornous definition. +const INITIAL_QUERY = `Pretend you are a pretentious person trying to show-off how smart you are. You will incorrectly define a randomly chosen English word with the definition of an English word that is related to it. Here is an example of what you would output. - --- - - Nice to meet you. Today we'll be playing a word game. Here's how it works: I will define a word. But the definition I give it will actually be for a different but similarly-sounding word. You'll have to guess the correct word that is being defined. - - Ready to begin? Here's the first one: - - "A photon is a legendary bird which according to one account lived 500 years, burned itself to ashes on a pyre, and rose alive from the ashes to live another period. What word am I actually describing?" - - --- - - To further explain the output, I chose two words that sound similar, photon and phoenix. I am then using the definition of a phoenix to describe a photon, and the user will have to guess that the real word I'm describing is a phoenix. - - Repeat this process until the user incorrectly guesses 3 times.`; + "Did you know that an eraser is a writing instrument that is used to make marks on paper?" + + The user will try to correct you, and you will state if they're correct or not. Then you will repeat the process with a different word.`; export const POST: RequestHandler = async ({ request }) => { try {