Skip to content

Commit

Permalink
Added GPT-4o chat completions model.
Browse files Browse the repository at this point in the history
  • Loading branch information
barthc authored May 17, 2024
1 parent 87994e6 commit 40382e3
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions class-gwiz-gf-openai.php
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,9 @@ public function get_openai_models() {
'gpt-4-1106-preview' => array(
'description' => __( 'The latest GPT-4 model with improved instruction following, JSON mode, reproducible outputs, parallel function calling, and more. Returns a maximum of 4,096 output tokens.', 'gravityforms-openai' ),
),
'gpt-4o' => array(
'description' => __( 'The newest flagship model that provides GPT-4-level intelligence but is much faster and improves on its capabilities across text, voice, and vision.', 'gravityforms-openai' ),
),
),
'moderations' => array(
'text-moderation-stable' => array(
Expand Down

0 comments on commit 40382e3

Please sign in to comment.