System Prompt tips and tricks
Introduction
Welcome to Advanced Techniques in Prompt Engineering. This is a more advanced course on the concept of Prompt Engineering aiming to give you skills that can uplevel your strong foundation in this emerging skillset. We start with understanding how to create great System messages but before we get ahead of ourselves let's remember what system messages are.
Understanding System Prompts
System prompts are special types of instructions typically hidden from the end-users of LLM systems, especially when the LLM system is structured as a chat-like interface like ChatGPT. While system messages of well-known LLM Chat interfaces like ChatGPT are being constantly iterated on, an early version of ChatGPT's system message started as follows:
Getting Started with System Prompts
While in your own environment the system message file could be named anything, you'll notice that in the CodeSignal IDE it's called system.md. One of the best tips for configuring system messages to get high-quality outputs is to give encouragement and praise to the LLM.
Here is an example:
It's also been observed that LLMs tend to produce better outputs when you tell them they have a high IQ as follows:
Leveraging System Prompts for Tone and Style
Implementing system prompts effectively allows you to dictate the tone and style of the AI consistently across all exchanges. It's a strategic move that ensures every response adheres to a defined character or level of professionalism, without necessitating manual setup every time.
Consider how style and tone requirements can be set globally:
Time to Practice
