2d8d1c7409
Five MVP tools (Ask, Search, Summarize, Timeline, Redact) with email+password auth, Azure OpenAI gateway, evidence trail panel, and process-and-forget privacy default. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
15 lines
417 B
PHP
15 lines
417 B
PHP
<?php
|
|
declare(strict_types=1);
|
|
|
|
require_once __DIR__ . '/../includes/LegalTools.php';
|
|
|
|
dbnToolsRequireMethod('POST');
|
|
dbnToolsRequireAuth();
|
|
$input = dbnToolsJsonInput(70000);
|
|
|
|
dbnToolsWithTelemetry('redact', '', function () use ($input): array {
|
|
$text = dbnToolsString($input, 'text', 32000);
|
|
$mode = (string)($input['mode'] ?? 'standard');
|
|
return (new DbnLegalToolsService())->redact($text, $mode);
|
|
});
|