code: def generate_likelihood(name, params, parent):
      """Generate a Likelihood instance.
  
      Parameters
      ----------
      name: str
          The name of the likelihood function.
      args: dict
          Indicates the auxiliary parameters and the values for their default priors. The keys are the
          names of the parameters and the values are passed to ``generate_prior()`` to obtain the
          actual instance of ``bambi.Prior``.
      parent: str
          The name of the parent parameter. In other words, the name of the mean parameter in the
          likelihood function.
  
      Returns
      -------
      bambi.Likelihood
          The likelihood instance.
      """
      return Likelihood(name, params, parent)
  
file_path: bambi/bambi/defaults/utils.py
imports: from bambi.defaults.distributions import SETTINGS_DISTRIBUTIONS
  from bambi.defaults.hsgp import HSGP_COV_PARAMS_DEFAULT_PRIORS
  from bambi.families import Likelihood
  from bambi.priors import Prior
label_desc: Use image node_id 4 for calling a global function with example usage: generate_likelihood(name, params, parent) and returns: Likelihood