code: def create_directories_and_get_default_config_values(
      evadb_dir: Path, evadb_installation_dir: Path
  ) -> Union[dict, str]:
      default_install_dir = evadb_installation_dir
      dataset_location = evadb_dir / EvaDB_DATASET_DIR
      index_dir = evadb_dir / INDEX_DIR
      cache_dir = evadb_dir / CACHE_DIR
      s3_dir = evadb_dir / S3_DOWNLOAD_DIR
      tmp_dir = evadb_dir / TMP_DIR
      function_dir = evadb_dir / FUNCTION_DIR
      model_dir = evadb_dir / MODEL_DIR
  
      if not evadb_dir.exists():
          evadb_dir.mkdir(parents=True, exist_ok=True)
      if not dataset_location.exists():
          dataset_location.mkdir(parents=True, exist_ok=True)
      if not index_dir.exists():
          index_dir.mkdir(parents=True, exist_ok=True)
      if not cache_dir.exists():
          cache_dir.mkdir(parents=True, exist_ok=True)
      if not s3_dir.exists():
          s3_dir.mkdir(parents=True, exist_ok=True)
      if not tmp_dir.exists():
          tmp_dir.mkdir(parents=True, exist_ok=True)
      if not function_dir.exists():
          function_dir.mkdir(parents=True, exist_ok=True)
      if not model_dir.exists():
          model_dir.mkdir(parents=True, exist_ok=True)
  
      config_obj = {}
      config_obj["evadb_installation_dir"] = str(
          default_install_dir.resolve()
      )
      config_obj["datasets_dir"] = str(dataset_location.resolve())
      config_obj["catalog_database_uri"] = get_default_db_uri(evadb_dir)
      config_obj["index_dir"] = str(index_dir.resolve())
      config_obj["cache_dir"] = str(cache_dir.resolve())
      config_obj["s3_download_dir"] = str(s3_dir.resolve())
      config_obj["tmp_dir"] = str(tmp_dir.resolve())
      config_obj["function_dir"] = str(function_dir.resolve())
      config_obj["model_dir"] = str(model_dir.resolve())
      return config_obj
  
file_path: evadb/evadb/configuration/bootstrap_environment.py
imports: import logging
  from pathlib import Path
  from typing import Union
  from evadb.configuration.constants import CACHE_DIR, DB_DEFAULT_NAME, FUNCTION_DIR, INDEX_DIR, MODEL_DIR, S3_DOWNLOAD_DIR, TMP_DIR, EvaDB_DATASET_DIR
  from evadb.evadb_config import BASE_EVADB_CONFIG
  from evadb.utils.logging_manager import logger
label_desc: Use image node_id 3 for calling a global function with example usage: create_directories_and_get_default_config_values(evadb_dir, evadb_installation_dir) and returns: config_obj