Skip to content

Commit f7481d6

Browse files
committed
formatting
1 parent e537231 commit f7481d6

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

tests/test_langchain.py

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -458,11 +458,11 @@ def test_agent_executor_chain():
458458

459459
prompt = PromptTemplate.from_template("""
460460
Answer the following questions as best you can. You have access to the following tools:
461-
461+
462462
{tools}
463-
463+
464464
Use the following format:
465-
465+
466466
Question: the input question you must answer
467467
Thought: you should always think about what to do
468468
Action: the action to take, should be one of [{tool_names}]
@@ -471,9 +471,9 @@ def test_agent_executor_chain():
471471
... (this Thought/Action/Action Input/Observation can repeat N times)
472472
Thought: I now know the final answer
473473
Final Answer: the final answer to the original input question
474-
474+
475475
Begin!
476-
476+
477477
Question: {input}
478478
Thought:{agent_scratchpad}
479479
""")
@@ -558,7 +558,7 @@ def _identifying_params(self) -> Mapping[str, Any]:
558558

559559
template = """You are a play critic from the New York Times.
560560
Given the synopsis of play, it is your job to write a review for that play.
561-
561+
562562
Play Synopsis:
563563
{synopsis}
564564
Review from a New York Times play critic of the above play:"""
@@ -604,9 +604,9 @@ def test_openai_instruct_usage():
604604
runnable_chain: Runnable = (
605605
PromptTemplate.from_template(
606606
"""Answer the question based only on the following context:
607-
607+
608608
Question: {question}
609-
609+
610610
Answer in the following language: {language}
611611
"""
612612
)

0 commit comments

Comments
 (0)