Spaces:
Running
Running
|
Download README.md from CGIAR/ai-use-declaration: direct link, hf CLI and curl.
- Browser
- Download file 4.42 kB
-
https://huggingface.co/spaces/CGIAR/ai-use-declaration/resolve/main/README.md
- Command line
-
hf download hf://spaces/CGIAR/ai-use-declaration/README.md
-
curl -L -o README.md https://huggingface.co/spaces/CGIAR/ai-use-declaration/resolve/main/README.md
4.42 kB
| title: AI Use Declaration | |
| emoji: 📝 | |
| colorFrom: green | |
| colorTo: gray | |
| sdk: static | |
| app_file: index.html | |
| pinned: false | |
| license: mit | |
| short_description: One-line AI use statements based on the GAIDeT taxonomy | |
| # AI Use Declaration | |
| A small static web tool that produces a **standardized one- or two-sentence declaration of | |
| generative AI use** for documents and slide decks. Users tick the tasks delegated to AI, name the | |
| tool(s), choose who is responsible, and copy the sentence. Task categories follow the | |
| [GAIDeT taxonomy](https://doi.org/10.1080/08989621.2025.2544331) (Generative AI Delegation | |
| Taxonomy), and every task carries its permanent identifier under [w3id.org/gaidet](https://w3id.org/gaidet/) for use in metadata. | |
| Three output styles are generated from the same inputs: | |
| | Style | Example | | |
| |---|---| | |
| | Document | Generative AI (Claude Opus 5.5) was used for code generation; code optimization; and preparation of press releases and outreach materials. All AI-generated material was reviewed, tested, and validated by the authors, who take full responsibility for the content. | | |
| | Slide | AI use: code generation, code optimization, and outreach materials (Claude Opus 5.5); reviewed and validated by the authors. | | |
| | Minimal | AI-assisted (Claude Opus 5.5): code generation, code optimization, and outreach materials. | | |
| The responsibility clause reads "reviewed and revised as needed" for writing tasks and "reviewed, | |
| tested, and validated" when any methodology, software, or data task is selected. Short guidance | |
| notes appear under the statement: where it normally goes in a research publication (methods | |
| section for research and analysis tasks, acknowledgements for writing and publication-preparation | |
| tasks), a reminder to check journal policies for manuscripts, and a note that routine language | |
| support in communications products often does not require disclosure. | |
| A "No generative AI was used in preparing this document" statement is also available. | |
| Every selection is encoded in the page URL, so a declaration can be linked from a slide or | |
| reproduced later. | |
| Everything runs in the browser. Nothing entered is sent anywhere or stored. | |
| ## Files | |
| | File | Purpose | | |
| |---|---| | |
| | `index.html`, `style.css`, `app.js` | Page, styles, UI wiring | | |
| | `compose.js` | Sentence assembly logic (shared with tests) | | |
| | `data/templates.js` | **Wording lives here.** Sentence templates, guidance notes, responsible-party and work-type options, tool suggestions | | |
| | `data/gaidet.js` | Generated taxonomy data with short labels, Table 1 clarifications, and w3id URIs. Do not edit by hand | | |
| | `data/terms.yml` | Source taxonomy from the GAIDeT authors (mirror of https://w3id.org/gaidet/terms.yml) | | |
| | `scripts/build_taxonomy.py` | Regenerates `data/gaidet.js` from `terms.yml`; short labels are maintained in this script | | |
| | `tests/test_compose.js` | Unit tests for list joining, verb agreement, styles, and URL round-trip | | |
| ## Editing the wording | |
| Open `data/templates.js`. Placeholders available in templates: `{tools}` `{tasks}` `{party}` | |
| `{take}` `{work}` `{cite}` `{review}`. Bump `version` when wording changes so the footer shows it. | |
| ## Updating the taxonomy | |
| ``` | |
| curl -L https://w3id.org/gaidet/terms.yml -o data/terms.yml | |
| python3 scripts/build_taxonomy.py data/terms.yml data/gaidet.js # needs PyYAML | |
| ``` | |
| The script refuses to run if a new term has no short label; add one to `SHORT` in the script. Clarifying notes shown under some labels come from Table 1 of the paper and live in `NOTES`. | |
| ## Tests | |
| ``` | |
| node tests/test_compose.js | |
| ``` | |
| ## Deploying to Hugging Face (static Space) | |
| Upload all files in this folder, keeping the `data/` subfolder, to a Space created with the | |
| **Static** SDK. The front matter at the top of this README sets `sdk: static` and | |
| `app_file: index.html`, so no other configuration is needed. | |
| ## Citation and licence | |
| Taxonomy: Suchikova, Y., Tsybuliak, N., Teixeira da Silva, J. A., & Nazarovets, S. (2026). | |
| GAIDeT (Generative AI Delegation Taxonomy): A taxonomy for humans to delegate tasks to | |
| generative artificial intelligence in scientific research and publishing. *Accountability in | |
| Research*, 33(3). https://doi.org/10.1080/08989621.2025.2544331 | |
| The authors' own multi-line generator, which this tool complements, is at | |
| https://panbibliotekar.github.io/gaidet-declaration/ (MIT). | |
| This tool and its data files are released under the MIT licence; see `LICENSE`. | |