promptflow.evals.synthetic.adversarial_scenario module#
- class promptflow.evals.synthetic.adversarial_scenario.AdversarialScenario(value)#
Bases:
Enum
Adversarial scenario types
- ADVERSARIAL_CONTENT_GEN_GROUNDED = 'adv_content_gen_grounded'#
- ADVERSARIAL_CONTENT_GEN_UNGROUNDED = 'adv_content_gen_ungrounded'#
- ADVERSARIAL_CONTENT_PROTECTED_MATERIAL = 'adv_content_protected_material'#
- ADVERSARIAL_CONVERSATION = 'adv_conversation'#
- ADVERSARIAL_INDIRECT_JAILBREAK = 'adv_xpia'#
- ADVERSARIAL_QA = 'adv_qa'#
- ADVERSARIAL_REWRITE = 'adv_rewrite'#
- ADVERSARIAL_SEARCH = 'adv_search'#
- ADVERSARIAL_SUMMARIZATION = 'adv_summarization'#