---
html_theme:
  sidebar_secondary:
    remove: true
---

# ChatBHT Research Notes

```{raw} html
<figure class="institution-overview" aria-label="Institutional AI service: local models, SAIA and external models feed a university application; human work produces results to review and preserve.">
  <div class="institution-flow">
    <ul class="institution-sources">
      <li><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-server"></i></span><div><strong>Local Models</strong><span>Institutional infrastructure</span><small>Needs: Computation · Energy</small></div></li>
      <li><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-network-wired"></i></span><div><strong><a href="https://docs.hpc.gwdg.de/services/ai-services/saia/index.html">SAIA API</a></strong><span>GWDG · KISSKI</span><small>Needs: Shared infrastructure</small></div></li>
      <li><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-cloud"></i></span><div><strong>External Models</strong><span>Commercial providers</span><small class="institution-api-cost">Needs: <b aria-hidden="true">$$$</b> API costs</small></div></li>
    </ul>
    <div class="institution-inflow" aria-hidden="true">
      <svg class="institution-inflow-wide" viewBox="0 0 40 300" preserveAspectRatio="none"><path d="M 0 50 H 20 V 250 H 0 M 0 150 H 36"></path><path class="institution-arrowhead" d="M 29 146 L 37 150 L 29 154 Z"></path></svg>
      <svg class="institution-inflow-narrow" viewBox="0 0 300 40" preserveAspectRatio="none"><path d="M 50 0 V 20 H 250 V 0 M 150 0 V 36"></path><path class="institution-arrowhead" d="M 146 29 L 150 37 L 154 29 Z"></path></svg>
    </div>
    <div class="institution-campus">
      <div class="institution-campus-heading"><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-building-columns"></i></span><strong>University</strong></div>
      <div class="institution-application"><span>AI Application</span><small>Frontend options</small>
        <ul class="institution-frontends">
          <li><a href="https://chatbht.com" aria-label="ChatBHT"><img class="institution-logo-mono" src="_static/images/logo-neu.png" width="140" height="72" alt="ChatBHT"></a></li>
          <li><a href="https://docs.hpc.gwdg.de/services/ai-services/chat-ai/index.html" aria-label="Chat AI"><img src="_static/development/logos/chatai.svg" width="834" height="293" alt="Chat AI"></a></li>
          <li><a href="https://www.hawki.info/" aria-label="HAWKI"><img class="institution-logo-mono" src="_static/development/logos/hawki.svg" width="335" height="78" alt="HAWKI"></a></li>
          <li><a href="https://www.librechat.ai/" aria-label="LibreChat"><img class="institution-logo-symbol" src="_static/development/logos/librechat.svg" width="512" height="512" alt=""><span>LibreChat</span></a></li>
        </ul><small>Data · Access · Budgets</small></div>
      <div class="institution-community"><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-users"></i></span><span>Students · Educators · Researchers</span></div>
    </div>
    <div class="institution-transfer" aria-hidden="true"></div>
    <div class="institution-knowledge">
      <strong>Knowledge Potential</strong>
      <div class="institution-knowledge-pile" aria-hidden="true"><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-lightbulb"></i></span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-file-lines"></i></span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-image"></i></span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-code"></i></span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-chart-line"></i></span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-file-lines"></i></span></div>
      <p>Explanations · Graphics · Solutions · Code</p>
    </div>
  </div>
  <div class="institution-resources"><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-coins"></i></span><p><strong>Resources invested</strong><span>Compute · Energy · API fees · Human time</span></p></div>
</figure>
```

```{raw} html
<blockquote class="research-statement"><p><em>“A broad access to capable AI leads to decentralized innovation.”</em></p></blockquote>
<div class="research-intro">
  <p class="research-rationale">Students already use commercial AI for coursework. An institutional service provides equitable access while keeping responsibility for data, usage rules and budgets with the university.</p>
  <p class="research-lead"><strong>We need a data economy for AI-generated knowledge.</strong></p>
  <p>When someone develops a good explanation, creates a useful graphic with AI, or finds an interesting solution, work has gone into it. Computing resources were used, time was invested, and human decisions were made.</p>
  <p>Yet much of this knowledge disappears into personal chat histories.</p>
</div>
```

