Skip to content

Commit

Permalink
Merge pull request #23 from chr-hertel/low-temperature
Browse files Browse the repository at this point in the history
set low temperature
  • Loading branch information
chr-hertel authored Dec 2, 2023
2 parents 4e7ab7c + cf04347 commit 52f506b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/DeComplex/ComplexitySimplifier.php
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ public function try(string $code): string

$result = $this->client->chat()->create([
'model' => 'gpt-3.5-turbo',
'temperature' => 0.3,
'messages' => [
['role' => 'system', 'content' => $systemPrompt],
['role' => 'user', 'content' => $code],
Expand Down

0 comments on commit 52f506b

Please sign in to comment.