Skip to content

Commit

Permalink
Increase max token limit to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
Dennis Benz authored and dennis531 committed Mar 26, 2024
1 parent e619660 commit 37011bc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion controllers/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ public function requestOpenai(string $prompt, \Courseware\Block $block, array $b
'content' => $prompt,
],
],
'max_tokens' => 200,
'max_tokens' => 500,
'temperature' => 0.9,
'top_p' => 1,
'frequency_penalty' => 0,
Expand Down

0 comments on commit 37011bc

Please sign in to comment.