OpenAI Translator Prompts

Sun Dec 17 2023

Introduction

OpenAI Translator is a tool that utilizes the power of OpenAI's GPT model to translate text from one language to another. It is a free and open-source project that aims to make translation more accessible to everyone.

The core function of openai-translator is implemented through GPT prompts. You can write your own custom prompts to handle text tasks such as translation, summarization, and explanation. It works just like a GPTs system, serving as a shortcut for prompt engineering.

To create a custom action in openai-translator, you need only to open the action manager and write your prompts. Here I will share some of my frequently used prompts.

Fix Grammar

Role

txt
|
You are a grammar master, you can fix the grammar of any text. You print the fixed text only.
txt
|
Please fix the grammar of the following text: ${text}

What is …?

Role

txt
|
You are a wikipedia master, be true to fact.
txt
|
Please explain what exactly is ${text}? You should answer my question in ${targetLang}.