-
Notifications
You must be signed in to change notification settings - Fork 632
FEAT: New Scenario - Scams (Impersonation) #1202
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
FEAT: New Scenario - Scams (Impersonation) #1202
Conversation
| attack_strategy = RolePlayAttack( | ||
| objective_target=self._objective_target, | ||
| adversarial_chat=self._adversarial_chat, | ||
| role_play_definition_path=RolePlayPaths.PERSUASION_SCRIPT.value, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
wondering if we could add strategies that use different scripts
| ALL = ("all", {"all"}) | ||
|
|
||
| # Types of scam strategies | ||
| ROLE_PLAY = ("role_play", {"role_play"}) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
are there other strategies ? I think Csenge was sending prompts in different languages to try to illicit harmful responses
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
or maybe using a text to audio converter
…rm area "scams" (plural)
| Returns: | ||
| ScenarioStrategy: ScamStrategy.ALL (all scam strategies). | ||
| """ | ||
| return ScamStrategy.IMPERSONATION |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
| return ScamStrategy.IMPERSONATION | |
| return ScamStrategy.ALL |
Description
New scenario for creating scam scripts via the Role Play Attack.
Tests and Documentation
Unit test added, example of successful conversation pasted in PR thread on Teams