## Knowledge Cycle

```{raw} html
<p class="research-cycle-title"><strong>Prompt, Process, Provenance</strong></p>
<p class="research-cycle-credit"><a href="https://www.rd-alliance.org/groups/documenting-generative-ai-interactions-in-research-interest-group/work-statement/documenting-generative-ai-interactions-in-research-interest-group-statement-of-work/" title="framework proposal">Research Data Alliance</a> <span>· framework proposal</span></p>
<figure class="research-cycle" aria-label="Prompt, Process, Provenance: a circular knowledge cycle around ChatBHT">
  <svg class="research-cycle-arrows" viewBox="0 0 600 600" aria-hidden="true" focusable="false">
    <defs><marker id="research-cycle-arrow" viewBox="0 0 8 8" refX="7" refY="4" markerWidth="8" markerHeight="8" orient="auto"><path d="M 0 0 L 8 4 L 0 8 Z" fill="currentColor"></path></marker></defs>
    <path d="M 402.5 122.46 A 205 205 0 0 1 501.89 335.60"></path>
    <path d="M 402.5 477.54 A 205 205 0 0 1 197.5 477.54"></path>
    <path d="M 98.11 335.60 A 205 205 0 0 1 197.5 122.46"></path>
  </svg>
  <div class="research-cycle-core"><img src="_static/images/logo-neu.png" width="140" height="84" alt="ChatBHT"></div>
  <ol>
    <li class="research-cycle-node research-cycle-node-1"><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-comment-dots"></i></span><h3>Prompt</h3><p>Define the question and context.</p></li>
    <li class="research-cycle-node research-cycle-node-2"><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-gears"></i></span><h3>Process</h3><p>Generate, evaluate and revise.</p></li>
    <li class="research-cycle-node research-cycle-node-3"><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-fingerprint"></i></span><h3>Provenance</h3><p>Preserve the record for future work.</p></li>
  </ol>
</figure>
<div class="research-origin">
  <h3>How did the result come about?</h3>
  <ul><li>Which prompt was used?</li><li>What context was provided?</li><li>What output came back?</li><li>Which parts were adopted?</li><li>What did the human change afterwards?</li></ul>
</div>
```

## Design Principles

```{raw} html
<div class="research-principles">
  <details class="research-principle"><summary><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-universal-access"></i></span><strong>Access</strong><span class="research-principle-subtitle">Equal access</span></summary><p class="research-principle-description">Low-barrier access to capable models, accessible interfaces, responsible-use teaching and transparent cohort budgets.</p></details>
  <details class="research-principle"><summary><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-compass"></i></span><strong>Autonomy</strong><span class="research-principle-subtitle">Room to explore</span></summary><p class="research-principle-description">Permissionless innovation within agreed data and resource boundaries. Members can address institutional problems from within.</p></details>
  <details class="research-principle"><summary><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-user-shield"></i></span><strong>Trust</strong><span class="research-principle-subtitle">Transparent use</span></summary><p class="research-principle-description">Transparent model choices, clear data handling and deliberate sharing. Private by default; no hidden prompt analysis or automated student rankings.</p></details>
  <details class="research-principle"><summary><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-box-archive"></i></span><strong>Archive</strong><span class="research-principle-subtitle">Lasting knowledge</span></summary><p class="research-principle-description">Preserve reviewed results with their context, version and permissions. Make them searchable and reusable without losing their origin.</p></details>
</div>
```

## Knowledge Architecture

