Initial commit: LangChain evolution tutorial deck (132 slides)

- Cover, TOC, 5 dividers, 3 recap slides
- 5 sections (chains, langgraph, deepagents, openswe, ecosystem)
- design-system.js with theme tokens + 9 helper functions
- research/: timeline + sources + per-tech notes
- final-compile.js + merge.js for rebuild pipeline
- output/: langchain-evolution.pptx (2.3 MB) + langchain-evolution.pdf (1.1 MB) + 7 sample previews
This commit is contained in:
2026-06-22 11:29:03 +03:00
parent ed5b5c91bf
commit 75601988c2
220 changed files with 13069 additions and 3 deletions
+68
View File
@@ -0,0 +1,68 @@
/**
* slides/12-langsmith.js
* ----------------------------------------------------------------------------
* Slide 12 -- LangSmith setup + API keys + snapshot
* Account creation and runtime config.
*/
'use strict';
const { helpers, layouts } = require('../../design-system');
function buildLangSmithSetup(pres, theme) {
const slide = pres.addSlide();
helpers.slideBase(slide, pres, theme);
helpers.addHeader(slide, pres, theme, {
eyebrow: 'STAGE 4',
sectionNumber: 4,
title: 'LangSmith: setup',
});
helpers.addCodeBlock(slide, pres, theme, {
x: 0.5, y: layouts.CONTENT_TOP, w: 5.6, h: 3.5,
language: 'bash',
code: [
'# .env (НЕ коммитить)',
'LANGSMITH_TRACING=true',
'LANGSMITH_ENDPOINT=https://',
' api.smith.langchain.com',
'LANGSMITH_API_KEY=lsv2_...',
'LANGSMITH_PROJECT=open-swe-prod',
'LANGSMITH_SNAPSHOT=true',
'',
'# для sandbox-прокси:',
'LANGSMITH_SANDBOX_BACKEND=true',
].join('\n'),
filePath: '.env',
startLine: 1,
});
helpers.addCallout(slide, pres, theme, {
x: 6.3, y: layouts.CONTENT_TOP, w: 3.2, h: 1.5,
kind: 'info',
title: 'Зачем snapshot',
text:
'Каждый thread = checkpoint. ' +
'Follow-up из всех каналов ' +
'подхватывают состояние ' +
'по thread_id.',
});
helpers.addCallout(slide, pres, theme, {
x: 6.3, y: 2.85, w: 3.2, h: 2.0,
kind: 'success',
title: 'API keys',
text:
'* Personal -- smith.langchain.com\n' +
'* Org-level -- shared tracing\n' +
'* Service -- для CI / batch\n' +
'Rotate каждые 90 дней.',
});
helpers.addPageNumber(slide, pres, theme, 12);
helpers.addSourceLine(slide, pres, theme, {
source: 'docs.smith.langchain.com',
});
return slide;
}
module.exports = { buildLangSmithSetup };