From c088d8884e7514ace6f180e2edaa34e9ecb0789d Mon Sep 17 00:00:00 2001 From: burnettk Date: Fri, 28 Jun 2024 08:36:39 -0400 Subject: [PATCH] update script --- docs/bin/gpt-proofread.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bin/gpt-proofread.py b/docs/bin/gpt-proofread.py index ab59612eb..ab1bf864c 100644 --- a/docs/bin/gpt-proofread.py +++ b/docs/bin/gpt-proofread.py @@ -41,7 +41,7 @@ system_text = """You are proofreading a markdown document and you will receive t - Fix spelling - Not edit URLs -- Never touch a a link like [Image label](images/Manual_instructions_panel.png) +- Never touch a markdown link; these might look like: [Image label](images/Manual_instructions_panel.png) - Improve grammar that is obviously wrong - Fix awkward language if it is really bad - Keep everything else exactly the same, including tone and voice @@ -105,7 +105,7 @@ def analyze_diff(diff_file_path): analysis_prompt = f""" You are an expert technical editor. Please analyze the following diff and ensure it looks like a successful copy edit of a markdown file. -Editing URLs is not allowed; never touch a a link like [Image label](images/Manual_instructions_panel.png) +Editing URLs is not allowed; never touch a link like [Image label](images/Manual_instructions_panel.png) It is not a successful edit if line one has been removed (editing is fine; removing is not). It is not a successful edit if three or more lines in a row have been removed without replacement. Edits or reformats are potentially good, but simply removing or adding a bunch of content is bad.