diff --git a/docs/docs/expression_language/cookbook/memory.ipynb b/docs/docs/expression_language/cookbook/memory.ipynb index c309c183f9..c6ab96f0f1 100644 --- a/docs/docs/expression_language/cookbook/memory.ipynb +++ b/docs/docs/expression_language/cookbook/memory.ipynb @@ -73,7 +73,7 @@ "source": [ "chain = (\n", " RunnablePassthrough.assign(\n", - " memory=RunnableLambda(memory.load_memory_variables) | itemgetter(\"history\")\n", + " history=RunnableLambda(memory.load_memory_variables) | itemgetter(\"history\")\n", " )\n", " | prompt\n", " | model\n",