You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/cognitive-services/openai/concepts/system-message.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -28,13 +28,13 @@ The LLM system message framework described here covers four concepts:
28
28
29
29
## Define the model’s profile, capabilities, and limitations for your scenario
30
30
31
-
1.**Define the specific task(s)** you would like the model to complete. Describe who the users of the model will be, what inputs they will provide to the model, and what you expect the model to do with the inputs.
31
+
-**Define the specific task(s)** you would like the model to complete. Describe who the users of the model will be, what inputs they will provide to the model, and what you expect the model to do with the inputs.
32
32
33
-
2.**Define how the model should complete the tasks**, including any additional tools (like APIs, code, plug-ins) the model can use. If it doesn’t use additional tools, it can rely on its own parametric knowledge.
33
+
-**Define how the model should complete the tasks**, including any additional tools (like APIs, code, plug-ins) the model can use. If it doesn’t use additional tools, it can rely on its own parametric knowledge.
34
34
35
-
3.**Define the scope and limitations** of the model’s performance. Provide clear instructions on how the model should respond when faced with any limitations. For example, define how the model should respond if prompted on subjects or for uses that are off topic or otherwise outside of what you want the system to do.
35
+
-**Define the scope and limitations** of the model’s performance. Provide clear instructions on how the model should respond when faced with any limitations. For example, define how the model should respond if prompted on subjects or for uses that are off topic or otherwise outside of what you want the system to do.
36
36
37
-
4.**Define the posture and tone** the model should exhibit in its responses.
37
+
-**Define the posture and tone** the model should exhibit in its responses.
38
38
39
39
Here are some examples of lines you can include:
40
40
@@ -52,9 +52,9 @@ Here are some examples of lines you can include:
52
52
53
53
When using the system message to define the model’s desired output format in your scenario, consider and include the following types of information:
54
54
55
-
1.**Define the language and syntax** of the output format. If you want the output to be machine parse-able, you may want the output to be in formats like JSON, XSON or XML.
55
+
-**Define the language and syntax** of the output format. If you want the output to be machine parse-able, you may want the output to be in formats like JSON, XSON or XML.
56
56
57
-
2.**Define any styling or formatting** preferences for better user or machine readability. For example, you may want relevant parts of the response to be bolded or citations to be in a specific format.
57
+
-**Define any styling or formatting** preferences for better user or machine readability. For example, you may want relevant parts of the response to be bolded or citations to be in a specific format.
58
58
59
59
Here are some examples of lines you can include:
60
60
@@ -69,8 +69,8 @@ Here are some examples of lines you can include:
69
69
70
70
When using the system message to demonstrate the intended behavior of the model in your scenario, it is helpful to provide specific examples. When providing examples, consider the following:
71
71
72
-
1. Describe difficult use cases where the prompt is ambiguous or complicated, to give the model additional visibility into how to approach such cases.
73
-
2. Show the potential “inner monologue” and chain-of-thought reasoning to better inform the model on the steps it should take to achieve the desired outcomes.
72
+
- Describe difficult use cases where the prompt is ambiguous or complicated, to give the model additional visibility into how to approach such cases.
73
+
- Show the potential “inner monologue” and chain-of-thought reasoning to better inform the model on the steps it should take to achieve the desired outcomes.
0 commit comments