docs: Remove redundant line (#29698)

If I understand it correctly, chain1 is never used.
This commit is contained in:
Jun He 2025-02-10 07:53:21 -06:00 committed by GitHub
parent 6655246504
commit 894b0cac3c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -99,8 +99,6 @@
"\n",
"prompt = ChatPromptTemplate.from_template(\"what is {a} + {b}\")\n",
"\n",
"chain1 = prompt | model\n",
"\n",
"chain = (\n",
" {\n",
" \"a\": itemgetter(\"foo\") | RunnableLambda(length_function),\n",