🎓 A1Learner
🔍
0 of 50 lessons completed

Prompt Engineering: Translate and Rephrase

Translation moves a message into another language. Rephrasing moves it into another register. Both keep the meaning and change the words.

Formal register

The same reply, written formally.

Rephrase this reply in a formal register. Keep every fact the same.
Reply: Order 1042 has shipped and is out for delivery. The tracking link is in the shipping confirmation email.

Friendly register

The same reply, written in a friendly way.

Rephrase this reply in a friendly register. Keep every fact the same.
Reply: Order 1042 has shipped and is out for delivery. The tracking link is in the shipping confirmation email.

Plain register

The same reply, written plainly.

Rephrase this reply in a plain register. Keep every fact the same.
Reply: Order 1042 has shipped and is out for delivery. The tracking link is in the shipping confirmation email.

Example

Translate this reply into French. Keep every fact the same.
Reply: Order 1042 has shipped and is out for delivery. The tracking link is in the shipping confirmation email.

Key points

  • Translation moves a message into another language. The meaning stays the same.
  • Rephrasing moves a message into another register. Formal, friendly and plain are three registers.
  • The prompt names the register. Without it, the model picks one at random.
  • The check is the meaning. The facts in the reply must match the facts in the first version.
  • One source reply, three registers, shows the range. The facts do not move.

This example translates the same reply into French. The facts are checked against the English version. Shipped. Out for delivery. Tracking link in the email.

Note

A friendly reply that changes the delivery time is not friendly. It is wrong.

Try it Yourself

Edit the code, then press Run.

Running is simulated · Rust Playground

Exercise

What must stay the same when a reply is rephrased into another register?