Raise MAX_PASTE_CHARS to 128K and redaction max_tokens to 8000
This commit is contained in:
@@ -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,
|
||||||
]);
|
]);
|
||||||
|
|||||||
Reference in New Issue
Block a user