pyrit.datasets.fetch_jbb_behaviors_by_jbb_category

pyrit.datasets.fetch_jbb_behaviors_by_jbb_category#

fetch_jbb_behaviors_by_jbb_category(jbb_category: str, **kwargs) SeedPromptDataset[source]#

Fetch JBB-Behaviors filtered by the original JBB category.

Parameters:
  • jbb_category (str) – The original JBB category to filter by.

  • **kwargs – Additional arguments passed to fetch_jbb_behaviors_dataset.

Returns:

Filtered SeedPromptDataset containing only prompts with the specified JBB category.

Return type:

SeedPromptDataset