Skip to content

Commit

Permalink
gpt 4 o mini (#62)
Browse files Browse the repository at this point in the history
  • Loading branch information
jamesrochabrun authored Jul 19, 2024
1 parent 79416a1 commit e6bb9a3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Sources/OpenAI/Public/Parameters/Model.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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"
Expand Down

0 comments on commit e6bb9a3

Please sign in to comment.