pyrit.datasets.fetch_jbb_behaviors_by_harm_category#
- fetch_jbb_behaviors_by_harm_category(harm_category: str, **kwargs) SeedPromptDataset [source]#
Fetch JBB-Behaviors filtered by a specific harm category.
- Parameters:
harm_category (str) – The harm category to filter by.
**kwargs – Additional arguments passed to fetch_jbb_behaviors_dataset.
- Returns:
Filtered SeedPromptDataset containing only prompts with the specified harm category.
- Return type: