danicafisher commited on
Commit
133c43d
·
verified ·
1 Parent(s): dc4e03f

Update prompts.py

Browse files
Files changed (1) hide show
  1. prompts.py +10 -3
prompts.py CHANGED
@@ -205,13 +205,20 @@ post_review_prompt = ChatPromptTemplate.from_template(
205
 
206
  You will be given the current draft of the post, and the organization's writing style guide.
207
 
208
- Checking the draft's spelling and grammar, as well as the sentence strucutre, tone, and style against the writing guide, determine if the current draft of the post is acceptable.
209
- If it is not, please give your reasoning why, and what should be changed.
 
 
 
 
 
 
 
210
 
211
  Current draft: {current_draft}
212
  Style guide: {styleguide}
213
 
214
- Your output should be a json object in the follwoing format, but should **not** include the triple backticks or the 'json' label:
215
  {{
216
  "Draft Acceptable": (Yes/No),
217
  "Comments on current draft": (comments)
 
205
 
206
  You will be given the current draft of the post, and the organization's writing style guide.
207
 
208
+ Review the draft's content, overall message, and general adherence to the writing guide. Focus on major issues that significantly impact the post's effectiveness or professionalism. Minor stylistic variations should not be grounds for rejection.
209
+
210
+ Consider the following when reviewing:
211
+ 1. Does the post convey its main message clearly?
212
+ 2. Is the tone appropriate for a professional social media post about mental health in the workplace?
213
+ 3. Are there any major factual errors or misrepresentations?
214
+ 4. Does the post generally follow the key principles of the writing guide?
215
+
216
+ If there are only minor issues that don't significantly impact the post's quality, consider the draft acceptable.
217
 
218
  Current draft: {current_draft}
219
  Style guide: {styleguide}
220
 
221
+ Your output should be a json object in the following format, but should **not** include the triple backticks or the 'json' label:
222
  {{
223
  "Draft Acceptable": (Yes/No),
224
  "Comments on current draft": (comments)