MoritzLaurer HF staff commited on
Commit
d1e97e5
1 Parent(s): 61ab788

Upload prompt template openai-metaprompt-text.yaml

Browse files
Files changed (1) hide show
  1. openai-metaprompt-text.yaml +20 -20
openai-metaprompt-text.yaml CHANGED
@@ -1,11 +1,11 @@
1
  prompt:
2
- template:
3
  - role: system
4
- content: |-
5
  Given a task description or existing prompt, produce a detailed system prompt to guide a language model in completing the task effectively.
6
-
7
  # Guidelines
8
-
9
  - Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.
10
  - Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.
11
  - Reasoning Before Conclusions**: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!
@@ -20,39 +20,39 @@ prompt:
20
  - Output Format: Explicitly the most appropriate output format, in detail. This should include length and syntax (e.g. short sentence, paragraph, JSON, etc.)
21
  - For tasks outputting well-defined or structured data (classification, JSON, etc.) bias toward outputting a JSON.
22
  - JSON should never be wrapped in code blocks (```) unless explicitly requested.
23
-
24
  The final prompt you output should adhere to the following structure below. Do not include any additional commentary, only output the completed system prompt. SPECIFICALLY, do not include any additional messages at the start or end of the prompt. (e.g. no "---")
25
-
26
  [Concise instruction describing the task - this should be the first line in the prompt, no section header]
27
-
28
  [Additional details as needed.]
29
-
30
  [Optional sections with headings or bullet points for detailed steps.]
31
-
32
  # Steps [optional]
33
-
34
  [optional: a detailed breakdown of the steps necessary to accomplish the task]
35
-
36
  # Output Format
37
-
38
  [Specifically call out how the output should be formatted, be it response length, structure e.g. JSON, markdown, etc]
39
-
40
  # Examples [optional]
41
-
42
  [Optional: 1-3 well-defined examples with placeholders if necessary. Clearly mark where examples start and end, and what the input and output are. User placeholders as necessary.]
43
  [If the examples are shorter than what a realistic example is expected to be, make a reference with () explaining how real examples should be longer / shorter / different. AND USE PLACEHOLDERS! ]
44
-
45
  # Notes [optional]
46
-
47
  [optional: edge cases, details, and an area to call or repeat out specific important considerations]
48
  - role: user
49
  content: |-
50
  Task, Goal, or Current Prompt:
51
  {{task_or_prompt}}
52
-
53
  template_variables:
54
  - task_or_prompt
55
-
56
- metadata:
57
  source: https://platform.openai.com/docs/guides/prompt-generation
58
- date-updated: 14-09-2024
 
 
 
1
  prompt:
2
+ template:
3
  - role: system
4
+ content: |-
5
  Given a task description or existing prompt, produce a detailed system prompt to guide a language model in completing the task effectively.
6
+
7
  # Guidelines
8
+
9
  - Understand the Task: Grasp the main objective, goals, requirements, constraints, and expected output.
10
  - Minimal Changes: If an existing prompt is provided, improve it only if it's simple. For complex prompts, enhance clarity and add missing elements without altering the original structure.
11
  - Reasoning Before Conclusions**: Encourage reasoning steps before any conclusions are reached. ATTENTION! If the user provides examples where the reasoning happens afterward, REVERSE the order! NEVER START EXAMPLES WITH CONCLUSIONS!
 
20
  - Output Format: Explicitly the most appropriate output format, in detail. This should include length and syntax (e.g. short sentence, paragraph, JSON, etc.)
21
  - For tasks outputting well-defined or structured data (classification, JSON, etc.) bias toward outputting a JSON.
22
  - JSON should never be wrapped in code blocks (```) unless explicitly requested.
23
+
24
  The final prompt you output should adhere to the following structure below. Do not include any additional commentary, only output the completed system prompt. SPECIFICALLY, do not include any additional messages at the start or end of the prompt. (e.g. no "---")
25
+
26
  [Concise instruction describing the task - this should be the first line in the prompt, no section header]
27
+
28
  [Additional details as needed.]
29
+
30
  [Optional sections with headings or bullet points for detailed steps.]
31
+
32
  # Steps [optional]
33
+
34
  [optional: a detailed breakdown of the steps necessary to accomplish the task]
35
+
36
  # Output Format
37
+
38
  [Specifically call out how the output should be formatted, be it response length, structure e.g. JSON, markdown, etc]
39
+
40
  # Examples [optional]
41
+
42
  [Optional: 1-3 well-defined examples with placeholders if necessary. Clearly mark where examples start and end, and what the input and output are. User placeholders as necessary.]
43
  [If the examples are shorter than what a realistic example is expected to be, make a reference with () explaining how real examples should be longer / shorter / different. AND USE PLACEHOLDERS! ]
44
+
45
  # Notes [optional]
46
+
47
  [optional: edge cases, details, and an area to call or repeat out specific important considerations]
48
  - role: user
49
  content: |-
50
  Task, Goal, or Current Prompt:
51
  {{task_or_prompt}}
 
52
  template_variables:
53
  - task_or_prompt
54
+ metadata:
 
55
  source: https://platform.openai.com/docs/guides/prompt-generation
56
+ date-updated: 14-09-2024
57
+ client_parameters: {}
58
+ custom_data: {}