Skip to content

The agent engineering platform.

[docs] fix reduce prompt in summarization example (#13726)

colton643d28847d59
diff --git a/docs/docs/use_cases/summarization.ipynb b/docs/docs/use_cases/summarization.ipynb
index dde55d81a7..82a5b16c66 100644
--- a/docs/docs/use_cases/summarization.ipynb
+++ b/docs/docs/use_cases/summarization.ipynb
@@ -356,7 +356,7 @@
"source": [
"# Reduce\n",
"reduce_template = \"\"\"The following is set of summaries:\n",
- "{doc_summaries}\n",
+ "{docs}\n",
"Take these and distill it into a final, consolidated summary of the main themes. \n",
"Helpful Answer:\"\"\"\n",
"reduce_prompt = PromptTemplate.from_template(reduce_template)"