sdgToPic / config /default.json
Song
chore: use git lfs for large data files
b88006b
{
"app": {
"name": "SDG Dashboard",
"version": "2025.1",
"debug": false,
"log_level": "INFO",
"environment": "development"
},
"data_sources": {
"primary_data_path": "data/SDR2025-data.xlsx",
"fallback_data_path": "data/sdg_index_2000-2022.csv",
"sample_data_enabled": true,
"cache_ttl_seconds": 3600,
"api_endpoints": {
"sdg_api": "https://api.sdgindex.org/v1",
"un_stats_api": "https://unstats.un.org/sdgapi"
}
},
"ai_engine": {
"enabled": true,
"base_url": null,
"api_key": null,
"default_model": "gemini-2.5-flash",
"temperature": 0.6,
"max_tokens": 2000,
"cache_enabled": true,
"cache_ttl_hours": 24,
"retry_attempts": 3,
"retry_delay_seconds": 2
},
"visualization": {
"default_theme": "plotly_white",
"color_scheme": "sdg_official",
"chart_height": 500,
"map_projection": "equirectangular",
"sdg_colors": {
"1": "#E5243B",
"2": "#DDA63A",
"3": "#4C9F38",
"4": "#C5192D",
"5": "#FF3A21",
"6": "#26BDE2",
"7": "#FCC30B",
"8": "#A21942",
"9": "#FD6925",
"10": "#DD1367",
"11": "#FD9D24",
"12": "#BF8B2E",
"13": "#3F7E44",
"14": "#0A97D9",
"15": "#56C02B",
"16": "#00689D",
"17": "#19486A"
},
"traffic_light_thresholds": {
"excellent": 80,
"good": 65,
"needs_improvement": 50
}
},
"export": {
"default_format": "pdf",
"pdf_quality": "high",
"pptx_template": null,
"output_directory": "exports",
"include_metadata": true,
"max_content_per_slide": 500
},
"ui": {
"page_title": "全球 SDG 互動儀表板 & AI 報告生成器",
"page_icon": "🌍",
"layout": "wide",
"initial_sidebar_state": "expanded",
"default_language": "繁體中文",
"default_year_range": [2015, 2025],
"max_countries_comparison": 5
},
"security": {
"require_api_key": false,
"allowed_origins": ["*"],
"rate_limit_requests": 100,
"rate_limit_period_seconds": 60
}
}