Rene Fichtmueller 3a00ff4d33 feat: initial llm-gateway implementation
- Complete Fastify gateway with 8-stage pipeline
- Circuit breaker (opossum) per model tier
- Rate limiting per caller
- Ban list validation (EN/DE/auto-detected)
- TIP validator (SFF-8024, part numbers, wavelengths)
- Prometheus metrics
- pg-boss async queue
- PostgreSQL audit log + review queue
- 9 prompt templates (TIP, LinkedIn, ShieldX)
- Learning engine scaffolding
- Auto-learning: ban-list, few-shot, routing, prompt optimizer
2026-04-02 22:48:55 +02:00

26 lines
556 B
JSON

{
"name": "@llm-gateway/learning",
"version": "1.0.0",
"type": "module",
"scripts": {
"dev": "tsx watch src/index.ts",
"start": "node --import tsx/esm src/index.ts",
"build": "tsc"
},
"dependencies": {
"pg": "^8.13.1",
"pg-boss": "^10.1.3",
"js-yaml": "^4.1.0",
"node-cron": "^3.0.3",
"pino": "^9.5.0",
"tsx": "^4.19.2"
},
"devDependencies": {
"typescript": "^5.7.2",
"@types/node": "^22.10.6",
"@types/pg": "^8.11.10",
"@types/node-cron": "^3.0.11",
"@types/js-yaml": "^4.0.9"
}
}