def METHOD_NAME(class_name: str) -> Embeddings:
    """Returns the class object of the handler class.
    Args:
        class_name (str): Name of the class
    Returns:
        langchain.embeddings.BaseEmbedding: The class object
    """
    try:
        module = importlib.import_module("langchain.embeddings")
        class_ = getattr(module, class_name)
    except ImportError:
        raise Exception(
            "The langchain is not installed. Please install it with `pip install langchain`."
        )
    except AttributeError:
        raise Exception(
            f"Could not find the class {class_name} in langchain.embeddings. Please check the class name."
        )
    return class_