mirror of
https://github.com/hwchase17/langchain.git
synced 2025-08-22 02:45:49 +00:00
Lint
This commit is contained in:
parent
6d19709b65
commit
c326751085
@ -780,7 +780,7 @@ async def test_higher_order_lambda_runnable(
|
|||||||
english_chain = ChatPromptTemplate.from_template(
|
english_chain = ChatPromptTemplate.from_template(
|
||||||
"You are an english major. Answer the question: {question}"
|
"You are an english major. Answer the question: {question}"
|
||||||
) | FakeListLLM(responses=["2"])
|
) | FakeListLLM(responses=["2"])
|
||||||
input_map = RunnableMap(
|
input_map: Runnable = RunnableMap(
|
||||||
{ # type: ignore[arg-type]
|
{ # type: ignore[arg-type]
|
||||||
"key": lambda x: x["key"],
|
"key": lambda x: x["key"],
|
||||||
"input": {"question": lambda x: x["question"]},
|
"input": {"question": lambda x: x["question"]},
|
||||||
|
Loading…
Reference in New Issue
Block a user