Skip to content

Commit

Permalink
Switch GPT models
Browse files Browse the repository at this point in the history
  • Loading branch information
waldoj committed Nov 22, 2024
1 parent 24bf8b8 commit eb3a364
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cron/tags.php
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@
$prompt = $bill['catch_line'] . "\n\n" . $bill['summary'];

$data = [
'model' => 'gpt-4-1106-preview',
'model' => 'gpt-4o',
'messages' => [
['role' => 'system', 'content' => $role],
['role' => 'user', 'content' => 'Please provide tags for the following bill: ' . $prompt]
Expand Down
2 changes: 1 addition & 1 deletion cron/update_places.php
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
}

$data = [
'model' => 'gpt-4-1106-preview',
'model' => 'gpt-4o',
'messages' => [
['role' => 'system', 'content' => $role],
['role' => 'user', 'content' => 'Please extract place names from the following text: '
Expand Down

0 comments on commit eb3a364

Please sign in to comment.