0
0
mirror of https://github.com/Wurst-Imperium/Wurst7.git synced 2024-09-20 01:12:13 +02:00

Update OpenAI models

This commit is contained in:
Alexander01998 2024-08-06 21:24:25 +02:00
parent 6c31e06a50
commit fac428eeb9

View File

@ -24,29 +24,26 @@ public final class ModelSettings
public final EnumSetting<OpenAiModel> openAiModel = new EnumSetting<>( public final EnumSetting<OpenAiModel> openAiModel = new EnumSetting<>(
"OpenAI model", "OpenAI model",
"The model to use for OpenAI API calls.\nRecommended models:\n\n" "The model to use for OpenAI API calls.\nRecommended models:\n\n"
+ "\u00a7lGPT-4o-2024-05-13\u00a7r is one of the smartest models at" + "\u00a7lGPT-4o-2024-08-06\u00a7r is one of the smartest models at"
+ " the time of writing and will often produce the best completions." + " the time of writing and will often produce the best completions."
+ " However, it's meant to be an assistant rather than an" + " However, it's meant to be an assistant rather than an"
+ " auto-completion system, so you will see it produce some odd" + " auto-completion system, so you will see it produce some odd"
+ " completions at times.\n\n" + " completions at times.\n\n"
+ "\u00a7lGPT-3.5-Turbo-Instruct\u00a7r is an older, non-chat model" + "\u00a7lGPT-3.5-Turbo-Instruct\u00a7r is an older, non-chat model"
+ " based on GPT-3.5 that works well for auto-completion tasks.", + " based on GPT-3.5 that works well for auto-completion tasks.",
OpenAiModel.values(), OpenAiModel.GPT_4O_2024_05_13); OpenAiModel.values(), OpenAiModel.GPT_4O_2024_08_06);
public enum OpenAiModel public enum OpenAiModel
{ {
GPT_4O_2024_08_06("gpt-4o-2024-08-06", true),
GPT_4O_2024_05_13("gpt-4o-2024-05-13", true), GPT_4O_2024_05_13("gpt-4o-2024-05-13", true),
GPT_4O_MINI_2024_07_18("gpt-4o-mini-2024-07-18", true),
GPT_4_TURBO_2024_04_09("gpt-4-turbo-2024-04-09", true), GPT_4_TURBO_2024_04_09("gpt-4-turbo-2024-04-09", true),
GPT_4_0125_PREVIEW("gpt-4-0125-preview", true), GPT_4_0125_PREVIEW("gpt-4-0125-preview", true),
GPT_4_1106_PREVIEW("gpt-4-1106-preview", true), GPT_4_1106_PREVIEW("gpt-4-1106-preview", true),
GPT_4_0613("gpt-4-0613", true), GPT_4_0613("gpt-4-0613", true),
GPT_4_0314("gpt-4-0314", true),
GPT_4_32K_0613("gpt-4-32k-0613", true),
GPT_3_5_TURBO_0125("gpt-3.5-turbo-0125", true), GPT_3_5_TURBO_0125("gpt-3.5-turbo-0125", true),
GPT_3_5_TURBO_1106("gpt-3.5-turbo-1106", true), GPT_3_5_TURBO_1106("gpt-3.5-turbo-1106", true),
GPT_3_5_TURBO_0613("gpt-3.5-turbo-0613", true),
GPT_3_5_TURBO_16K_0613("gpt-3.5-turbo-16k-0613", true),
GPT_3_5_TURBO_0301("gpt-3.5-turbo-0301", true),
GPT_3_5_TURBO_INSTRUCT("gpt-3.5-turbo-instruct", false), GPT_3_5_TURBO_INSTRUCT("gpt-3.5-turbo-instruct", false),
DAVINCI_002("davinci-002", false), DAVINCI_002("davinci-002", false),
BABBAGE_002("babbage-002", false); BABBAGE_002("babbage-002", false);