component · chat

TuxContextPanel

Right-rail surface for the assistant's grounding context — corpora attached, retrieval settings, usage metrics. Slot-driven; the panel contributes the chrome (border, scroll, width, padding) and the host arranges sections inside. Pair with TuxSectionHeader for editorial rhythm.

basic

Three-zone panel

<tux-context-panel>
  <tux-section-header level="3" subtitle="Docs the model will ground answers against.">
    CORPUS
  </tux-section-header>
  <ul>
    <li><code>tti-corridors</code> — 1,204 docs</li>
    <li><code>tti-research</code> — 312 docs</li>
    <li><code>txdot-rule-43</code> — 1 doc · §31.12</li>
  </ul>

  <tux-section-header level="3" subtitle="What the retriever will surface.">
    RETRIEVAL
  </tux-section-header>
  <dl>
    <dt>top-k</dt>     <dd>8</dd>
    <dt>min-score</dt> <dd>0.72</dd>
    <dt>rerank</dt>    <dd>cohere-v3</dd>
  </dl>
</tux-context-panel>