Skip to content

Commit 30be3e5

Browse files
authored
Update to latest working model
1 parent a1285a7 commit 30be3e5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

XCAChatGPT/ChatGPTAPI.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ class ChatGPTAPI {
4949

5050
private func jsonBody(text: String, stream: Bool = true) throws -> Data {
5151
let jsonBody: [String: Any] = [
52-
"model": "text-chat-davinci-002-20230126",
52+
"model": "text-chat-davinci-002-20221122",
5353
"temperature": 0.5,
5454
"max_tokens": 1024,
5555
"prompt": generateChatGPTPrompt(from: text),

0 commit comments

Comments
 (0)