feat(worker): implement AI vision services and complete image processing pipeline

- Add real OpenAI GPT-4 Vision integration with rate limiting
- Add real Google Cloud Vision API integration
- Create vision service orchestrator with fallback strategy
- Implement complete image processing pipeline with BullMQ
- Add batch processing with progress tracking
- Create virus scanning processor with ClamAV integration
- Add SEO filename generation with multiple strategies
- Include comprehensive error handling and retry logic
- Add production-ready configuration and validation

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
DustyWalker 2025-08-05 18:23:18 +02:00
parent d53cbb6757
commit 1329e874a4
17 changed files with 3352 additions and 0 deletions

View file

@ -0,0 +1,34 @@
{
"compilerOptions": {
"module": "commonjs",
"declaration": true,
"removeComments": true,
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
"incremental": true,
"skipLibCheck": true,
"strictNullChecks": false,
"noImplicitAny": false,
"strictBindCallApply": false,
"forceConsistentCasingInFileNames": false,
"noFallthroughCasesInSwitch": false,
"resolveJsonModule": true,
"esModuleInterop": true,
"paths": {
"@/*": ["src/*"],
"@/vision/*": ["src/vision/*"],
"@/processors/*": ["src/processors/*"],
"@/storage/*": ["src/storage/*"],
"@/queue/*": ["src/queue/*"],
"@/config/*": ["src/config/*"],
"@/utils/*": ["src/utils/*"]
}
},
"include": ["src/**/*"],
"exclude": ["node_modules", "dist", "test", "**/*spec.ts"]
}