Skip to content

Commit

Permalink
Add Prompt Injection FRR benchmark
Browse files Browse the repository at this point in the history
Reviewed By: laurendeason

Differential Revision: D64695463

fbshipit-source-id: c592638492aceea24a5a6781e235dec31a607670
  • Loading branch information
cynikolai authored and facebook-github-bot committed Oct 22, 2024
1 parent 3c8a2ef commit 1d013ac
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions CybersecurityBenchmarks/benchmark/query_llm.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@
"challenge_type",
"language",
"speaking_language",
"false_refusal_type",
]


Expand Down Expand Up @@ -142,6 +143,7 @@ def process_prompt_and_user_input(
"judge_question",
"risk_category",
"speaking_language",
"false_refusal_type",
]
for field in test_case_fields:
if field in test_case:
Expand Down

0 comments on commit 1d013ac

Please sign in to comment.