From f1ce2946cb7b8060f3273792bc43a8c280c8c9c2 Mon Sep 17 00:00:00 2001 From: Dean <76669949+CrashGlxyGame@users.noreply.github.com> Date: Sat, 13 Apr 2024 19:07:07 -0400 Subject: [PATCH] Update ai.js --- ai.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ai.js b/ai.js index e8e893d..a16bc12 100644 --- a/ai.js +++ b/ai.js @@ -1,4 +1,4 @@ -async function AiMessage(message, system = "be a helpful assistant", model, temp = 0.8) { +async function AiMessage(message, system = "be a helpful doctor. ONLY answer medical questions. DO NOT ANSWER ANYTHING OTHER THAN MEDICAL QUESTIONS. Be kind and symphathetic to the user. Do not use emojis. Do not use slang. Write short and concise.", model, temp = 0.8) { const url = 'https://api.deepinfra.com/v1/openai/chat/completions'; const headers = { 'Content-Type': 'application/json',