1616 SystemConfig ,
1717 VisualizationConfig ,
1818)
19+ from lightspeed_evaluation .core .models .system import (
20+ JudgePanelConfig ,
21+ LLMPoolConfig ,
22+ )
1923from lightspeed_evaluation .core .system .setup import (
2024 setup_environment_variables ,
2125 setup_logging ,
@@ -156,6 +160,17 @@ def load_system_config(self, config_path: str) -> SystemConfig:
156160 def _create_system_config (self , config_data : dict [str , Any ]) -> SystemConfig :
157161 """Create SystemConfig object from validated configuration data."""
158162 metrics_metadata = config_data .get ("metrics_metadata" , {})
163+
164+ # Parse llm_pool if present
165+ llm_pool = None
166+ if "llm_pool" in config_data :
167+ llm_pool = LLMPoolConfig (** config_data ["llm_pool" ])
168+
169+ # Parse judge_panel if present
170+ judge_panel = None
171+ if "judge_panel" in config_data :
172+ judge_panel = JudgePanelConfig (** config_data ["judge_panel" ])
173+
159174 return SystemConfig (
160175 core = CoreConfig (** config_data .get ("core" , {})),
161176 llm = LLMConfig (** config_data .get ("llm" , {})),
@@ -164,6 +179,8 @@ def _create_system_config(self, config_data: dict[str, Any]) -> SystemConfig:
164179 output = OutputConfig (** config_data .get ("output" , {})),
165180 logging = LoggingConfig (** config_data .get ("logging" , {})),
166181 visualization = VisualizationConfig (** config_data .get ("visualization" , {})),
182+ llm_pool = llm_pool ,
183+ judge_panel = judge_panel ,
167184 default_turn_metrics_metadata = metrics_metadata .get ("turn_level" , {}),
168185 default_conversation_metrics_metadata = metrics_metadata .get (
169186 "conversation_level" , {}
0 commit comments