Skip to content

Commit e88ea35

Browse files
committed
Add o1 and o1-mini
1 parent b41f9e8 commit e88ea35

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

Sources/OpenAI/Public/Models/Models/Models.swift

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,16 @@ public typealias Model = String
1010

1111
public extension Model {
1212
// Chat Completion
13+
14+
// o1 series
15+
// The o1 series of models are trained with reinforcement learning to perform complex reasoning. o1 models think before they answer, producing a long internal chain of thought before responding to the user.
16+
17+
/// `o1`: reasoning model designed to solve hard problems across domains
18+
static let o1 = "o1"
19+
20+
/// `o1-mini`: fast and affordable reasoning model for specialized tasks
21+
static let o1_mini = "o1-mini"
22+
1323
// GPT-4
1424

1525
/// `gpt-4o`, currently the most advanced, multimodal flagship model that's cheaper and faster than GPT-4 Turbo.

0 commit comments

Comments
 (0)