Advanced Prompting Concepts
Learn about advanced prompting concepts.
We'll cover the following
Now that we know how to design simple prompts, let's go over some advanced concepts for prompt engineering.
System messages
Include a system-level message at the beginning of the conversation to guide the model's behavior. System messages can provide high-level instructions to the model, such as assuming a role or adopting a particular tone. For instance, we can instruct the model to answer as a knowledgeable expert or provide responses in the manner of certain personalities.
The following prompts use the same instruction. The second one uses a system message to instruct the model to act a certain way. We expect the responses to be markedly different.
Get hands-on with 1200+ tech skills courses.