```{raw} html
<ol class="research-architecture">
  <li data-status="available">
    <div class="research-layer-symbol"><span class="research-layer-number">01</span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-code-branch"></i></span></div>
    <div class="research-layer-body"><h3>Versioned Archive</h3><p>Git keeps a history of saved changes; GitLab makes these files accessible as projects with access permissions. ChatBHT already archives conversations, metadata and agent files there. A commit link points to one exact saved version, so later changes do not obscure what was originally recorded.</p></div>
  </li>
  <li data-status="proposed">
    <div class="research-layer-symbol"><span class="research-layer-number">02</span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-bolt"></i></span></div>
    <div class="research-layer-body"><h3>Automatic Updates</h3><p><a href="https://docs.gitlab.com/administration/system_hooks/">GitLab System Hooks</a> are automatic notifications from the archive server. When a project is created or new files are uploaded, an enabled hook can notify a processing service. The proposed service would check permissions and queue approved changes across projects, instead of checking every archive manually.</p></div>
  </li>
  <li data-status="proposed">
    <div class="research-layer-symbol"><span class="research-layer-number">03</span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-filter"></i></span></div>
    <div class="research-layer-body"><h3>Structured Records</h3><p>An extractor would read changed archives and turn the recorded details into a consistent entry: prompt, model, context, output and human contribution, where available. Each entry would retain its source version. Results from different projects could then be searched and compared in the same way.</p>
      <details class="research-fields"><summary>Proposed record fields</summary><ul><li><code>interaction_id</code></li><li><code>timestamp</code></li><li><code>subject</code></li><li><code>model</code></li><li><code>model_version</code></li><li><code>prompt</code></li><li><code>context_sources</code></li><li><code>output</code></li><li><code>tool_calls</code></li><li><code>artefacts</code></li><li><code>token_usage</code></li><li><code>visibility</code></li><li><code>license</code></li><li><code>human_review</code></li><li><code>human_changes</code></li><li><code>commit_id</code></li></ul></details></div>
  </li>
  <li data-status="proposed">
    <div class="research-layer-symbol"><span class="research-layer-number">04</span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-database"></i></span></div>
    <div class="research-layer-body"><h3>Searchable Catalogue</h3><p>A separate search store would catalogue approved entries, avoiding the need to reopen thousands of projects for each question. It would support keyword searches, topic similarity and aggregate statistics. Changes to permissions or deleted source material would also have to be reflected in the catalogue.</p></div>
  </li>
  <li data-status="proposed">
    <div class="research-layer-symbol"><span class="research-layer-number">05</span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-diagram-project"></i></span></div>
    <div class="research-layer-body"><h3>Linked Knowledge</h3><p>A knowledge graph would connect entries through named relationships: which source was used, which dialogue produced a graphic, or where a result was reused. Similarity could suggest related work; human review would distinguish these suggestions from verified connections.</p>
      <ul class="research-relations"><li><span>Prompt</span><span class="research-relation">resembles</span><span>Prompt</span></li><li><span>Artefact</span><span class="research-relation">derived from</span><span>Interaction</span></li><li><span>Interaction</span><span class="research-relation">uses</span><span>Source</span></li><li><span>Result</span><span class="research-relation">reused in</span><span>Project</span></li></ul></div>
  </li>
  <li data-status="proposed">
    <div class="research-layer-symbol"><span class="research-layer-number">06</span><span class="research-icon" aria-hidden="true"><i class="fa-solid fa-magnifying-glass"></i></span></div>
    <div class="research-layer-body"><h3>Institutional Search</h3><p>An AI-assisted search would answer questions using the institution's approved archives and link back to the recorded versions. It could reveal related work across departments and partner institutions. Personal introductions would be opt-in; access permissions would still apply to every result.</p>
      <blockquote class="research-queries"><p>Which MQTT security approaches have already been developed at our university?</p><p>Which prompts produced useful explanatory graphics for mechatronics?</p></blockquote></div>
  </li>
</ol>
```
