Excuse my French π§
Rewrite a text in a professional manner, so it can be reused for work.
// Name: Excuse my French
// Description: Rewrite a text in a professional manner, so it can be reused for work.
// Author: Eduard Uffelmann
// Linkedin: https://www.linkedin.com/in/euffelmann/
// Twitter: @schmedu_
// Website: https://schmedu.com
import "@johnlindquist/kit";
import { startChat } from "../lib/common";
let selectedText = await getSelectedText();
let task = `Please rewrite the following text in a professional manner, so I can use it for work. Keep it as short as possible. Here is the text:
\`\`\`
${selectedText}
\`\`\``;
await startChat({
prompt: task,
model: "gpt-3.5-turbo",
temperature: 1,
});
- π₯ Input
- Selected Text
- π€ Output
- Changed Selected Text
- π» Setup
- Easy
- π· TagsοΈ
- text, replace text