gen_ai_hub.evaluations.utils.file_utils module¶
- gen_ai_hub.evaluations.utils.file_utils.load_config_file(file_path: str | Path, error_collector: ValidationCollector) Dict[str, Any] | List[Dict[str, Any]] | List¶
Load config from local file path or Path object
- gen_ai_hub.evaluations.utils.file_utils.read_local_csv_file(file_path: Path, error_collector: ValidationCollector) List[Dict[str, Any]]¶
reads csv and returns the data as df