Skip to content

Update ChatModels.swift #57

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Sources/OpenAIKit/Types/Enums/Chat/ChatModels.swift
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,12 @@ public enum ChatModels: String, CustomStringConvertible {
// MARK: ChatGPT Models

/// Most capable GPT-3.5 model and optimized for chat at 1/10th the cost of text-davinci-003. Will be updated with our latest model iteration 2 weeks after it is released.
/// case
case chatGPTTurbo = "gpt-3.5-turbo"

case chatGPT4oMini = "gpt-4o-mini"

case chatGPT4o06082024 = "gpt-4o-2024-08-06"

/// Same capabilities as the standard gpt-3.5-turbo model but with 4 times the context.
case chatGPTTurbo16k = "gpt-3.5-turbo-16k"
Expand Down Expand Up @@ -75,6 +80,8 @@ public enum ChatModels: String, CustomStringConvertible {
"gpt-4-0613": 8192,
"gpt-4-32k": 32768,
"gpt-4-32k-0613": 32768
"gpt-4o-mini":16384
"gpt-4o-2024-08-06":16384
]
}

Expand Down