code: def get_client(base_path: str = "prod_env"):
      credentials_path = os.path.join(base_path, CREDENTIALS_FILE)
      cache_path = os.path.join(base_path, CACHE_DIR)
      ensure_directory_exists(cache_path)
      if os.path.exists(credentials_path):
          with open(credentials_path) as f:
              credentials = parse_hocon(f.read())
      else:
          credentials = {}
  
      # TODO: Pass mongo_uri to AutoClient
      client = AutoClient(credentials, cache_path)
  
      return client
  
file_path: H2O/h2o_hf/helm/scripts/efficiency/generate_instances.py
imports: import os
  from typing import Dict, List, Tuple
  from helm.common.general import ensure_directory_exists, ensure_file_downloaded, parse_hocon, write
  from helm.common.tokenization_request import TokenizationRequest, TokenizationRequestResult, DecodeRequest, DecodeRequestResult, TokenizationToken
  from helm.proxy.clients.client import Client
  from helm.proxy.clients.auto_client import AutoClient
  from helm.proxy.services.service import CREDENTIALS_FILE, CACHE_DIR
  from helm.benchmark.scenarios.synthetic_efficiency_scenario import NUM_INPUT_TOKENS
label_desc: Use image node_id 2 for calling a global function with example usage: get_client(base_path) and returns: client