class_docstr: Model parameters for create model
code: def evaluation_type_must_be_supported(cls, v):
      if v not in SUPPORTED_EVALUATION_TYPES:
          raise ValueError(
              f"evaluation_type must be one of `retrieval` or `e2e`, got {v}"
          )
      return v
  
file_path: mindsdb/mindsdb/integrations/handlers/writer_handler/settings.py
imports: from typing import List, Union
  from langchain.callbacks.streaming_stdout import StreamingStdOutCallbackHandler
  from pydantic import BaseModel, Extra, validator
  from mindsdb.integrations.handlers.rag_handler.settings import DEFAULT_EMBEDDINGS_MODEL, RAGBaseParameters
label_desc: Use image node_id 3 for calling the WriterHandlerParameters obj's underlying member method code with example usage: obj.evaluation_type_must_be_supported(cls, v) and returns: v