diff --git a/models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api/OpenAiApi.java b/models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api/OpenAiApi.java index e08334959..950fd06ae 100644 --- a/models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api/OpenAiApi.java +++ b/models/spring-ai-openai/src/main/java/org/springframework/ai/openai/api/OpenAiApi.java @@ -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 that’s cheaper and faster than GPT-4 Turbo. Currently * points to gpt-4o-2024-05-13.