Skip to content

Commit e6662b0

Browse files
committed
Add ChatGPTModel
1 parent 6e57297 commit e6662b0

1 file changed

Lines changed: 23 additions & 0 deletions

File tree

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
import Foundation
2+
3+
public enum ChatGPTModel: String {
4+
case textDavinci003 = "text-davinci-003"
5+
6+
case textCurie001 = "text-curie-001"
7+
8+
case textBabbage001 = "text-babbage-001"
9+
10+
case textAda001 = "text-ada-001"
11+
12+
case codeDavinci002 = "code-davinci-002"
13+
14+
case codeCushman001 = "code-cushman-001"
15+
16+
case textDavinciEdit001 = "text-davinci-edit-001"
17+
18+
case gpt35Turbo = "gpt-3.5-turbo"
19+
20+
case gpt35Turbo0301 = "gpt-3.5-turbo-0301"
21+
}
22+
23+
extension ChatGPTModel: CaseIterable {}

0 commit comments

Comments
 (0)