Update OpenAI models to gpt-4o

This commit is contained in:
Thomas Ricouard 2024-05-13 22:20:43 +02:00
parent 6ed760a775
commit c77bb992b4

View file

@ -25,7 +25,7 @@ public struct OpenAIClient {
public let content: String
}
let model = "gpt-3.5-turbo"
let model = "gpt-4o"
let messages: [Message]
let temperature: CGFloat
@ -52,7 +52,7 @@ public struct OpenAIClient {
public let content: [MessageContent]
}
let model = "gpt-4-vision-preview"
let model = "gpt-4o"
let messages: [Message]
let maxTokens = 50
}