class_docstr: Configuration for VectorStoreHandler.
class_docstr_tok: ["Configuration","for","VectorStoreHandler","."]
docstr: Check if there are any typos in the parameters.
docstr_tok: ["Check","if","there","are","any","typos","in","the","parameters","."]
code: def check_param_typos(cls, values):
      """Check if there are any typos in the parameters."""
  
      expected_params = cls.__fields__.keys()
      for key in values.keys():
          if key not in expected_params:
              close_matches = difflib.get_close_matches(
                  key, expected_params, cutoff=0.4
              )
              if close_matches:
                  raise ValueError(
                      f"Unexpected parameter '{key}'. Did you mean '{close_matches[0]}'?"
                  )
              else:
                  raise ValueError(f"Unexpected parameter '{key}'.")
      return values
  
imports: import difflib
  from pydantic import BaseModel, Extra, root_validator
label_desc: Use image node_id 1 for calling the ChromaHandlerConfig obj's underlying member method code with example usage: obj.check_param_typos(cls, values) and returns: values