Repository Public
1import type { TemplateDef } from "../types";2import { frTypo } from "./shared";3import { transformerArchitecture } from "./transformer-architecture";4import { mixtureOfExperts } from "./mixture-of-experts";5import { ragPipeline } from "./rag-pipeline";6import { finetuningVsRagVsPrompting } from "./finetuning-vs-rag-vs-prompting";7import { kvCache } from "./kv-cache";8import { neuralNetworkBackprop } from "./neural-network-backprop";910/** Catalogue strings get the same French typography as the documents themselves. */11const withTypography = (def: TemplateDef): TemplateDef => ({12 ...def,13 title: { ...def.title, fr: frTypo(def.title.fr) },14 description: { ...def.description, fr: frTypo(def.description.fr) },15});1617/** AI and deep-learning templates, in catalogue order. */18export const AI_TEMPLATES: TemplateDef[] = [19 transformerArchitecture,20 mixtureOfExperts,21 ragPipeline,22 finetuningVsRagVsPrompting,23 kvCache,24 neuralNetworkBackprop,25].map(withTypography);26