From 5fb6082ccedf17f824f0a11bf1bddef488587aae Mon Sep 17 00:00:00 2001 From: juliandaz11 <55860818+juliandaz11@users.noreply.github.com> Date: Thu, 14 Dec 2023 23:15:44 +0000 Subject: [PATCH] Update change-tone.ts returns in the language of the text --- apps/client/src/services/openai/change-tone.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/client/src/services/openai/change-tone.ts b/apps/client/src/services/openai/change-tone.ts index f19641ea..a6182197 100644 --- a/apps/client/src/services/openai/change-tone.ts +++ b/apps/client/src/services/openai/change-tone.ts @@ -6,7 +6,7 @@ import { openai } from "./client"; const PROMPT = `You are an AI writing assistant specialized in writing copy for resumes. Do not return anything else except the text you improved. It should not begin with a newline. It should not have any prefix or suffix text. -Change the tone of the following paragraph to be {mood}: +Change the tone of the following paragraph to be {mood} and returns in the language of the text: Text: """{input}"""