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.
This commit is contained in:
Tindo N. Arsel 2023-03-29 12:46:36 +01:00 committed by GitHub
parent c4c7ff7077
commit 25576212a3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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}`;