class_docstr: Distributional model components
  
  Parameters
  ----------
  design : formulae.DesignMatrices
      The object with all the required design matrices and information about the model terms.
  priors : dict
      A dictionary where keys are term names and values are their priors.
  response_name : str
      The name of the response or target. If ``response_kind`` is ``"data"``, it's the name of
      the response variable. If ``response_kind`` is ``"param"`` it's the name of the parameter.
      An example of the first could be "Reaction" and an example of the latter could be "sigma"
      or "kappa".
  response_kind : str
      Specifies whether the distributional component models the response (``"data"``) or an
      auxiliary parameter (``"param"``). When ``"data"`` this is actually modeling the "parent"
      parameter of the family.
  spec : bambi.Model
      The Bambi model
code: def build_priors(self):
      for term in self.terms.values():
          if isinstance(term, GroupSpecificTerm):
              kind = "group_specific"
          elif (
              isinstance(term, CommonTerm) and term.kind == "intercept"
          ):
              kind = "intercept"
          elif hasattr(term, "kind") and term.kind == "offset":
              continue
          elif isinstance(term, HSGPTerm):
              if term.prior is None:
                  term.prior = get_default_prior(
                      "hsgp", cov_func=term.cov
                  )
              continue
          else:
              kind = "common"
          term.prior = prepare_prior(
              term.prior, kind, self.spec.auto_scale
          )
  
imports: import formulae
  import numpy
  import xarray
  from bambi.defaults import get_default_prior
  from bambi.families import univariate, multivariate
  from bambi.priors import Prior
  from bambi.terms import CommonTerm, GroupSpecificTerm, HSGPTerm, OffsetTerm, ResponseTerm
  from bambi.utils import get_aliased_name, is_hsgp_term
label_desc: Use image node_id 6 for calling the DistributionalComponent obj's underlying member method code with example usage: obj.build_priors() without return types