def __init__(
      self,
      model: language_model.LanguageModel,
      embedder: Callable[[str], np.ndarray],
      importance: Callable[[str], float] | None = None,
      clock_now: Callable[[], datetime.datetime] | None = None,
  ):
    """Initializes the memory factory.

    Args:
      model: The language model to use
      embedder: The text embedder to use
      importance: maps a sentence into [0, 1] scale of importance, if None then
        use a constant importance model that sets all memories to importance 1.0
      clock_now: a callable to get time when adding memories, if None then use
        the current time.
    """
    self._model = model
    self._embedder = embedder
    self._importance = (
        importance or importance_function.ConstantImportanceModel().importance)
    self._clock_now = clock_now or datetime.datetime.now
Initializes the memory factory.

    Args:
      model: The language model to use
      embedder: The text embedder to use
      importance: maps a sentence into [0, 1] scale of importance, if None then
        use a constant importance model that sets all memories to importance 1.0
      clock_now: a callable to get time when adding memories, if None then use
        the current time.
    
concordia/associative_memory/deprecated/blank_memories.py