Skip to content

Commit

Permalink
Update test_prompts_template.py
Browse files Browse the repository at this point in the history
  • Loading branch information
ogabrielluiz authored Apr 6, 2023
1 parent 59baa40 commit 4d2ee2a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/test_prompts_template.py
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand All @@ -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",
Expand Down

0 comments on commit 4d2ee2a

Please sign in to comment.