Merge branch 'main' into hosted
This commit is contained in:
commit
c6b04aefbe
@ -15,8 +15,9 @@ Supported stacks:
|
|||||||
|
|
||||||
Supported AI models:
|
Supported AI models:
|
||||||
|
|
||||||
- GPT-4 Vision
|
- GPT-4 Turbo (Apr 2024) - Best model
|
||||||
- Claude 3 Sonnet (faster, and on par or better than GPT-4 vision for many inputs)
|
- 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
|
- DALL-E 3 for image generation
|
||||||
|
|
||||||
See the [Examples](#-examples) section below for more demos.
|
See the [Examples](#-examples) section below for more demos.
|
||||||
|
|||||||
@ -74,7 +74,7 @@ function App({ navbarComponent }: Props) {
|
|||||||
isImageGenerationEnabled: true,
|
isImageGenerationEnabled: true,
|
||||||
editorTheme: EditorTheme.COBALT,
|
editorTheme: EditorTheme.COBALT,
|
||||||
generatedCodeConfig: Stack.HTML_TAILWIND,
|
generatedCodeConfig: Stack.HTML_TAILWIND,
|
||||||
codeGenerationModel: CodeGenerationModel.GPT_4_VISION,
|
codeGenerationModel: CodeGenerationModel.GPT_4_TURBO_2024_04_09,
|
||||||
// Only relevant for hosted version
|
// Only relevant for hosted version
|
||||||
isTermOfServiceAccepted: false,
|
isTermOfServiceAccepted: false,
|
||||||
},
|
},
|
||||||
|
|||||||
@ -1,7 +1,7 @@
|
|||||||
// Keep in sync with backend (llm.py)
|
// Keep in sync with backend (llm.py)
|
||||||
export enum CodeGenerationModel {
|
export enum CodeGenerationModel {
|
||||||
GPT_4_VISION = "gpt_4_vision",
|
|
||||||
GPT_4_TURBO_2024_04_09 = "gpt-4-turbo-2024-04-09",
|
GPT_4_TURBO_2024_04_09 = "gpt-4-turbo-2024-04-09",
|
||||||
|
GPT_4_VISION = "gpt_4_vision",
|
||||||
CLAUDE_3_SONNET = "claude_3_sonnet",
|
CLAUDE_3_SONNET = "claude_3_sonnet",
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -13,15 +13,15 @@ export const CODE_GENERATION_MODEL_DESCRIPTIONS: {
|
|||||||
isPaid: boolean;
|
isPaid: boolean;
|
||||||
};
|
};
|
||||||
} = {
|
} = {
|
||||||
|
"gpt-4-turbo-2024-04-09": {
|
||||||
|
name: "GPT-4 Turbo (Apr 2024)",
|
||||||
|
inBeta: false,
|
||||||
|
isPaid: false,
|
||||||
|
},
|
||||||
gpt_4_vision: {
|
gpt_4_vision: {
|
||||||
name: "GPT-4 Vision (Nov 2023)",
|
name: "GPT-4 Vision (Nov 2023)",
|
||||||
inBeta: false,
|
inBeta: false,
|
||||||
isPaid: false,
|
isPaid: false,
|
||||||
},
|
},
|
||||||
claude_3_sonnet: { name: "Claude 3 Sonnet", 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,
|
|
||||||
},
|
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user