diff --git a/Sources/OpenAI/Public/Parameters/Model.swift b/Sources/OpenAI/Public/Parameters/Model.swift index cfff532..1aac225 100644 --- a/Sources/OpenAI/Public/Parameters/Model.swift +++ b/Sources/OpenAI/Public/Parameters/Model.swift @@ -24,6 +24,8 @@ public enum Model { /// case gpt4o // Points to gpt-4o-2024-05-13 case gpt4o20240513 // 128k context window with training data up to Oct 2023 + /// The most affordable and intelligent small model for fast, lightweight tasks. GPT-4o mini is cheaper and more capable than GPT-3.5 Turbo. Currently points to gpt-4o-mini-2024-07-18. + case gpt4omini case gpt35Turbo case gpt35Turbo1106 // Most updated - Supports parallel function calls @@ -60,6 +62,7 @@ public enum Model { switch self { case .gpt4o: return "gpt-4o" case .gpt4o20240513: return "gpt-4o-2024-05-13" + case .gpt4omini: return "gpt-4o-mini" case .gpt35Turbo: return "gpt-3.5-turbo" case .gpt35Turbo1106: return "gpt-3.5-turbo-1106" case .gpt35Turbo0125: return "gpt-3.5-turbo-0125"