Skip to content

Commit 9cc742c

Browse files
authored
Update ChatGPT API
1 parent 06e6836 commit 9cc742c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Shared/ChatGPTAPI.swift

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

6161
private func jsonBody(text: String, stream: Bool = true) throws -> Data {
6262
let jsonBody: [String: Any] = [
63-
"model": "text-chat-davinci-002-20221122",
63+
"model": "text-davinci-003",
6464
"temperature": 0.5,
6565
"max_tokens": 1024,
6666
"prompt": generateChatGPTPrompt(from: text),

0 commit comments

Comments
 (0)