class_docstr: Options for changing text-generation behavior.
class_docstr_tok: ["Options","for","changing","text-generation","behavior","."]
code: def check_prompt_length(
      cls, values: Dict[str, Any]
  ) -> Dict[str, Any]:
      prompt_length = values.get("prompt_length")
      max_length = values.get("max_length")
      assert (
          max_length > prompt_length
      ), f"max_length ({max_length}) must be greater than prompt_length ({prompt_length})"
      return values
  
imports: import os
  import string
  from typing import List, Optional, Union, Dict, Any, Literal
  from deepspeed.runtime.config_utils import DeepSpeedConfigModel
  from deepspeed.launcher.runner import DLTS_HOSTFILE, fetch_hostfile
  from deepspeed.inference import RaggedInferenceEngineConfig
  from mii.constants import DeploymentType, TaskType, ModelProvider
  from mii.errors import DeploymentNotFoundError
  from mii.modeling.tokenizers import MIITokenizerWrapper
  from mii.pydantic_v1 import BaseModel, Field, root_validator, validator
  from mii.utils import generate_deployment_name, get_default_task, import_score_file
label_desc: Use image node_id 3 for calling the GenerateParamsConfig obj's underlying member method code with example usage: obj.check_prompt_length(cls, values) and returns: values