OpenAISwift icon indicating copy to clipboard operation
OpenAISwift copied to clipboard

Is gpt-3.5-turbo-16k model possible?

Open YamikoHikariX opened this issue 1 year ago • 2 comments

I have a working app using the 4k model. Is it possible to use OpenAI's gpt-3.5-turbo-16k model with this package?

(It's my first time posting an issue. Not sure if this belongs in issues.)

YamikoHikariX avatar Jul 06 '23 17:07 YamikoHikariX

not currently...

If you make a pull request, you just need to

change OpenAIModelType.swift

add another case to

public enum Chat: String {
    
    /// 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.
    /// > Model Name: gpt-3.5-turbo
    case chatgpt = "gpt-3.5-turbo"
    
    /// Snapshot of gpt-3.5-turbo from March 1st 2023. Unlike gpt-3.5-turbo, this model will not receive updates, and will only be supported for a three month period ending on June 1st 2023.
    /// > Model Name: gpt-3.5-turbo-0301
    case chatgpt0301 = "gpt-3.5-turbo-0301"
}

ie case chatgpt16K = "gpt-3.5-turbo-16k"

and submit for merge

MarkHoath avatar Jul 18 '23 10:07 MarkHoath

Any news on this?

tingspain avatar Sep 17 '23 01:09 tingspain