From d57db7449a492fce5b96da81ed6affad0d30676d Mon Sep 17 00:00:00 2001 From: mudler Date: Sun, 20 Aug 2023 12:22:04 +0200 Subject: [PATCH] force summarization at the end --- src/localagi/localagi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/localagi/localagi.py b/src/localagi/localagi.py index e7c5223..e73fd21 100644 --- a/src/localagi/localagi.py +++ b/src/localagi/localagi.py @@ -582,7 +582,7 @@ class LocalAGI: # TODO: this needs to be optimized responses = self.analyze(responses[1:], prefix="", - suffix=f"Return an appropriate answer given the context above\n") + suffix=f"Return an appropriate answer given the context above, including a summary.\n") # add responses to conversation history by extending the list conversation_history.append(