Merge pull request #4605 from gitbutlerapp/Vidluther-ai

Vidluther ai
This commit is contained in:
Caleb Owens 2024-08-05 17:17:49 +02:00 committed by GitHub
commit a57238a371
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 15 additions and 3 deletions

View File

@ -7,17 +7,21 @@ export enum ModelKind {
Ollama = 'ollama'
}
// https://platform.openai.com/docs/models
export enum OpenAIModelName {
GPT35Turbo = 'gpt-3.5-turbo',
GPT4 = 'gpt-4',
GPT4Turbo = 'gpt-4-turbo',
GPT4o = 'gpt-4o'
GPT4o = 'gpt-4o',
GPT4oMini = 'gpt-4o-mini'
}
// https://docs.anthropic.com/en/docs/about-claude/models
export enum AnthropicModelName {
Opus = 'claude-3-opus-20240229',
Sonnet = 'claude-3-sonnet-20240229',
Haiku = 'claude-3-haiku-20240307'
Haiku = 'claude-3-haiku-20240307',
Sonnet35 = 'claude-3-5-sonnet-20240620'
}
export enum MessageRole {

View File

@ -109,8 +109,12 @@
value: OpenAIModelName.GPT4Turbo
},
{
label: 'GPT 4 Omni',
label: 'GPT 4o',
value: OpenAIModelName.GPT4o
},
{
label: 'GPT 4o mini',
value: OpenAIModelName.GPT4oMini
}
];
@ -126,6 +130,10 @@
{
label: 'Haiku',
value: AnthropicModelName.Haiku
},
{
label: 'Sonnet 3.5',
value: AnthropicModelName.Sonnet35
}
];