mirror of
https://github.com/czlonkowski/n8n-mcp.git
synced 2026-03-20 17:33:08 +00:00
feat: Add structured template metadata generation with OpenAI
- Implement OpenAI batch API integration for metadata generation - Add metadata columns to database schema (metadata_json, metadata_generated_at) - Create MetadataGenerator service with structured output schemas - Create BatchProcessor for handling OpenAI batch jobs - Add --generate-metadata flag to fetch-templates script - Update template repository with metadata management methods - Add OpenAI configuration to environment variables - Include comprehensive tests for metadata generation - Use gpt-4o-mini model with 50% cost savings via batch API 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -18,6 +18,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
||||
- Reduces failed queries by approximately 50%
|
||||
- Added `template-node-resolver.ts` utility for node type resolution
|
||||
- Added 23 tests for template node resolution
|
||||
- **Structured Template Metadata with OpenAI**: AI-powered metadata generation for templates
|
||||
- Uses OpenAI's batch API with gpt-4o-mini for 50% cost savings
|
||||
- Generates structured metadata: categories, complexity, use cases, setup time
|
||||
- Batch processing with 24-hour SLA
|
||||
- No runtime dependencies - all preprocessing
|
||||
- Add `--generate-metadata` flag to fetch-templates script
|
||||
- New environment variables: OPENAI_API_KEY, OPENAI_MODEL, OPENAI_BATCH_SIZE
|
||||
- Added metadata columns to database schema
|
||||
- New repository methods for metadata management
|
||||
|
||||
## [2.11.0] - 2025-01-14
|
||||
|
||||
|
||||
Reference in New Issue
Block a user