adpa-enterprise-framework-automation
Version:
Modular, standards-compliant Node.js/TypeScript automation framework for enterprise requirements, project, and data management. Provides CLI and API for BABOK v3, PMBOK 7th Edition, and DMBOK 2.0 (in progress). Production-ready Express.js API with TypeSpe
20 lines • 980 B
JavaScript
import { ReferenceDataManagementPlanTemplate } from './ReferenceDataManagementPlanTemplate.js';
import { getAIProcessor } from '../../ai/AIProcessor.js';
export class ReferenceDataManagementPlanProcessor {
aiProcessor = getAIProcessor();
async process(context) {
const template = new ReferenceDataManagementPlanTemplate();
const prompt = template.buildPrompt(context);
const messages = [
{ role: 'system', content: 'You are an expert in data management. Generate a comprehensive Reference Data Management Plan based on the project context.' },
{ role: 'user', content: prompt }
];
const aiResponse = await this.aiProcessor.makeAICall(messages);
const content = typeof aiResponse === 'string' ? aiResponse : aiResponse.content;
return {
title: 'Reference Data Management Plan',
content
};
}
}
//# sourceMappingURL=ReferenceDataManagementPlanProcessor.js.map