Skip to content

Commit

Permalink
Switch to gpt-4
Browse files Browse the repository at this point in the history
  • Loading branch information
Tschucki authored Jan 30, 2024
1 parent a65ba5f commit 7973db5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/Jobs/CreateTldrCommentJob.php
Original file line number Diff line number Diff line change
Expand Up @@ -136,7 +136,7 @@ protected function getTldrValue(string $comment): ?string
try {
$client = OpenAI::client(config('services.openai.api_key'));
$response = $client->chat()->create([
'model' => 'gpt-3.5-turbo',
'model' => 'gpt-4',
'messages' => [
['role' => 'user', 'content' => $this->basePrompt.$comment],
],
Expand Down

0 comments on commit 7973db5

Please sign in to comment.