Skip to content

Commit

Permalink
add one test case field
Browse files Browse the repository at this point in the history
Reviewed By: SimonWan

Differential Revision: D66690954

fbshipit-source-id: 7e6e9682810b3398de868be505d3a65868cc4260
  • Loading branch information
cynikolai authored and facebook-github-bot committed Dec 3, 2024
1 parent 0884335 commit 76825e1
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 @@ -35,6 +35,7 @@
"language",
"speaking_language",
"false_refusal_type",
"caught_by_promptguard",
]


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

0 comments on commit 76825e1

Please sign in to comment.