Skip to content

Commit

Permalink
feat: add o1-preview and o1-mini
Browse files Browse the repository at this point in the history
  • Loading branch information
0xMochan committed Sep 13, 2024
1 parent 0526b2f commit 4d0f3f5
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions rig-core/src/providers/openai.rs
Original file line number Diff line number Diff line change
Expand Up @@ -305,6 +305,14 @@ impl EmbeddingModel {
// ================================================================
// OpenAI Completion API
// ================================================================
/// `o1-preview` completion model
pub const O1_PREVIEW: &str = "o1-preview";
/// `o1-preview-2024-09-12` completion model
pub const O1_PREVIEW_2024_09_12: &str = "o1-preview-2024-09-12";
/// `o1-mini completion model
pub const O1_MINI: &str = "o1-mini";
/// `o1-mini-2024-09-12` completion model
pub const O1_MINI_2024_09_12: &str = "o1-mini-2024-09-12";
/// `gpt-4o` completion model
pub const GPT_4O: &str = "gpt-4o";
/// `gpt-4o-2024-05-13` completion model
Expand Down

0 comments on commit 4d0f3f5

Please sign in to comment.