Skip to content

Commit

Permalink
Replace gpt-4-32k with gpt-4-turbo-preview model
Browse files Browse the repository at this point in the history
  • Loading branch information
barthc authored and claygriffiths committed Jun 26, 2024
1 parent 134d539 commit 0cf961d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions class-gwiz-gf-openai.php
Original file line number Diff line number Diff line change
Expand Up @@ -261,19 +261,19 @@ public function init() {
public function get_openai_models() {
$models = array(
'chat/completions' => array(
'gpt-3.5-turbo' => array(
'gpt-3.5-turbo' => array(
'description' => __( 'The same model used by <a href="https://chat.openai.com" target="_blank">ChatGPT</a>.', 'gravityforms-openai' ),
),
'gpt-3.5-turbo-16k' => array(
'gpt-3.5-turbo-16k' => array(
'description' => __( 'Same capabilities as the standard gpt-3.5-turbo model but with 4x the context length.', 'gravityforms-openai' ),
),
'gpt-4' => array(
'gpt-4' => array(
'description' => __( 'More capable than any GPT-3.5 model, able to do more complex tasks, and optimized for chat. Will be updated with the latest model iteration.', 'gravityforms-openai' ),
),
'gpt-4-32k' => array(
'description' => __( 'Same capabilities as the base gpt-4 mode but with 4x the context length. Will be updated with the latest model iteration.', 'gravityforms-openai' ),
'gpt-4-turbo-preview' => array(
'description' => __( 'The latest GPT-4 model. Supports a context window up to 128,000 tokens. Returns a maximum of 4,096 output tokens.', 'gravityforms-openai' ),
),
'gpt-4-1106-preview' => array(
'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(
Expand Down

0 comments on commit 0cf961d

Please sign in to comment.