code: def get(
      data: Union[InputData, MultiModalData],
      repository_name: Optional[str] = None,
  ):
      if not repository_name:
          if data.data_type == DataTypesEnum.multi_ts:
              # It is needed to use data operations also for multi_ts data
              repository_name = "all"
          else:
              repository_name = "model"
  
      if isinstance(data, InputData):
          cls = UniModalAssumptionsBuilder
      elif isinstance(data, MultiModalData):
          cls = MultiModalAssumptionsBuilder
      else:
          raise NotImplementedError(
              f"Can't build assumptions for data type: {type(data).__name__}"
          )
      return cls(data, repository_name=repository_name)
  
imports: from abc import abstractmethod
  from typing import List, Union, Optional, Set, Tuple
  from golem.core.log import default_log
  from fedot.api.api_utils.assumptions.operations_filter import OperationsFilter, WhitelistOperationsFilter
  from fedot.api.api_utils.assumptions.preprocessing_builder import PreprocessingBuilder
  from fedot.api.api_utils.assumptions.task_assumptions import TaskAssumptions
  from fedot.core.data.data import InputData
  from fedot.core.data.multi_modal import MultiModalData
  from fedot.core.pipelines.node import PipelineNode
  from fedot.core.pipelines.pipeline import Pipeline
  from fedot.core.pipelines.pipeline_builder import PipelineBuilder
  from fedot.core.repository.dataset_types import DataTypesEnum
  from fedot.core.repository.operation_types_repository import OperationTypesRepository
  from fedot.utilities.custom_errors import AbstractMethodNotImplementError
label_desc: Use image node_id 2 for calling the AssumptionsBuilder obj's underlying member method code with example usage: obj.get(data, repository_name) and returns: cls