class_docstr: Enum class for defining explicitly what training types exist.
class_docstr_tok: ["Enum","class","for","defining","explicitly","what","training","types","exist","."]
docstr: Returns the type of model which this training yields.
docstr_tok: ["Returns","the","type","of","model","which","this","training","yields","."]
code: def model_type(self) -> Text:
      """Returns the type of model which this training yields."""
      if self == TrainingType.NLU:
          return "nlu"
      if self == TrainingType.CORE:
          return "core"
      return "rasa"
  
imports: import os
  import shutil
  import tempfile
  import uuid
  from enum import Enum
  from pathlib import Path
  from typing import Text, Optional, Union, List, Callable, Set, Iterable
label_desc: Use image node_id 1 for calling the TrainingType obj's underlying member method code with example usage: obj.model_type() and returns: str, str, str