From aa934b37ed2e15cadea9e78a857cbc6342d6d860 Mon Sep 17 00:00:00 2001 From: t11s Date: Wed, 6 Dec 2023 19:40:34 -0800 Subject: [PATCH] fix: use gpt-4 by default and update system prompt (#93) --- src/utils/constants.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/constants.ts b/src/utils/constants.ts index 2355c43..5c5cad4 100644 --- a/src/utils/constants.ts +++ b/src/utils/constants.ts @@ -19,8 +19,8 @@ export const DEFAULT_SETTINGS: Settings = { temp: 1.2, n: 3, autoZoom: true, - model: "gpt-3.5-turbo", - defaultPreamble: `You are ChatGPT, a large language model trained by OpenAI. Answer as concisely as possible. Knowledge cutoff: 2021-09 Current date: ${ + model: "gpt-4", + defaultPreamble: `You are ChatGPT, a large language model trained by OpenAI, based on the GPT-4 architecture.\nKnowledge cutoff: 2022-01\nCurrent date: ${ new Date().toISOString().split("T")[0] }`, };