OpenAI: Add gpt-o1/o1-mini to chat model enum

This commit is contained in:
박준서
2024-09-13 19:21:31 +09:00
committed by Mark Pollack
parent 326bd21a09
commit 40eaa9974e

View File

@@ -183,6 +183,26 @@ public class OpenAiApi {
*/
public enum ChatModel implements ChatModelDescription {
/**
* Points to the most recent snapshot of the o1 model:o1-preview-2024-09-12
*/
GPT_O_1_PREVIEW("gpt-o1-preview"),
/**
* Latest o1 model snapshot
*/
GPT_O_1_PREVIEW_2024_09_12("gpt-o1-preview-2024-09-12"),
/**
* Points to the most recent o1-mini snapshot:o1-mini-2024-09-12
*/
GPT_O_1_MINI("gpt-o1-mini"),
/**
* Latest o1-mini model snapshot
*/
GPT_O_1_MINI_2024_09_12("gpt-o1-mini-2024-09-12"),
/**
* Multimodal flagship model thats cheaper and faster than GPT-4 Turbo. Currently
* points to gpt-4o-2024-05-13.