Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"@codemirror/state": "6.7.6",
"@codemirror/view": "6.43.15",
"@lezer/highlight": "1.2.5",
"@missing-elements/h5p-author": "0.12.0",
"@missing-elements/h5p-author": "0.13.0",
"@missing-elements/h5p-libraries": "1.1.0",
"@missing-elements/h5p-offline-player": "1.6.0",
"@missing-elements/h5p-runtime": "1.0.1",
Expand Down
10 changes: 5 additions & 5 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions src/h5p/build/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -120,8 +120,9 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
</section>

{#- The prompt is a code block, which site.js gives a Copy button. It names the skill, which the
chat has once the first step is done, and the content type, so the chat asks only for the
author and licence: the sample is what Haiku wrote for this request, with the site's name and
chat has once the first step is done, and the content type, so the chat asks nothing (since
2026-11-14 the skill asks for the type at most, and writes the author and licence the prompt
gives, or defaults): the sample is what Haiku wrote for this request, with the site's name and
licence put on it. Until 2026-11-13 the prompt sent the chat to read the skill at /h5p/skill/
instead, which worked only in chats that now take the skill as a zip. -#}
<section class="band band-tint make when-unlinked" id="make" aria-labelledby="make-heading">
Expand All @@ -137,7 +138,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self' da
</li>
<li>
<h3>Ask your chat</h3>
<p>Paste the prompt below into a new chat, with a subject of your own. The chat asks whose name and which licence go on the activity, which you may skip, and writes it.</p>
<p>Paste the prompt below into a new chat, with a subject of your own. It names the type, so the chat asks nothing and writes the activity.</p>
</li>
<li>
<h3>Play it, then download it</h3>
Expand Down
15 changes: 11 additions & 4 deletions src/h5p/create-with-ai/index.njk
Original file line number Diff line number Diff line change
Expand Up @@ -109,14 +109,21 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
another language, say so, such as "in French": the activity's buttons come in it too, where
H5P has a translation.
</p>
<p>
To change an activity you already have, attach its <code>.h5p</code> and say what to change,
such as "add two harder questions". A chat that builds the file itself, as in step 4, reads
the activity back, changes it and builds it again, if it was made with the versions of H5P's
libraries the build tool has. Otherwise the chat says so and offers to make the activity anew.
</p>
</section>

<section class="step" aria-labelledby="answer-heading">
<h2 id="answer-heading"><span class="step-marker"><span class="step-number">3</span></span> Answer its questions</h2>
<h2 id="answer-heading"><span class="step-marker"><span class="step-number">3</span></span> Answer its question</h2>
<p>
If the prompt names no type, the chat proposes one or two that fit your material, and you
choose. Then it asks whose name and which licence go on the activity, which you may skip, and
writes it.
choose. It asks nothing else, and writes the activity. To put your name and a licence on it,
say them in the prompt, such as "by Ann Lee, CC BY 4.0"; otherwise it carries the name the
chat knows you by, or "Unknown", and an undisclosed licence.
</p>
</section>

Expand Down Expand Up @@ -168,7 +175,7 @@ csp: "default-src 'self'; script-src 'self'; style-src 'self'; img-src 'self'; o
<section aria-labelledby="prompts">
<h2 id="prompts">Prompts to start from</h2>
<p>
Each names its type, so the chat asks only whose name and licence go on it. Change the subject
Each names its type, so the chat asks nothing. Change the subject
and the numbers to yours.
</p>

Expand Down