d2f9831472
Adds /corpus.php — a data transparency page showing what powers the legal tools: 9 coverage categories with live doc counts, a full sources table pulled from the corpus DB, the AI stack (LLMs, Whisper, Qdrant, Azure AI Search, embeddings, chunking), and a pipeline flow diagram. Stats are live via a new /api/corpus-stats.php endpoint (queries dobetter_rag + bnl_admin). The reasoning sidebar is repurposed as a Corpus health panel on this page. Also ships the in-progress timeline background events toggle: API and UI wired together via include_background param. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
30 lines
1.1 KiB
PHP
30 lines
1.1 KiB
PHP
</section><!-- /tool-panel -->
|
|
|
|
<aside class="reasoning-panel" aria-labelledby="reasoningTitle">
|
|
<?php if (!empty($reasoningPanelOverride)): ?>
|
|
<?= $reasoningPanelOverride ?>
|
|
<?php else: ?>
|
|
<div class="reasoning-head">
|
|
<p class="eyebrow">Evidence trail</p>
|
|
<h2 id="reasoningTitle">Reasoning</h2>
|
|
</div>
|
|
<ol id="traceList" class="trace-list">
|
|
<li>
|
|
<span class="trace-status waiting"></span>
|
|
<div>
|
|
<strong>Waiting</strong>
|
|
<p>Run a tool to see interpretation, retrieval, confidence, uncertainty, and next step.</p>
|
|
</div>
|
|
</li>
|
|
</ol>
|
|
<?php endif; ?>
|
|
</aside>
|
|
</section><!-- /workspace -->
|
|
</main><!-- /appShell -->
|
|
<script src="assets/js/tools.js" defer></script>
|
|
<?php if (!empty($extraScripts) && is_array($extraScripts)): foreach ($extraScripts as $extraScript): ?>
|
|
<script src="<?= htmlspecialchars((string)$extraScript) ?>" defer></script>
|
|
<?php endforeach; endif; ?>
|
|
</body>
|
|
</html>
|