Add redact doc pages; update timeline docs to remove GPU references

- New: redact-about.php, redact-guide.php, redact-tech.php with full
  two-pass pipeline docs, regional rule sets, output format comparison
- New: translations/redact-{about,guide,tech}.php (en + no)
- redact.php: add About/Guide/How-it-works doc links
- timeline-guide.php: remove GPU/cuttlefish engine row
- timeline-tech.php: remove GPU row, replace fine-tuned LLM section
  with SSE streaming + DOCX export section, stat4 3→2 engines
- timeline-about.php: replace dbn-legal-agent spotlight with
  SSE/DOCX export highlight
- translations/timeline-{about,guide,tech}.php: remove all GPU/
  cuttlefish references across all 4 languages; add stream_* and
  export_* keys; fix upload copy (5 files → 1 file)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-05-25 09:53:54 +02:00
parent d47024ed67
commit 1d1bbeb69f
13 changed files with 1524 additions and 68 deletions
+10 -10
View File
@@ -25,7 +25,7 @@ return array (
'toc_9' => 'Evidence trail, uncertainty & next step',
'toc_10' => 'Tips & gotchas',
'step1_title' => 'Choose your engine',
'step1_intro' => 'The engine controls the AI model used for extraction. Azure engines use your BNL Azure credits. The GPU engine runs the LiteLLM proxy on the local cuttlefish server with the dbn-legal-agent fine-tuned model.',
'step1_intro' => 'The engine controls the AI model used for extraction. Both engines use Azure OpenAI (West Europe). gpt-4o-mini costs 1 credit; gpt-4o costs 2 credits.',
'th_engine' => 'Engine',
'th_speed' => 'Speed',
'th_best' => 'Best for',
@@ -63,9 +63,9 @@ return array (
'step5_p2_html' => '<strong>When to uncheck:</strong> if you need only exact calendar dates — for example when exporting to a calendar app, a deadline tracker, or a court submission that requires hard dates only. Unchecking removes all events without a resolvable absolute date.',
'step6_title' => 'Upload files',
'step6_p1_html' => 'Drag files onto the upload zone or click <strong>browse</strong>. A file list appears below with a Clear button to remove files.',
'step6_p2_html' => '<strong>Supported formats:</strong> <strong>PDF</strong>, <strong>DOCX</strong>, <strong>TXT</strong>. Up to 5 files per run.',
'step6_p2_html' => '<strong>Supported formats:</strong> <strong>PDF</strong>, <strong>DOCX</strong>, <strong>TXT</strong>. One file per run.',
'step6_p3' => 'Files are extracted to text in memory. Nothing is written to disk. Nothing is retained after the session ends.',
'step6_p4' => 'Upload and pasted text can be combined — the AI reads all sources together as a single input. If a case spans multiple documents, upload them all and let the tool assemble one unified timeline.',
'step6_p4' => 'Uploaded file and pasted text can be combined — the AI reads both together as a single input. For cases spanning multiple documents, paste additional text into the text area alongside the uploaded file.',
'step7_title' => 'Pasted text & context notes',
'step7_p1_html' => 'Paste up to <strong>128,000 characters</strong> of text into the main text area — approximately 90100 pages of A4. This can include case notes, decision letters, correspondence, or any document containing dates.',
'step7_p2_html' => '<strong>Context notes</strong> (optional, up to 2,000 characters): use this field to guide the AI on ambiguities in your document. These notes are passed directly into the extraction prompt and are not stored. Good examples:',
@@ -95,7 +95,7 @@ return array (
'tip2_html' => '<strong>Combine upload and paste for best coverage.</strong> Upload the main decision letter and paste related case notes into the text area. The AI reads all sources together and produces one unified timeline.',
'tip3_html' => '<strong>Run All events first, then re-run with focus.</strong> Start with the default "All events" mode to see the full picture. Then re-run with a specific focus mode (e.g. Legal deadlines) if you need a filtered view for a submission.',
'tip4_html' => '<strong>Date types off for clean deadline lists.</strong> If you\'re exporting to a calendar or deadline tracker, uncheck "Date types" to return only resolved calendar dates — no relative or recurring entries to sort through.',
'tip5_html' => '<strong>GPU engine for maximum privacy.</strong> The cuttlefish engine processes entirely locally using dbn-legal-agent — nothing leaves your network. Use it for the most sensitive case material.',
'tip5_html' => '<strong>Use gpt-4o for complex or heavily contested cases.</strong> The higher-accuracy engine handles overlapping timelines, ambiguous phrasing, and dense source text better than gpt-4o-mini. Costs 2 credits.',
'tip6_html' => '<strong>LOW confidence isn\'t wrong — it\'s uncertain.</strong> A LOW confidence event may still be correct and important. Read the source excerpt for each LOW event before dismissing it — the AI may have found a real date that was just expressed ambiguously.',
'cta_title' => 'Ready to try it?',
'cta_sub' => 'Free for Do Better Norge members.',
@@ -127,7 +127,7 @@ return array (
'toc_9' => 'Bevissti, usikkerhet & neste steg',
'toc_10' => 'Tips & fallgruver',
'step1_title' => 'Velg motor',
'step1_intro' => 'Motoren kontrollerer AI-modellen som brukes til ekstraksjon. Azure-motorer bruker dine BNL Azure-kreditter. GPU-motoren kjører LiteLLM-proxyen på den lokale cuttlefish-serveren med den finjusterte modellen dbn-legal-agent.',
'step1_intro' => 'Motoren kontrollerer AI-modellen som brukes til ekstraksjon. Begge motorer bruker Azure OpenAI (Vest-Europa). gpt-4o-mini koster 1 kreditt; gpt-4o koster 2 kreditter.',
'th_engine' => 'Motor',
'th_speed' => 'Hastighet',
'th_best' => 'Best for',
@@ -197,7 +197,7 @@ return array (
'tip2_html' => '<strong>Kombiner opplasting og innliming for best dekning.</strong> Last opp hovedbeslutningsbrevet og lim inn relaterte saksnotater i tekstområdet. AI-en leser alle kilder sammen og produserer en samlet tidslinje.',
'tip3_html' => '<strong>Kjør Alle hendelser først, deretter kjør på nytt med fokus.</strong> Start med standard "Alle hendelser"-modus for å se det fulle bildet. Kjør deretter på nytt med en spesifikk fokusmodus (f.eks. Juridiske frister) hvis du trenger en filtrert visning for en innlevering.',
'tip4_html' => '<strong>Dato typer av for rene fristlister.</strong> Hvis du eksporterer til en kalender eller fristsporer, fjern merket for "Dato typer" for å returnere kun løste kalenderdatoer — ingen relative eller gjentakende oppføringer å sortere gjennom.',
'tip5_html' => '<strong>GPU-motor for maksimal personvern.</strong> Cuttlefish-motoren behandler helt lokalt ved hjelp av dbn-legal-agent — ingenting forlater nettverket ditt. Bruk den for det mest sensitive saksmaterialet.',
'tip5_html' => '<strong>Bruk gpt-4o for komplekse eller omstridte saker.</strong> Den mer nøyaktige motoren ndterer overlappende tidslinjer, tvetydig formulering og tett kildetekst bedre enn gpt-4o-mini. Koster 2 kreditter.',
'tip6_html' => '<strong>LOW tillit er ikke feil — det er usikkert.</strong> En LOW tillit-hendelse kan fortsatt være korrekt og viktig. Les kildeutdraget for hver LOW-hendelse før du avviser den — AI-en kan ha funnet en reell dato som bare ble uttrykt tvetydig.',
'cta_title' => 'Klar til å prøve det?',
'cta_sub' => 'Gratis for Do Better Norge-medlemmer.',
@@ -229,7 +229,7 @@ return array (
'toc_9' => 'Слід доказів, невизначеність та наступний крок',
'toc_10' => 'Поради та підводні камені',
'step1_title' => 'Виберіть свій двигун',
'step1_intro' => 'Двигун контролює модель ШІ, що використовується для витягування. Двигуни Azure використовують ваші кредити BNL Azure. Двигун GPU запускає проксі LiteLLM на локальному сервері cuttlefish з налаштованою моделлю dbn-legal-agent.',
'step1_intro' => 'Двигун контролює модель ШІ для витягування. Обидва двигуни використовують Azure OpenAI (Захід Європи). gpt-4o-mini коштує 1 кредит; gpt-4o коштує 2 кредити.',
'th_engine' => 'Двигун',
'th_speed' => 'Швидкість',
'th_best' => 'Найкраще для',
@@ -299,7 +299,7 @@ return array (
'tip2_html' => '<strong>Поєднуйте завантаження та вставку для найкращого покриття.</strong> Завантажте основний лист рішення та вставте пов\'язані нотатки справи в текстову область. ШІ читає всі джерела разом і створює одну єдину хронологію.',
'tip3_html' => '<strong>Спочатку запустіть всі події, а потім повторно запустіть з фокусом.</strong> Почніть з режиму "Усі події" за замовчуванням, щоб побачити повну картину. Потім повторно запустіть з конкретним режимом фокусу (наприклад, Юридичні терміни), якщо вам потрібен відфільтрований вигляд для подання.',
'tip4_html' => '<strong>Типи дат вимкнені для чистих списків термінів.</strong> Якщо ви експортуєте в календар або трекер термінів, зніміть позначку з "Типи дат", щоб повернути лише вирішені календарні дати — без відносних або повторюваних записів для сортування.',
'tip5_html' => '<strong>GPU-двигун для максимальної конфіденційності.</strong> Двигун cuttlefish обробляє повністю локально, використовуючи dbn-legal-agent — нічого не покидає вашу мережу. Використовуйте його для найбільш чутливих матеріалів справ.',
'tip5_html' => '<strong>Використовуйте gpt-4o для складних або спірних справ.</strong> Двигун з вищою точністю краще справляється з перекривними хронологіями, неоднозначними формулюваннями та щільним вихідним текстом. Коштує 2 кредити.',
'tip6_html' => '<strong>Низька впевненість не є помилкою — це невизначеність.</strong> Подія з низькою впевненістю може бути все ще правильною та важливою. Прочитайте витяг з джерела для кожної події з низькою впевненістю перед тим, як відхилити її — ШІ могло знайти реальну дату, яка була просто виражена неоднозначно.',
'cta_title' => 'Готові спробувати?',
'cta_sub' => 'Безкоштовно для учасників Do Better Norge.',
@@ -331,7 +331,7 @@ return array (
'toc_9' => 'Ścieżka dowodowa, niepewność i następny krok',
'toc_10' => 'Wskazówki i pułapki',
'step1_title' => 'Wybierz swój silnik',
'step1_intro' => 'Silnik kontroluje model AI używany do ekstrakcji. Silniki Azure wykorzystują Twoje kredyty BNL Azure. Silnik GPU uruchamia proxy LiteLLM na lokalnym serwerze cuttlefish z modelem dbn-legal-agent dostosowanym do potrzeb.',
'step1_intro' => 'Silnik kontroluje model AI używany do ekstrakcji. Oba silniki używają Azure OpenAI (Europa Zachodnia). gpt-4o-mini kosztuje 1 kredyt; gpt-4o kosztuje 2 kredyty.',
'th_engine' => 'Silnik',
'th_speed' => 'Szybkość',
'th_best' => 'Najlepszy dla',
@@ -401,7 +401,7 @@ return array (
'tip2_html' => '<strong>Połącz przesyłanie i wklejanie dla najlepszego pokrycia.</strong> Prześlij główny list decyzji i wklej powiązane notatki sprawy do obszaru tekstowego. AI odczytuje wszystkie źródła razem i produkuje jedną zjednoczoną oś czasu.',
'tip3_html' => '<strong>Najpierw uruchom wszystkie wydarzenia, a następnie uruchom ponownie z naciskiem.</strong> Zacznij od domyślnego trybu "Wszystkie wydarzenia", aby zobaczyć pełny obraz. Następnie uruchom ponownie z określonym trybem skupienia (np. Terminy prawne), jeśli potrzebujesz filtrowanego widoku do złożenia.',
'tip4_html' => '<strong>Typy dat wyłączone dla czystych list terminów.</strong> Jeśli eksportujesz do kalendarza lub śledzenia terminów, odznacz "Typy dat", aby zwrócić tylko rozwiązane daty kalendarzowe — bez względnych lub powtarzających się wpisów do przefiltrowania.',
'tip5_html' => '<strong>Silnik GPU dla maksymalnej prywatności.</strong> Silnik cuttlefish przetwarza całkowicie lokalnie przy użyciu dbn-legal-agent — nic nie opuszcza twojej sieci. Użyj go dla najbardziej wrażliwych materiałów sprawy.',
'tip5_html' => '<strong>Użyj gpt-4o w złożonych lub spornych sprawach.</strong> Silnik o wyższej dokładności lepiej radzi sobie z nakładającymi się harmonogramami, niejednoznacznymi sformułowaniami i gęstym tekstem źródłowym. Kosztuje 2 kredyty.',
'tip6_html' => '<strong>NISKA pewność nie jest błędna — to niepewność.</strong> Wydarzenie o NISKIEJ pewności może być nadal poprawne i ważne. Przeczytaj fragment źródła dla każdego wydarzenia o NISKIEJ pewności przed jego odrzuceniem — AI mogło znaleźć rzeczywistą datę, która była po prostu wyrażona niejednoznacznie.',
'cta_title' => 'Gotowy, aby spróbować?',
'cta_sub' => 'Darmowe dla członków Do Better Norge.',