Skip to content

FEAT deprecate prompt chat#1678

Open
hannahwestra25 wants to merge 16 commits intomicrosoft:mainfrom
hannahwestra25:hawestra/deprecate_prompt_chat
Open

FEAT deprecate prompt chat#1678
hannahwestra25 wants to merge 16 commits intomicrosoft:mainfrom
hannahwestra25:hawestra/deprecate_prompt_chat

Conversation

@hannahwestra25
Copy link
Copy Markdown
Contributor

@hannahwestra25 hannahwestra25 commented May 1, 2026

Description

-remove all instances of PromptChatTarget in favor of PromptTarget with chat specific TargetCapabities (CHAT_TARGET_REQUIREMENTS) and deprecate PromptChatTarget
-add documentation (updated .md file and notebooks) on TargetConfiguration, TargetCapabilities, TargetRequirements

Tests and Documentation

added tests

@hannahwestra25 hannahwestra25 marked this pull request as ready for review May 1, 2026 16:23
Comment thread doc/code/targets/0_prompt_targets.md
Comment thread pyrit/prompt_target/__init__.py
Comment thread pyrit/prompt_target/common/prompt_chat_target.py Outdated
Comment thread pyrit/prompt_target/common/target_requirements.py Outdated
Comment thread pyrit/executor/attack/multi_turn/tree_of_attacks.py
Comment thread pyrit/prompt_converter/translation_converter.py
Comment thread pyrit/prompt_converter/variation_converter.py
Comment thread pyrit/score/float_scale/self_ask_scale_scorer.py Outdated
Comment thread pyrit/score/true_false/self_ask_refusal_scorer.py Outdated
Comment thread tests/targetconfig.md Outdated
Comment thread tests/unit/scenario/test_foundry.py
Copy link
Copy Markdown
Contributor

@rlundeen2 rlundeen2 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

looks great!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants