in code/embedding-function/utilities/helpers/config/config_helper.py [0:0]
def get_default_config():
if ConfigHelper._default_config is None:
env_helper = EnvHelper()
config_file_path = os.path.join(os.path.dirname(__file__), "default.json")
with open(config_file_path, encoding="utf-8") as f:
logger.info("Loading default config from %s", config_file_path)
ConfigHelper._default_config = json.load(f)
if env_helper.USE_ADVANCED_IMAGE_PROCESSING:
ConfigHelper._append_advanced_image_processors()
return ConfigHelper._default_config