diff --git a/includes/LegalTools.php b/includes/LegalTools.php index 62b237c..5b21410 100644 --- a/includes/LegalTools.php +++ b/includes/LegalTools.php @@ -6,7 +6,7 @@ require_once __DIR__ . '/AzureOpenAiGateway.php'; final class DbnLegalToolsService { - private const MAX_PASTE_CHARS = 32000; + private const MAX_PASTE_CHARS = 128000; private DbnAzureOpenAiGateway $azure; @@ -841,7 +841,7 @@ PROMPT; ['role' => 'user', 'content' => $preRedacted], ], [ 'temperature' => 0.1, - 'max_tokens' => 4000, + 'max_tokens' => 8000, 'json' => true, 'timeout' => 90, ]);