code: def get_shared_lib_info(lib_base_name: str):
      # Determine the file extension based on the platform
      if sys.platform.startswith("linux") or sys.platform == "darwin":
          lib_ext = ".so"
      elif sys.platform == "win32":
          lib_ext = ".dll"
      else:
          invalidInputError(False, "Unsupported platform.")
  
      # Construct the paths to the possible shared library names (python/llm/src/bigdl/llm/libs)
      _base_path = pathlib.Path(__file__).parent.parent.resolve()
      _base_path = _base_path / "libs"
      # Searching for the library in the current directory under the name "lib{lib_base_name}"
      # (default name for llmcpp) and "{lib_base_name}" (default name for this repo)
      _lib_paths = [
          _base_path / f"lib{lib_base_name}-api{lib_ext}",
          _base_path / f"{lib_base_name}-api{lib_ext}",
      ]
  
      return _base_path, _lib_paths
  
imports: import sys
  import pathlib
  from bigdl.llm.utils.common import invalidInputError, invalidOperationError
label_desc: Use image node_id 1 for calling a global function with example usage: get_shared_lib_info(lib_base_name) and returns: _base_path,  _lib_paths