def for_classification(
        cls: "Settings",
        labels: List[str],
        field_type: Optional[Literal["text", "image", "chat"]] = "text",
    ) -> "Settings":
        """Default settings for document classification task. Document classification template consists of a text field and a label question.

        Parameters:
        guidelines (str): Guidelines for the task.
        fields (List[Field]): List of fields.
        questions (List[QuestionType]): List of questions.
        use_chat (bool): If True, the field will be replaced with a chat field.
        """
        from argilla import Settings, LabelQuestion

        settings = Settings(
            guidelines="Select a label for the document.",
            fields=[_get_field_by_type(field_type)(name="text")],
            questions=[LabelQuestion(name="label", labels=labels)],
            mapping={"input": "text", "output": "label", "document": "text"},
        )

        return settings
Default settings for document classification task. Document classification template consists of a text field and a label question.

        Parameters:
        guidelines (str): Guidelines for the task.
        fields (List[Field]): List of fields.
        questions (List[QuestionType]): List of questions.
        use_chat (bool): If True, the field will be replaced with a chat field.
        
argilla/src/argilla/settings/_templates.py