class_docstr: Model parameters for create model
code: def retrieval_evaluation_metrics_must_be_supported(cls, v):
      for metric in v:
          if metric not in GENERATION_METRICS:
              raise ValueError(
                  f"retrieval_evaluation_metrics must be one of {', '.join(str(v) for v in RETRIEVAL_METRICS)}, got {metric}"
              )
      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 2 for calling the WriterHandlerParameters obj's underlying member method code with example usage: obj.retrieval_evaluation_metrics_must_be_supported(cls, v) and returns: v