Fichier TypeScript autonome (hors du workspace pnpm) qui compare le pipeline node-nlp existant (tech-step-matcher.ts) à un mini LLM instruct local via node-llama-cpp : sortie JSON strictement contrainte par schéma (grammaire GBNF, createGrammarForJsonSchema), interfaces RecipeStepAnalysis/ KitchenAction, recommandation de modèle (Qwen2.5-1.5B-Instruct Q4_K_M par défaut, Llama-3.2-1B-Instruct Q4_K_M en alternative), et un benchmark simple (performance.now() + delta RSS) sur 3 phrases complexes FR/EN, dont le cas piège sans verbe littéral déjà documenté dans tech-step-matcher.ts. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
3 lines
28 B
Text
3 lines
28 B
Text
node_modules/
|
|
dist/
|
|
models/
|