Kernblock je Kapitel: Frage-Antwort-Paare zum Auffrischen, KERN.md in der Montage

Jedes Kapitel endet mit „## Kern“. Die Montage sammelt alle Blöcke in
buch/KERN.md, die API liefert sie unter kern.md. Stilregel, Kapitel- und
Prüfprompt angepasst.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit is contained in:
team3
2026-10-08 15:42:01 +02:00
parent c3a0df76de
commit fb95558657
6 changed files with 25 additions and 4 deletions

View File

@@ -168,6 +168,11 @@ async def buch_md(slug: str, n: int):
return montage.markdown(_key(slug, n))
@app.get("/api/themen/{slug}/v{n}/kern.md", response_class=PlainTextResponse)
async def kern_md(slug: str, n: int):
return montage.kern(_key(slug, n))
@app.get("/api/themen/{slug}/v{n}/buch.pdf")
async def buch_pdf(slug: str, n: int):
key = _key(slug, n)