From dbeb61b8122a8ea611959f1048383555dc3bf665 Mon Sep 17 00:00:00 2001 From: barthc Date: Fri, 17 May 2024 08:46:14 +0100 Subject: [PATCH] Added `GPT-4o` chat completions model. --- class-gwiz-gf-openai.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/class-gwiz-gf-openai.php b/class-gwiz-gf-openai.php index cf1b4b8..dc51dab 100644 --- a/class-gwiz-gf-openai.php +++ b/class-gwiz-gf-openai.php @@ -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(