ai-use-declaration / index.html
feedcomposer's picture
Upload 13 files
f0df45f verified
Raw History Blame Contribute Delete
5.93 kB
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>AI Use Declaration</title>
<meta name="description" content="Generate a standardized one- or two-sentence AI use declaration for documents and slides, based on the GAIDeT taxonomy.">
<link rel="icon" href="data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Crect width='32' height='32' rx='6' fill='%231f6f50'/%3E%3Ctext x='16' y='22' font-size='17' text-anchor='middle' fill='white' font-family='sans-serif'%3EAI%3C/text%3E%3C/svg%3E">
<link rel="stylesheet" href="style.css">
</head>
<body>
<header class="site-header">
<div class="wrap">
<h1>AI Use Declaration</h1>
<p class="lede">Tick what generative AI did, name the tool, and copy a standardized one- or two-sentence statement for your document or slide deck. Task categories follow the <a href="https://doi.org/10.1080/08989621.2025.2544331" target="_blank" rel="noopener">GAIDeT taxonomy</a>.</p>
</div>
</header>
<main class="wrap layout">
<form id="form" class="form" autocomplete="off" onsubmit="return false;">
<fieldset class="card">
<legend>1. Was generative AI used?</legend>
<div class="radio-row">
<label><input type="radio" name="used" value="1" checked> Yes</label>
<label><input type="radio" name="used" value="0"> No, declare that no generative AI was used</label>
</div>
</fieldset>
<fieldset class="card" id="tasks-card">
<legend>2. Which tasks were delegated to AI?</legend>
<p class="help">Task labels follow Table 1 of the GAIDeT paper; hover a task to see its permanent identifier. <button type="button" class="linkish" id="clear-tasks">Clear all</button></p>
<div id="task-groups"></div>
</fieldset>
<fieldset class="card" id="tools-card">
<legend>3. Which tool(s)?</legend>
<p class="help">Include the model and version where you know it, for example "Claude Opus 5.5" or "ChatGPT (GPT-5)". Press Enter or Add after each tool.</p>
<div class="chip-input">
<input type="text" id="tool-input" list="tool-suggestions" placeholder="Tool name and version" aria-label="Tool name and version">
<datalist id="tool-suggestions"></datalist>
<button type="button" id="tool-add">Add</button>
</div>
<ul id="tool-chips" class="chips" aria-live="polite"></ul>
</fieldset>
<fieldset class="card">
<legend>4. Who is responsible, and for what?</legend>
<div class="grid-2">
<div>
<label for="party">Responsible party</label>
<select id="party"></select>
<div id="party-custom" class="subfield hidden">
<input type="text" id="party-text" placeholder="e.g. the research team" aria-label="Custom responsible party">
<label class="inline"><input type="checkbox" id="party-plural" checked> plural (take, not takes)</label>
</div>
</div>
<div>
<label for="work">Type of work</label>
<select id="work"></select>
<div id="work-custom" class="subfield hidden">
<input type="text" id="work-text" placeholder="e.g. policy note" aria-label="Custom type of work">
</div>
</div>
</div>
</fieldset>
<fieldset class="card">
<legend>5. Options</legend>
<label class="inline"><input type="checkbox" id="opt-review" checked> Include the human review and responsibility clause</label>
<label class="inline"><input type="checkbox" id="opt-cite"> Reference the GAIDeT taxonomy in the statement</label>
<label class="inline"><input type="checkbox" id="opt-rollup"> Summarize tasks at the category level instead of listing each task</label>
</fieldset>
</form>
<aside class="output" aria-label="Generated declaration">
<div class="card sticky">
<div class="tabs" role="tablist" id="style-tabs"></div>
<p class="help" id="style-hint"></p>
<div id="output" class="output-text" aria-live="polite" tabindex="0"></div>
<div class="meta"><span id="char-count"></span></div>
<ul id="notes" class="notes hidden" aria-live="polite"></ul>
<div class="actions">
<button type="button" id="copy-text" class="primary">Copy text</button>
<button type="button" id="copy-link">Copy link to this declaration</button>
<button type="button" id="reset" class="linkish">Reset</button>
</div>
<p class="help small">The link reopens this page with the same selections, so a declaration can be reproduced or linked from a slide.</p>
</div>
</aside>
</main>
<footer class="site-footer">
<div class="wrap">
<p><strong>About.</strong> Task categories and labels come from GAIDeT, the Generative AI Delegation Taxonomy: Suchikova, Y., Tsybuliak, N., Teixeira da Silva, J. A., &amp; Nazarovets, S. (2026). <em>Accountability in Research</em>, 33(3). <a href="https://doi.org/10.1080/08989621.2025.2544331" target="_blank" rel="noopener">doi:10.1080/08989621.2025.2544331</a>. Each task carries a permanent identifier under <a href="https://w3id.org/gaidet/" target="_blank" rel="noopener">w3id.org/gaidet</a> for use in metadata. For a full multi-line manuscript declaration, use the authors' <a href="https://panbibliotekar.github.io/gaidet-declaration/" target="_blank" rel="noopener">GAIDeT Declaration Generator</a>.</p>
<p><strong>Privacy.</strong> Everything runs in your browser. Nothing you enter is sent anywhere or stored.</p>
<p class="small">Taxonomy data <span id="tax-version"></span>, templates v<span id="tpl-version"></span>. Code and taxonomy data under the MIT licence.</p>
</div>
</footer>
<script src="data/gaidet.js"></script>
<script src="data/templates.js"></script>
<script src="compose.js"></script>
<script src="app.js"></script>
</body>
</html>