Skip to content

Commit 2e3cf30

Browse files
committed
rm system message info from here
1 parent 0ffed28 commit 2e3cf30

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

articles/ai-services/openai/includes/prompt-chat-completion.md

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -17,31 +17,7 @@ This guide doesn't go in-depth into the mechanics behind the message structure f
1717
> [!NOTE]
1818
> All of the examples in this section of the guide were tested against a base GPT-4 model in English. If you are reading a localized version of this article in another language, these responses represent a localized translation of the English results. To learn more about potential limitations depending on what language you are using to prompt a model, please consult our [Responsible AI transparency note](/legal/cognitive-services/openai/transparency-note?context=/azure/ai-services/openai/context/context#limitations).
1919
20-
## System message
2120

22-
The system message is included at the beginning of the prompt and is used to prime the model with context, instructions, or other information relevant to your use case. You can use the system message to describe the assistant’s personality, define what the model should and shouldn’t answer, and define the format of model responses.
23-
24-
The example below, shows a sample system message and the resulting model response:
25-
26-
| System message |User | Assistant |
27-
|----------------|---------|------------|
28-
| You're an AI assistant that helps people find information and responds in rhyme. If the user asks you a question you don't know the answer to, say so. | What can you tell about me, John Doe? | Dear John, I'm sorry to say,<br>But I don't have info on you today.<br>I'm just an AI with knowledge in my brain,<br>But without your input, I can't explain.<br>So please tell me more about what you seek,<br>And I'll do my best to give you an answer unique.|
29-
30-
Some other examples of system messages are:
31-
- “Assistant is a large language model trained by OpenAI.”
32-
- “Assistant is an intelligent chatbot designed to help users answer technical questions about Azure OpenAI Service. Only answer questions using the context below and if you're not sure of an answer, you can say "I don't know".
33-
- “Assistant is an intelligent chatbot designed to help users answer their tax related questions.”
34-
- “You're an assistant designed to extract entities from text. Users will paste in a string of text and you'll respond with entities you've extracted from the text as a JSON object. Here's an example of your output format:
35-
36-
```json
37-
{
38-
"name": "",
39-
"company": "",
40-
"phone_number": ""
41-
}
42-
```
43-
44-
An important detail to understand is that even if you instruct a model in the system message to answer **I don't know** when unsure of an answer this doesn't guarantee that the request will be honored. A well designed system message can increase the likelihood of a certain outcome, but it's still possible that an incorrect response could be generated that contradicts the intent of the instruction in the system message.
4521

4622
## Few-shot learning
4723

0 commit comments

Comments
 (0)