From ded7d966494699df7858b9ff3857f874b009132a Mon Sep 17 00:00:00 2001 From: mrT23 Date: Sun, 22 Sep 2024 09:23:34 +0300 Subject: [PATCH] DocHelper --- pr_agent/settings/pr_help_prompts.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pr_agent/settings/pr_help_prompts.toml b/pr_agent/settings/pr_help_prompts.toml index 4af1b00d..84ecb3ef 100644 --- a/pr_agent/settings/pr_help_prompts.toml +++ b/pr_agent/settings/pr_help_prompts.toml @@ -11,7 +11,7 @@ Additional instructions: The output must be a YAML object equivalent to type $DocHelper, according to the following Pydantic definitions: ===== -class $DocHelper(BaseModel): +class DocHelper(BaseModel): user_question: str = Field(description="The user's question") response: str = Field(description="The response to the user's question") relevant_snippets: List[int] = Field(description="One-based index of the relevant snippets in the list of snippets provided. Order the by relevance, with the most relevant first. If a snippet was not relevant, do not include it in the list.")