From 00107c1f9a01d8c05ee654454d34c88ed9cfb115 Mon Sep 17 00:00:00 2001 From: t11s Date: Wed, 6 Dec 2023 19:35:00 -0800 Subject: [PATCH] fix: use gpt-4 default and update system prompt as per https://github.com/LouisShark/chatgpt_system_prompt/blob/main/prompts/gpt4v_default.md --- 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] }`, };