Skip to content

FEAT deprecate prompt chat#1678

Merged
hannahwestra25 merged 20 commits intomicrosoft:mainfrom
hannahwestra25:hawestra/deprecate_prompt_chat
May 8, 2026
Merged

FEAT deprecate prompt chat#1678
hannahwestra25 merged 20 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!

@hannahwestra25 hannahwestra25 enabled auto-merge May 8, 2026 14:09
@hannahwestra25 hannahwestra25 added this pull request to the merge queue May 8, 2026
Merged via the queue into microsoft:main with commit 38359ce May 8, 2026
48 checks passed
hannahwestra25 added a commit to hannahwestra25/PyRIT that referenced this pull request May 8, 2026
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