def fetch_aya_redteaming_dataset()

in pyrit/datasets/aya_redteaming_dataset.py [0:0]


def fetch_aya_redteaming_dataset(
    cache: bool = True,
    data_home: Optional[Path] = None,
    language: Literal["English", "Hindi", "French", "Spanish", "Arabic", "Russian", "Serbian", "Tagalog"] = "English",
    harm_categories: Optional[
        List[
            Literal[
                "Bullying & Harassment",
                "Discrimination & Injustice",
                "Graphic material",
                "Harms of Representation Allocation and Quality of Service",
                "Hate Speech",
                "Non-consensual sexual content",
                "Profanity",
                "Self-Harm",
                "Violence, Threats & Incitement",
            ]
        ]
    ] = None,
    harm_scope: Optional[Literal["global", "local"]] = None,