Raise MAX_PASTE_CHARS to 128K and redaction max_tokens to 8000

This commit is contained in:
2026-05-13 07:41:41 +02:00
parent 95685862ab
commit 634a4fa154
+2 -2
View File
@@ -6,7 +6,7 @@ require_once __DIR__ . '/AzureOpenAiGateway.php';
final class DbnLegalToolsService final class DbnLegalToolsService
{ {
private const MAX_PASTE_CHARS = 32000; private const MAX_PASTE_CHARS = 128000;
private DbnAzureOpenAiGateway $azure; private DbnAzureOpenAiGateway $azure;
@@ -841,7 +841,7 @@ PROMPT;
['role' => 'user', 'content' => $preRedacted], ['role' => 'user', 'content' => $preRedacted],
], [ ], [
'temperature' => 0.1, 'temperature' => 0.1,
'max_tokens' => 4000, 'max_tokens' => 8000,
'json' => true, 'json' => true,
'timeout' => 90, 'timeout' => 90,
]); ]);