Skip to content

The agent engineering platform.

docs: Remove redundant line (#29698)

Jun He894b0cac3c84
diff --git a/docs/docs/how_to/functions.ipynb b/docs/docs/how_to/functions.ipynb
index 9a37eda942..6ffec14c30 100644
--- a/docs/docs/how_to/functions.ipynb
+++ b/docs/docs/how_to/functions.ipynb
@@ -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",