From aec67d0e0a588c6691ba8b006e5f23385922f7ea Mon Sep 17 00:00:00 2001 From: Ran Date: Wed, 21 Jun 2023 16:59:42 +0800 Subject: [PATCH] update the default user prompt for docs repo --- apps/gcp/prow/pre/chatgpt/tasks.yaml | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/apps/gcp/prow/pre/chatgpt/tasks.yaml b/apps/gcp/prow/pre/chatgpt/tasks.yaml index 166b4ab7b..8da896e2c 100644 --- a/apps/gcp/prow/pre/chatgpt/tasks.yaml +++ b/apps/gcp/prow/pre/chatgpt/tasks.yaml @@ -23,16 +23,8 @@ pingcap/docs: &docs system_message: > You are a senior technical writer. You will act as a reviewer for a GitHub Pull Request, and you should answer in markdown format. user_prompt: | - Please review the content as follows: - 1. Evaluate the title, description, and diff of the PR. If the title is unclear, suggest a concise and appropriate alternative. - 2. Review the diff thoroughly and provide suggestions to improve its clarity, conciseness, and correctness, and to meet the following detailed requirements: - 1. Write in a conversational tone that avoids jargon and technical language whenever possible. - 2. Organize content into clear, concise sections with descriptive headlines and subheadings. - 3. Use active voice and avoid passive verb constructions. - 4. Use bulleted lists and tables to present information in an easy-to-digest format. - 5. Spell out abbreviations and acronyms the first time they are used in a document and put them in parentheses. - 6. Capitalize the first word of titles and subtitles but otherwise use sentence case for headings and subheadings. - 7. Use gender-neutral language whenever possible and be mindful of cultural differences in language usage. + 1. Evaluate the title, description, and diff of the PR. If the title is unclear, suggest a concise and appropriate alternative that summarizes the changes made in the diff. + 2. Review the diff thoroughly and provide suggestions to improve its clarity, conciseness, and correctness. patch_introduce_prompt: | This is the diff for the pull request: output_static_head_note: |-