UNPKG

@juspay/neurolink

Version:

Universal AI Development Platform with working MCP integration, multi-provider support, voice (TTS/STT/realtime), and professional CLI. 58+ external MCP servers discoverable, multimodal file processing, RAG pipelines. Build, test, and deploy AI applicatio

38 lines (37 loc) 1.28 kB
/** * Presentation Orchestrator * * Main orchestration module for PPT generation. * Coordinates the full pipeline: validation → content planning → slide generation → assembly → file output. * * Follows the video handler pattern (vertexVideoHandler.ts): * - Standalone module with clear responsibility * - Uses AI provider for generation * - Returns structured result * * @module presentation/presentationOrchestrator */ import type { PPTGenerationResult, PresentationGenerationOptions } from "../../types/index.js"; /** * Generate a complete PowerPoint presentation * * This is the main entry point for PPT generation. It orchestrates: * 1. Content planning via AI * 2. Individual slide generation (with images) * 3. PPTX assembly and file output * * @param options - Presentation generation options * @returns Promise<PPTGenerationResult> - Result with file path and metadata * * @example * ```typescript * const result = await generatePresentation({ * context: extractPPTContext(options), * provider: aiProvider, * neurolink: neurolinkInstance, * }); * * console.log(`Presentation saved: ${result.filePath}`); * ``` */ export declare function generatePresentation(options: PresentationGenerationOptions): Promise<PPTGenerationResult>;