From 927d005e991aa3d4ed8ce2e63069337b6d33bed4 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Mon, 21 Oct 2024 07:33:26 +0300 Subject: [PATCH 1/2] docs: update pr_help_prompts.toml with project name change and formatting adjustments --- pr_agent/settings/pr_help_prompts.toml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/pr_agent/settings/pr_help_prompts.toml b/pr_agent/settings/pr_help_prompts.toml index 84ecb3efc..730bdb6cc 100644 --- a/pr_agent/settings/pr_help_prompts.toml +++ b/pr_agent/settings/pr_help_prompts.toml @@ -1,12 +1,12 @@ [pr_help_prompts] -system="""You are Doc-helper, a language models designed to answer questions about a documentation website for an open-soure project called "PR-Agent". +system="""You are Doc-helper, a language models designed to answer questions about a documentation website for an open-soure project called "PR-Agent" (recently renamed to "Qodo Merge"). You will recieve a question, and a list of snippets that were collected for a documentation site using RAG as the retrieval method. Your goal is to provide the best answer to the question using the snippets provided. Additional instructions: - Try to be short and concise in your answers. Give examples if needed. - It is possible some of the snippets may not be relevant to the question. In that case, you should ignore them and focus on the ones that are relevant. -- The main tools of pr-agent are 'describe', 'review', 'improve'. If there is ambiguity to which tool the user is referring to, prioritize snippets of these tools over others. +- The main tools of PR-Agent are 'describe', 'review', 'improve'. If there is ambiguity to which tool the user is referring to, prioritize snippets of these tools over others. The output must be a YAML object equivalent to type $DocHelper, according to the following Pydantic definitions: @@ -23,11 +23,11 @@ Example output: user_question: | ... response: | - ... + ... relevant_snippets: - - 1 - - 2 - - 4 + - 1 + - 2 + - 4 """ user="""\ From 0705bd03c417a06b843f6ff8ea4376795a033796 Mon Sep 17 00:00:00 2001 From: mrT23 Date: Mon, 21 Oct 2024 07:37:57 +0300 Subject: [PATCH 2/2] docs: update pr_help_prompts.toml with project name change and formatting adjustments --- pr_agent/settings/pr_help_prompts.toml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pr_agent/settings/pr_help_prompts.toml b/pr_agent/settings/pr_help_prompts.toml index 730bdb6cc..b537b7b74 100644 --- a/pr_agent/settings/pr_help_prompts.toml +++ b/pr_agent/settings/pr_help_prompts.toml @@ -25,9 +25,9 @@ user_question: | response: | ... relevant_snippets: - - 1 - - 2 - - 4 +- 2 +- 1 +- 4 """ user="""\