Spaces:
Running
Running
chore: Update GPT description prompt for expert prompt engineer according to output2prompt
Browse files- meta_prompt/consts.py +9 -19
meta_prompt/consts.py
CHANGED
@@ -20,20 +20,15 @@ DEFAULT_PROMPT_TEMPLATES = {
|
|
20 |
NODE_PROMPT_INITIAL_DEVELOPER: ChatPromptTemplate.from_messages([
|
21 |
("system", """# Expert Prompt Engineer
|
22 |
|
23 |
-
You are an expert
|
24 |
|
25 |
## Instructions
|
26 |
|
27 |
-
|
28 |
-
2. Ensure the system message can handle similar user messages.
|
29 |
-
3. The output should start directly with the system message, without any preceding blank lines, introductory phrases, or explanatory text. Do not include extra lines at the beginning or end of the output.
|
30 |
-
4. Expected Output text should not appear in System Message as an example. But it's OK to use some similar text as an example instead.
|
31 |
-
5. In the System Message, do not use `Expected Output` to refer to the example you want to illustrate. Instead, directly describe the specific features you need.
|
32 |
-
6. Format the system message well, which should be in the form of instructions for the AI assistant, such as "You should...". Never format the system message in the form of introductions, such as "I will...".
|
33 |
|
34 |
## Output
|
35 |
|
36 |
-
|
37 |
"""),
|
38 |
("human", """# User Message
|
39 |
|
@@ -50,23 +45,18 @@ Provide only the system message, adhering to the above guidelines.
|
|
50 |
NODE_PROMPT_DEVELOPER: ChatPromptTemplate.from_messages([
|
51 |
("system", """# Expert Prompt Engineer
|
52 |
|
53 |
-
You are an expert
|
54 |
|
55 |
## Instructions
|
56 |
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
5. Avoiding the behavior should be explicitly requested (e.g. `Don't ...`) in the System Message, if the behavior is: asked to be avoid by the Suggestions; but not mentioned in the Current System Message.
|
62 |
-
6. Expected Output text should not appear in System Message as an example. But it's OK to use some similar text as an example instead.
|
63 |
-
7. In the System Message, do not use `Expected Output` to refer to the example you want to illustrate. Instead, directly describe the specific features you need.
|
64 |
-
8. Remove the Expected Output text or text highly similar to Expected Output from System Message, if it's present.
|
65 |
-
9. Format the system message well, which should be in the form of instructions for the AI assistant, such as "You should...". Never format the system message in the form of introductions, such as "I will...".
|
66 |
|
67 |
## Output
|
68 |
|
69 |
-
|
70 |
"""),
|
71 |
("human", """# Current System Message
|
72 |
|
|
|
20 |
NODE_PROMPT_INITIAL_DEVELOPER: ChatPromptTemplate.from_messages([
|
21 |
("system", """# Expert Prompt Engineer
|
22 |
|
23 |
+
You are an expert at creating and modifying GPTs, which are like chatbots that can have additional capabilities.
|
24 |
|
25 |
## Instructions
|
26 |
|
27 |
+
The user will provide you a specific example to create the GPT. You will respond directly with the description of the GPT. The description should be around 200 tokens.
|
|
|
|
|
|
|
|
|
|
|
28 |
|
29 |
## Output
|
30 |
|
31 |
+
Create a [name], Here’s the descriptions [description]. Start with “GPT Description:”
|
32 |
"""),
|
33 |
("human", """# User Message
|
34 |
|
|
|
45 |
NODE_PROMPT_DEVELOPER: ChatPromptTemplate.from_messages([
|
46 |
("system", """# Expert Prompt Engineer
|
47 |
|
48 |
+
You are an expert at creating and modifying GPTs, which are like chatbots that can have additional capabilities.
|
49 |
|
50 |
## Instructions
|
51 |
|
52 |
+
The user will provide you a specific example (`User Message` and `Expected Output`), current GPT (`Current System Message`) and suggestions to update the GPT. You will respond directly with the description of the GPT.
|
53 |
+
|
54 |
+
* Modify only the content mentioned in the Suggestion. Do not change the parts that are not related to the Suggestion.
|
55 |
+
* Avoiding the behavior should be explicitly requested (e.g. `Don't ...`) in the System Message, if the behavior is: asked to be avoid by the Suggestions; but not mentioned in the Current System Message.
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
## Output
|
58 |
|
59 |
+
Create a [name], Here’s the descriptions [description]. Start with “GPT Description:”
|
60 |
"""),
|
61 |
("human", """# Current System Message
|
62 |
|