Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update available models, change system prompt #197

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-helmet": "^6.1.0",
"react-intl": "^6.2.10",
"react-intl": "^6.5.5",
"react-markdown": "^8.0.5",
"react-redux": "^8.0.5",
"react-router-dom": "^6.8.2",
Expand Down Expand Up @@ -68,7 +68,7 @@
"@types/uuid": "^9.0.1",
"@vitejs/plugin-react": "^4.0.2",
"babel-plugin-formatjs": "^10.5.3",
"typescript": "^4.9.5",
"typescript": "^5.3.2",
"vite": "^4.4.1",
"vite-plugin-pwa": "^0.16.4",
"workbox-window": "^7.0.0"
Expand Down
32 changes: 9 additions & 23 deletions app/src/global-options/parameters.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -29,39 +29,25 @@ export const parameterOptions: OptionGroup = {
),
options: [
{
label: "GPT 3.5 Turbo (default)",
value: "gpt-3.5-turbo",
},
{
label: "GPT 3.5 Turbo 16k",
value: "gpt-3.5-turbo-16k",
label: "GPT-4 Turbo (128k context)",
value: "gpt-4-turbo-preview",
},
{
label: "GPT 4",
label: "GPT-4",
value: "gpt-4",
},
{
label: "GPT 4 32k (requires invite)",
label: "GPT-4 (32k context)",
value: "gpt-4-32k",
},
{
label: "GPT 4 Snapshot (June 13, 2023)",
value: "gpt-4-0613",
},

{
label: "GPT 4 32k Snapshot (June 13, 2023)",
value: "gpt-4-32k-0613",
},

{
label: "GPT 3.5 Turbo Snapshot (June 13, 2023)",
value: "gpt-3.5-turbo-0613",
label: "GPT-3.5 Turbo",
value: "gpt-3.5-turbo",
},
{
label: "GPT 3.5 Turbo 16k Snapshot (June 13, 2023)",
value: "gpt-3.5-turbo-16k-0613",
},
label: "GPT 3.5 Turbo (16k context)",
value: "gpt-3.5-turbo-16k",
}
],
}),
},
Expand Down
2 changes: 0 additions & 2 deletions app/src/plugins/system-prompt.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ import { OpenAIMessage, Parameters } from "../core/chat/types";

export const defaultSystemPrompt = `
You are ChatGPT, a large language model trained by OpenAI.
Knowledge cutoff: 2021-09
Current date and time: {{ datetime }}
`.trim();

export interface SystemPromptPluginOptions {
Expand Down