From 52d4f73e39ef66ce5ce53f837832d24d7f1cea01 Mon Sep 17 00:00:00 2001 From: Vadym Barda Date: Fri, 7 Mar 2025 15:34:48 -0500 Subject: [PATCH] docs: fix formatting for summarization doc (#3742) --- docs/docs/how-tos/memory/add-summary-conversation-history.ipynb | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/docs/how-tos/memory/add-summary-conversation-history.ipynb b/docs/docs/how-tos/memory/add-summary-conversation-history.ipynb index 9fb7af8de..26a1ce61e 100644 --- a/docs/docs/how-tos/memory/add-summary-conversation-history.ipynb +++ b/docs/docs/how-tos/memory/add-summary-conversation-history.ipynb @@ -10,6 +10,7 @@ "One of the most common use cases for persistence is to use it to keep track of conversation history. This is great - it makes it easy to continue conversations. As conversations get longer and longer, however, this conversation history can build up and take up more and more of the context window. This can often be undesirable as it leads to more expensive and longer calls to the LLM, and potentially ones that error. One way to work around that is to create a summary of the conversation to date, and use that with the past N messages. This guide will go through an example of how to do that.\n", "\n", "This will involve a few steps:\n", + "\n", "- Check if the conversation is too long (can be done by checking number of messages or length of messages)\n", "- If yes, the create summary (will need a prompt for this)\n", "- Then remove all except the last N messages\n",