def __init__(
      self,
      model: language_model.LanguageModel,
      context_components: Mapping[
          entity_component.ComponentName, str
      ] = types.MappingProxyType({}),
      options_components: Mapping[
          entity_component.ComponentName, str
      ] = types.MappingProxyType({}),
      pre_act_key: str = 'Universalization',
      logging_channel: logging.LoggingChannel = logging.NoOpLoggingChannel,
  ):
    """Initialize a component to consider universalization of proposed actions.

    Args:
      model: The language model to use.
      context_components: The components to condition the answer on. This is a 
        mapping of component name to their labels to use in the prompt.
      options_components: Components to report the options currently available
        to the focal agent. This component will consider the universalization
        of each option reported by these components. This is a mapping of
        component name to label.
      pre_act_key: Prefix to add to the output of the component when called
        in `pre_act`.
      logging_channel: The channel to log debug information to.
    """
    super().__init__(pre_act_key)
    self._model = model
    self._context_components = dict(context_components)
    self._options_components = dict(options_components)
    self._logging_channel = logging_channel
Initialize a component to consider universalization of proposed actions.

    Args:
      model: The language model to use.
      context_components: The components to condition the answer on. This is a 
        mapping of component name to their labels to use in the prompt.
      options_components: Components to report the options currently available
        to the focal agent. This component will consider the universalization
        of each option reported by these components. This is a mapping of
        component name to label.
      pre_act_key: Prefix to add to the output of the component when called
        in `pre_act`.
      logging_channel: The channel to log debug information to.
    
concordia/deprecated/factory/agent/parochial_universalization_agent.py