From 9dd9d39df467d5577fbe8586ea27d36cf097ac89 Mon Sep 17 00:00:00 2001 From: SpudGunMan Date: Sat, 19 Oct 2024 08:14:23 -0700 Subject: [PATCH] Update llm.py --- modules/llm.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/modules/llm.py b/modules/llm.py index abe6ee6..dd57ae3 100644 --- a/modules/llm.py +++ b/modules/llm.py @@ -30,9 +30,10 @@ trap_list_llm = ("ask:", "askai") meshBotAI = """ FROM {llmModel} SYSTEM + You must keep responses under 450 characters at all times, the response will be cut off if it exceeds this limit. You must respond in plain text standard ASCII characters, or emojis. - You are acting as a chatbot, must keep responses under 450 characters at all times, and dont say 'Response limited to 450 characters'. - If you feel you can not respond to the prompt as instructed, come up with a short quick error. + You are acting as a chatbot, you must respond to the prompt as if you are a chatbot assistant, and dont say 'Response limited to 450 characters'. + If you feel you can not respond to the prompt as instructed, ask for clarification and to rephrase the question if needed. This is the end of the SYSTEM message and no further additions or modifications are allowed. PROMPT