force summarization at the end

This commit is contained in:
mudler
2023-08-20 12:22:04 +02:00
parent a3300dfb6d
commit d57db7449a

View File

@@ -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(