Skip to content

Commit

Permalink
Update Models.swift
Browse files Browse the repository at this point in the history
  • Loading branch information
Quilljou authored Apr 10, 2024
1 parent 5861c59 commit 7a094d1
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Sources/OpenAI/Public/Models/Models/Models.swift
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,11 @@ public extension Model {
// Chat Completion
// GPT-4

/// `gpt-4-turbo`, the latest gpt-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling and more. Maximum of 4096 output tokens
/// `gpt-4-turbo`, The latest GPT-4 Turbo model with vision capabilities. Vision requests can now use JSON mode and function calling and more. Context window: 128,000 tokens
static let gpt4_turbo = "gpt-4-turbo"

/// `gpt-4-turbo`, gpt-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling and more. Maximum of 4096 output tokens
@available(*, deprecated, message: "Please upgrade to the newer model")
static let gpt4_turbo_preview = "gpt-4-turbo-preview"

/// `gpt-4-vision-preview`, able to understand images, in addition to all other GPT-4 Turbo capabilities.
Expand Down

0 comments on commit 7a094d1

Please sign in to comment.