UNPKG

@vfarcic/dot-ai

Version:

AI-powered development productivity platform that enhances software development workflows through intelligent automation and AI-driven assistance

56 lines 2.16 kB
import type { ModelPerformance } from './platform-synthesizer.js'; export interface GraphGenerationResult { success: boolean; graphPath?: string; error?: string; } /** * GraphGenerator creates data visualizations for platform synthesis reports. * Uses QuickChart.io API to generate chart images without requiring native dependencies. */ export declare class GraphGenerator { private outputDir; private quickchartBaseUrl; constructor(outputDir?: string); /** * Generates all or specific graphs for the platform report * @param modelPerformances Model performance data * @param graphNames Optional array of specific graph names to generate. If not provided, generates all graphs. * Valid names: 'performance-tiers', 'cost-vs-quality', 'reliability-comparison', * 'tool-performance-heatmap', 'context-window-correlation' */ generateAllGraphs(modelPerformances: ModelPerformance[], graphNames?: string[]): Promise<Record<string, GraphGenerationResult>>; /** * Graph 1: Performance Tiers - Grouped bar chart showing score, reliability, and consistency */ private generatePerformanceTiersGraph; /** * Graph 2: Cost vs Quality - Line chart showing input/output cost range per model */ private generateCostVsQualityGraph; /** * Graph 3: Reliability Comparison - Bar chart with reliability scores */ private generateReliabilityComparisonGraph; /** * Graph 4: Tool Performance Heatmap - Shows model scores per tool */ private generateToolPerformanceHeatmap; /** * Graph 5: Context Window Correlation - Scatter plot showing context window vs performance */ private generateContextWindowCorrelationGraph; /** * Downloads a chart from QuickChart.io API and saves it as PNG */ private downloadChart; /** * Cleans model names by removing provider prefixes */ private cleanModelName; /** * Returns a consistent color for each tool index (supports up to 10 tools) */ private getToolColor; } //# sourceMappingURL=graph-generator.d.ts.map