ash-coded-it's picture
Upload folder using huggingface_hub
1e3f942 verified
# SOLAI Enhanced Dashboard Configuration
# Application Settings
app:
title: "SOLAI Enhanced Dashboard"
description: "Comprehensive Solar Lead Scoring & Analytics Platform"
theme: "soft" # gradio theme: default, soft, monochrome, etc.
port: 7860
host: "0.0.0.0"
share: false # set to true to create public shareable link
# Data Sources
data:
# Default dataset paths (relative to project root)
features_csv: "examples/synthetic_v2/leads_features.csv"
outcomes_csv: "examples/synthetic_v2/outcomes.csv"
data_dictionary: "data_dictionary.yaml"
# Output directory for model results
scores_dir: "scores"
# Maximum number of leads to display in search results
max_search_results: 100
# Dashboard Features
features:
# Enable/disable specific dashboard tabs
overview_dashboard: true
lead_management: true
utility_intelligence: true
ml_training: true
data_dictionary: true
# Chart settings
charts:
height: 400
color_scheme: "plotly" # plotly, viridis, plasma, etc.
# Lead search settings
search:
default_page_size: 20
enable_export: true
# Model Configuration
model:
# Feature candidates for ML training
feature_candidates:
- "living_area_sqft"
- "average_monthly_kwh"
- "average_monthly_bill_usd"
- "shading_factor"
- "roof_suitability_score"
- "seasonality_index"
- "electric_panel_amperage"
- "has_pool"
- "is_remote_worker_household"
- "tdsp"
- "rate_structure"
- "credit_score_range"
- "household_income_bracket"
- "preferred_financing_type"
- "neighborhood_type"
# Categorical features (for one-hot encoding)
categorical_features:
- "tdsp"
- "rate_structure"
- "credit_score_range"
- "household_income_bracket"
- "preferred_financing_type"
- "neighborhood_type"
# Model parameters
logistic_regression:
max_iter: 1000
random_state: 42
# Train/test split
test_size: 0.25
stratify: true
# UI Customization
ui:
# Color scheme
colors:
primary: "#2196F3"
success: "#4CAF50"
warning: "#FF9800"
danger: "#F44336"
info: "#00BCD4"
# Display options
display:
show_lead_count_in_title: true
show_last_updated: true
compact_mode: false
# Table settings
tables:
page_size: 20
show_index: false
wrap_text: true
# Texas-specific settings
texas:
# TDSP (Transmission and Distribution Service Provider) options
tdsp_options:
- "Oncor"
- "CenterPoint"
- "AEP_Texas"
- "TNMP"
- "Austin_Energy"
- "CPS_Energy"
- "Other_Muni"
- "Other_Coop"
# Rate structure types
rate_structures:
- "TOU" # Time of Use
- "flat"
- "tiered"
- "demand"
- "unknown"
# Analytics Settings
analytics:
# Metrics to display in overview
key_metrics:
- "total_leads"
- "qualified_leads"
- "sold_leads"
- "conversion_rate"
- "average_score"
# Chart types for different analyses
chart_types:
geographic: "bar" # bar, pie, map
funnel: "funnel" # funnel, bar
distribution: "histogram" # histogram, box, violin
# Security & Privacy
security:
# PII handling
mask_pii: false # set to true to mask PII in displays
pii_fields:
- "first_name"
- "last_name"
- "email"
- "phone_e164"
- "address_line1"
- "latitude"
- "longitude"
# Data export restrictions
export:
allow_pii_export: false
max_export_rows: 10000
# Logging
logging:
level: "INFO" # DEBUG, INFO, WARNING, ERROR
log_file: "dashboard.log"
log_format: "%(asctime)s - %(name)s - %(levelname)s - %(message)s"