From 44407a149cbcc673328650fbc146cff3705163af Mon Sep 17 00:00:00 2001 From: David Zborowski Date: Fri, 16 Feb 2024 09:30:19 +0000 Subject: [PATCH 1/3] Update OpenAI models in config to latest versions --- config/laragenie.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/laragenie.php b/config/laragenie.php index 89044a1..6df970f 100644 --- a/config/laragenie.php +++ b/config/laragenie.php @@ -33,11 +33,11 @@ 'openai' => [ 'embedding' => [ - 'model' => 'text-embedding-ada-002', + 'model' => 'text-embedding-3-small', 'max_tokens' => 5, ], 'chat' => [ - 'model' => 'gpt-4-1106-preview', + 'model' => 'gpt-4-turbo-preview', 'temperature' => 0.1, ], ], From 215d7b6019957572a77a13a68c17f32521809ed1 Mon Sep 17 00:00:00 2001 From: David Zborowski Date: Fri, 16 Feb 2024 17:29:24 +0000 Subject: [PATCH 2/3] Update README with new OpenAI model configurations --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 9da598f..75cb8c4 100644 --- a/README.md +++ b/README.md @@ -110,11 +110,11 @@ return [ 'openai' => [ 'embedding' => [ - 'model' => 'text-embedding-ada-002', // Text embedding model + 'model' => 'text-embedding-3-small', // Text embedding model 'max_tokens' => 5, // Maximum tokens to use when embedding ], 'chat' => [ - 'model' => 'gpt-4-1106-preview', // Your OpenAI GPT model + 'model' => 'gpt-4-turbo-preview', // Your OpenAI GPT model 'temperature' => 0.1, // Set temperature on the model ], ], From b0549eb76705c4a617872b57453790d94431a111 Mon Sep 17 00:00:00 2001 From: Josh Embling Date: Sat, 17 Feb 2024 15:06:40 +0000 Subject: [PATCH 3/3] Update temperature instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 75cb8c4..ce5a69c 100644 --- a/README.md +++ b/README.md @@ -115,7 +115,7 @@ return [ ], 'chat' => [ 'model' => 'gpt-4-turbo-preview', // Your OpenAI GPT model - 'temperature' => 0.1, // Set temperature on the model + 'temperature' => 0.1, // Set temperature between 0 and 1 (lower values will have less irrelevance) ], ],