From 907d6e985545ebf4ed009fd2b6fdd80b7c0343fa Mon Sep 17 00:00:00 2001 From: Sonic2kDBS Date: Fri, 27 Sep 2024 13:31:39 +0200 Subject: [PATCH] Update chat_parsing.py --- utils/chat_parsing.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/utils/chat_parsing.py b/utils/chat_parsing.py index 8fdc90b0ab..adf16cdd04 100644 --- a/utils/chat_parsing.py +++ b/utils/chat_parsing.py @@ -3,8 +3,8 @@ def clean_character_message(name: str, message: str) -> str: """ - Sometimes the chatbot will respond multiple times in a single - message, each response being prefixed with '{bot_name}: '. + Sometimes the model will respond multiple times in a single + message, each response being prefixed with '{model_name}: '. This function parses each sub-message and returns them as a single continuous sentence. """