# GPT Best practices

<https://platform.openai.com/docs/guides/gpt-best-practices/strategy-test-changes-systematically>

1. Set the persona \
   System message can be used to specify the persona used by the model in it's replies

Example

```
// 
When I ask for help to write something, you will reply with a document that contains at least one joke or playful comment in every paragraph.
```

2. Write the prompt<br>

Instructions:\
\- \
\- \
\
Output length:\
\- Brief \
\- Expert-level writing\
\
Reference text:\
\
3\. Tactic: Use delimiters to clearly indicate distinct parts of the output

\
You will be provided with a pair of articles (delimited with XML tags) about the same topic. First summarize the arguments of each article. Then indicate which of them makes a better argument and explain why.\
\<Article> text \</Article>

4. Specify the steps required to complete a task\
   ie Step 1 -&#x20;

Use the following step-by-step instructions to respond to user inputs.

Step 1 - The user will provide you with text in triple quotes. Summarize this text in one sentence with a prefix that says "Summary: ".

Step 2 - Translate the summary from Step 1 into Spanish, with a prefix that says "Translation: ".&#x20;

USER """insert text here"""
