From c1883b54fcfda31d420851cdd17722c1ab666a29 Mon Sep 17 00:00:00 2001 From: Cameron Maloney Date: Tue, 9 Apr 2024 14:53:39 -0700 Subject: [PATCH] Update reflexion_prompts.py --- vision_agent/agent/reflexion_prompts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vision_agent/agent/reflexion_prompts.py b/vision_agent/agent/reflexion_prompts.py index eb4c3d4d..b91af78e 100644 --- a/vision_agent/agent/reflexion_prompts.py +++ b/vision_agent/agent/reflexion_prompts.py @@ -9,7 +9,7 @@ Question: {question}{scratchpad}""" -COT_REFLECT_INSTRUCTION = """You are an advanced reasoning agent that can improve based on self refection. You will be given a previous reasoning trial in which you were given access to relevant context and a question to answer. You were unsuccessful in answering the question either because you guessed the wrong answer with Finish[] or there is a phrasing discrepancy with your provided answer and the answer key. In a few sentences, Diagnose a possible reason for failure or phrasing discrepancy and devise a new, concise, high level plan that aims to mitigate the same failure. Use complete sentences. +COT_REFLECT_INSTRUCTION = """You are an advanced reasoning agent that can improve based on self-refection. You will be given a previous reasoning trial in which you were given access to relevant context and a question to answer. You were unsuccessful in answering the question either because you guessed the wrong answer with Finish[] or there is a phrasing discrepancy with your provided answer and the answer key. In a few sentences, diagnose a possible reason for failure or phrasing discrepancy and devise a new, concise, high level plan that aims to mitigate the same failure. Use complete sentences. Here are some examples: {examples} (END OF EXAMPLES)