Spaces:
Sleeping
Sleeping
Invalid JSON:Unexpected token '', "{
"anal"... is not valid JSON
| { | |
| "analytics_artifact": { | |
| "query_metadata": { | |
| "question": "Show monthly revenue trend", | |
| "dataset_scope": "sales_data", | |
| "sql_fingerprint": "SELECT month, revenue FROM main GROUP BY month", | |
| "time_range": {"start": "2024-01-01", "end": "2024-06-30", "granularity": "month"}, | |
| "query_type": "trend" | |
| }, | |
| "data_summary": { | |
| "row_count": 6, | |
| "columns": ["month", "revenue"], | |
| "key_dimensions": ["month"], | |
| "key_metrics": [{"name": "revenue", "value": 120000, "unit": "currency", "direction": "up", "vs_prior": 15.4}] | |
| }, | |
| "visualization_spec": { | |
| "chart_type": "line", | |
| "x_axis": "month", | |
| "y_axis": "revenue", | |
| "grouping": null, | |
| "sort_by": "month", | |
| "sort_order": "asc", | |
| "top_n_limit": null, | |
| "confidence": "high", | |
| "fallback_applied": false, | |
| "fallback_reason": null | |
| }, | |
| "insight_blocks": { | |
| "headline": "Revenue reached $120,000 in June.", | |
| "trend": "Revenue increased from $90,000 to $120,000 over the period.", | |
| "anomaly_or_risk": null, | |
| "recommendation": "Prioritize the top channel driving June uplift." | |
| }, | |
| "action_blocks": { | |
| "suggested_decision": "Reallocate budget to the strongest month-over-month channel.", | |
| "next_analysis_step": "Compare revenue by channel for the last 3 months.", | |
| "marketing_implication": "Use the winning channel message for next campaign." | |
| }, | |
| "consistency_checks": {"trend_direction_match": true, "row_count_nonzero": true, "flags": []} | |
| }, | |
| "query_results": [ | |
| {"month": "2024-01", "revenue": 90000}, | |
| {"month": "2024-02", "revenue": 95000}, | |
| {"month": "2024-03", "revenue": 98000}, | |
| {"month": "2024-04", "revenue": 105000}, | |
| {"month": "2024-05", "revenue": 112000}, | |
| {"month": "2024-06", "revenue": 120000} | |
| ], | |
| "report_context": { | |
| "company_name": "SmartBiz AI", | |
| "analyst_name": "Demo Analyst", | |
| "report_date": "2026-04-25", | |
| "logo_path": null | |
| } | |
| } | |