Files
llmwiki-cli/scripts/generate-viz-scripts.ts
doum1004 b19bd2e408 Add foundational concepts and entities related to LLMs and AI agents
- Create context-window.md to explain the significance of context window size in LLMs.
- Add llm-scaling-laws.md detailing the empirical relationships between model performance and resources.
- Introduce retrieval-augmented-generation.md to describe RAG architecture and its advantages.
- Add entity pages for key figures and organizations: andrej-karpathy.md, anthropic.md, google-deepmind.md, openai.md, sam-altman.md.
- Create sources for foundational papers: attention-is-all-you-need.md, claude-model-card.md, gpt4-technical-report.md, react-paper.md.
- Synthesize insights on AI agent patterns and RAG vs fine-tuning in dedicated pages.
- Update index.md to include new entities and concepts.
- Log all activities related to the wiki's development in log.md.
2026-04-13 00:05:30 -04:00

9 lines
419 B
TypeScript

import { getBuildGraphScript, getBuildSiteScript } from "../src/lib/templates.ts";
import { writeFileSync, mkdirSync } from "fs";
const outDir = process.argv[2] || ".viz-tmp";
mkdirSync(outDir, { recursive: true });
writeFileSync(`${outDir}/build-graph.cjs`, getBuildGraphScript());
writeFileSync(`${outDir}/build-site.cjs`, getBuildSiteScript());
console.log(`Wrote build-graph.cjs and build-site.cjs to ${outDir}`);