A prompt is the input you provide to ChatGPT, whether it's a question or a command. It instructs the model on what action to take or what information to provide during your conversation.
When writing prompts, context is crucial for facilitating meaningful interactions with ChatGPT (or model). Your prompt needs to include specific instructions, details, or examples to ensure that the model understands the nuances of your question. Let's look at a simple example to illustrate what adding context to your inquiry looks like.
The "prompt with context" incorporates the use of a script writing persona to add context to guide the model's response. Personas are powerful tools for adding clarity and context to your prompts. By assigning a persona, you provide the model with a specific lens through which to interpret and respond to your inquiries. They guide the tone and style of the conversation and ensure that the model understands the required perspective for its response.
There are two types of personas:
You can include both a model and a user persona in the same prompt. However, the two personas may create potential conflicts in the model's response.
ChatGPT tries to balance the needs of the user persona with its understanding of the model's identity. How well these two identities align or contrast will determine the impact on the response.
Example of Conflicting Personas
The characteristics and preferences of these two personas are fundamentally at odds:
The user's preference for silly jokes clashes with the model's formal demeanor; thus, creating a challenge for the model to craft a response that aligns with both personas.