Skip to content

Commit

Permalink
Merge pull request #11 from zbora23/feature/update-default-config
Browse files Browse the repository at this point in the history
Update OpenAI models to latest versions by default
  • Loading branch information
joshembling authored Feb 17, 2024
2 parents a45a31a + b0549eb commit 7958988
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -112,12 +112,12 @@ 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
'temperature' => 0.1, // Set temperature on the model
'model' => 'gpt-4-turbo-preview', // Your OpenAI GPT model
'temperature' => 0.1, // Set temperature between 0 and 1 (lower values will have less irrelevance)
],
],

Expand Down
4 changes: 2 additions & 2 deletions config/laragenie.php
Original file line number Diff line number Diff line change
Expand Up @@ -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,
],
],
Expand Down

0 comments on commit 7958988

Please sign in to comment.