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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user