Skip to content

Commit

Permalink
fix: use gpt-4 by default and update system prompt (#93)
Browse files Browse the repository at this point in the history
  • Loading branch information
transmissions11 authored Dec 7, 2023
1 parent 1dfc26f commit aa934b3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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]
}`,
};
Expand Down

1 comment on commit aa934b3

@vercel
Copy link

@vercel vercel bot commented on aa934b3 Dec 7, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.