diff --git a/README.md b/README.md index 9e73dd9..a017ed4 100644 --- a/README.md +++ b/README.md @@ -15,8 +15,9 @@ Supported stacks: Supported AI models: -- GPT-4 Vision -- Claude 3 Sonnet (faster, and on par or better than GPT-4 vision for many inputs) +- GPT-4 Turbo (Apr 2024) - Best model +- GPT-4 Vision (Nov 2023) - Good model that's better than GPT-4 Turbo on some inputs +- Claude 3 Sonnet - Faster, and on par or better than GPT-4 vision for many inputs - DALL-E 3 for image generation See the [Examples](#-examples) section below for more demos. diff --git a/frontend/src/App.tsx b/frontend/src/App.tsx index 13cef76..72627e1 100644 --- a/frontend/src/App.tsx +++ b/frontend/src/App.tsx @@ -74,7 +74,7 @@ function App({ navbarComponent }: Props) { isImageGenerationEnabled: true, editorTheme: EditorTheme.COBALT, generatedCodeConfig: Stack.HTML_TAILWIND, - codeGenerationModel: CodeGenerationModel.GPT_4_VISION, + codeGenerationModel: CodeGenerationModel.GPT_4_TURBO_2024_04_09, // Only relevant for hosted version isTermOfServiceAccepted: false, }, diff --git a/frontend/src/lib/models.ts b/frontend/src/lib/models.ts index 02e0d8f..e1aafe0 100644 --- a/frontend/src/lib/models.ts +++ b/frontend/src/lib/models.ts @@ -1,7 +1,7 @@ // Keep in sync with backend (llm.py) export enum CodeGenerationModel { - GPT_4_VISION = "gpt_4_vision", GPT_4_TURBO_2024_04_09 = "gpt-4-turbo-2024-04-09", + GPT_4_VISION = "gpt_4_vision", CLAUDE_3_SONNET = "claude_3_sonnet", } @@ -13,15 +13,15 @@ export const CODE_GENERATION_MODEL_DESCRIPTIONS: { isPaid: boolean; }; } = { + "gpt-4-turbo-2024-04-09": { + name: "GPT-4 Turbo (Apr 2024)", + inBeta: false, + isPaid: false, + }, gpt_4_vision: { name: "GPT-4 Vision (Nov 2023)", inBeta: false, isPaid: false, }, claude_3_sonnet: { name: "Claude 3 Sonnet", inBeta: false, isPaid: false }, - "gpt-4-turbo-2024-04-09": { - name: "GPT-4 Turbo (Apr 2024)", - inBeta: false, - isPaid: false, - }, };