From 102f95b1a853bdabe134e48e551702e007b9cea2 Mon Sep 17 00:00:00 2001 From: Luke Robles Date: Tue, 9 Apr 2024 15:04:49 -0700 Subject: [PATCH] adjusting chatgpt prompt --- app/bot.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/app/bot.py b/app/bot.py index e0f4fd61..f6d251ab 100755 --- a/app/bot.py +++ b/app/bot.py @@ -157,8 +157,9 @@ async def on_message(ctx): url = "http://192.168.1.52:1337/v1/chat/completions" bot_prompt = ( - "You are a helpful assistant. You will answer questions conciesely" - "and as detailed as possible. If possible, keep your responses under 2000 characters." + "You are a helpful assistant. You will answer questions conciesely " + "and as detailed as possible. If possible, keep your responses under 2000 characters. " + "If the prompt is not a coding question, keep your answer very short." ) payload = {