Transformation using Prompt Engineering.

(A topic of Prompt Engineering course from DeepLearning.ai)

Transforming is taking input as text, converting it into some different format and then giving output as text in a new format. Transforming includes the following:

1) Translation: It involves converting input text into a different language.

2) Fixing grammatical errors in a text.

3) Converting plain text to HTML or JSON format.

There can be various kinds of other transformations. Large Language Models(LLMs) are good at transforming as they have been trained on large data like the internet and these are models that know 100s of languages to varying degrees of proficiency.

1) Let's translate a piece of text into some other language.(English -> Hindi)

2) Know the language of the text.

3) Translating text into multiple languages.

4) Translating a text into different forms.

5) Asking for languages of different texts and making a universal translator.

6) Transforming the tone of a text.

7) Transforming JSON format into HTML format.

Using HTML display

8) Fixing Grammatical errors in a text. Here we have taken a movie review.

Checking differences:

9) Make the movie review more compelling such that it targets an advanced reader.

10) Finding grammatical mistakes from a list of text and correcting them.

Thus we have used Prompt Engineering for Transforming.