From 25576212a3a8580b18a433489b1fcec913c4879b Mon Sep 17 00:00:00 2001 From: "Tindo N. Arsel" Date: Wed, 29 Mar 2023 12:46:36 +0100 Subject: [PATCH] Instruct the system to respond using Markdown (#161) This for a default behavior. This makes the answer of the AI more user-friendly to read. This also increases the accuracy of the answer to be well-formatted. --- src/constants/chat.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/constants/chat.ts b/src/constants/chat.ts index f2a3d0a..ee24154 100644 --- a/src/constants/chat.ts +++ b/src/constants/chat.ts @@ -11,6 +11,8 @@ const dateString = // default system message obtained using the following method: https://twitter.com/DeminDimin/status/1619935545144279040 export const _defaultSystemMessage = `You are ChatGPT, a large language model trained by OpenAI. +Carefully heed the user's instructions. +Respond using Markdown. Knowledge cutoff: 2021-09 Current date: ${dateString}`;