From 4d2ee2aeda723da8eb6b9d9ff0fe4b33fc12f1d1 Mon Sep 17 00:00:00 2001 From: Gabriel Luiz Freitas Almeida Date: Thu, 6 Apr 2023 15:56:55 -0300 Subject: [PATCH] Update test_prompts_template.py --- tests/test_prompts_template.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_prompts_template.py b/tests/test_prompts_template.py index b45b0989f..24729cb63 100644 --- a/tests/test_prompts_template.py +++ b/tests/test_prompts_template.py @@ -167,7 +167,7 @@ def test_zero_shot_prompt(client: TestClient): "placeholder": "", "show": True, "multiline": True, - "value": "Answer the following questions as best you can. You have access to the following tools:", + "value": "Answer the following questions as best you can. You have access to the following tools:", # noqa: E501 "password": False, "name": "prefix", "type": "str", @@ -189,7 +189,7 @@ def test_zero_shot_prompt(client: TestClient): "placeholder": "", "show": False, "multiline": False, - "value": "Use the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [{tool_names}]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question", + "value": "Use the following format:\n\nQuestion: the input question you must answer\nThought: you should always think about what to do\nAction: the action to take, should be one of [{tool_names}]\nAction Input: the input to the action\nObservation: the result of the action\n... (this Thought/Action/Action Input/Observation can repeat N times)\nThought: I now know the final answer\nFinal Answer: the final answer to the original input question", # noqa: E501 "password": False, "name": "format_instructions", "type": "str",