Skip to content

Commit d96b73d

Browse files
committed
func(GPT): Upgrade model to gpt-4o.
1 parent 0a0710f commit d96b73d

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

app/Http/Controllers/GptRoundEligibilityScoreController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public function scoreRounds()
6262
$gptResponse = Cache::get($cacheKey);
6363
} else {
6464
$gptResponse = $open_ai->chat([
65-
'model' => 'gpt-4-1106-preview',
65+
'model' => 'gpt-4o-2024-05-13', // gpt-4-1106-preview
6666
'messages' => $messages,
6767
'temperature' => 1.0,
6868
'max_tokens' => 1000,

app/Http/Controllers/ProjectController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ public function doGPTSummary(Project $project)
410410
];
411411

412412
$gptResponse = $open_ai->chat([
413-
'model' => 'gpt-4-1106-preview',
413+
'model' => 'gpt-4o-2024-05-13', // gpt-4-1106-preview
414414
'messages' => $messages,
415415
'temperature' => 1.0,
416416
'max_tokens' => 4000,

app/Http/Controllers/RoundApplicationController.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,7 @@ private function chatGPT(RoundApplication $application)
422422
// dd($messages);
423423

424424
$gptResponse = $open_ai->chat([
425-
'model' => 'gpt-4-1106-preview',
425+
'model' => 'gpt-4o-2024-05-13', // gpt-4-1106-preview
426426
'messages' => $messages,
427427
'temperature' => 1.0,
428428
'max_tokens' => 4000,

0 commit comments

Comments
 (0)