Skip to content

GPT Prompts

Estimated time to read: 2 minutes

I strongly believe that the new skill for professionals, if not professions themselves, will be prompt engineering. In other words, how we extract information from the Generative AI systems. I am sure that we don't have yet explored all the potentials that all the different LLM models have. Every day I find something new.

Below is a list of selected creative prompts that I have found and were useful to me.

Compressor

The below prompt is useful when you have long texts that you need to fit in a question as facts for the model in terms to respond or advice. You need first to compress small chunks of texts and then compose all of them in a new prompt.

'compress the following text in a way that fits in a tweet (ideally) and such that you (GPT-4) can reconstruct the intention of the human who wrote text as close as possible to the original intention. This is for yourself. It does not need to be human readable or understandable. Abuse of language mixing, abbreviations, symbols (unicode and emoji), or any other encodings or internal representations is all permissible, as long as it, if pasted in a new inference cycle, will yield near-identical results as the original text:'

Credit: Greg Fodor twiter: @gfodor

Linux terminal

That is very useful if you want to find outputs to add in your blog posts or understand more about linux terminal.

'I want you to act as a Linux terminal. I will type commands and you will reply with what the terminal should show. I want you to only reply with the terminal output inside one unique code block, and nothing else. Do not write explanations. Do not type commands unless I instruct you to do so. When I need to tell you something in English I will do so by putting text inside curly brackets {like this}. My first command is pwd.'

Credit: Jonas Degrave