Spaces:
Sleeping
Sleeping
Update test_case_generator.py
Browse files- test_case_generator.py +4 -2
test_case_generator.py
CHANGED
@@ -46,9 +46,11 @@ class TestCaseGenerator:
|
|
46 |
def get_prompt_template(self, question_type):
|
47 |
"""Get the prompt template for the given question type."""
|
48 |
prompts = {
|
|
|
|
|
49 |
"cause_and_effect_reasoning": cause_and_effect_reasoning,
|
50 |
-
"
|
51 |
-
"
|
52 |
# Add other prompts as needed
|
53 |
}
|
54 |
return prompts.get(question_type, None)
|
|
|
46 |
def get_prompt_template(self, question_type):
|
47 |
"""Get the prompt template for the given question type."""
|
48 |
prompts = {
|
49 |
+
"hallucination": hallucination,
|
50 |
+
"conflicting_instructions": conflicting_instructions,
|
51 |
"cause_and_effect_reasoning": cause_and_effect_reasoning,
|
52 |
+
"factually_incorrect_agreement_sycophancy":factually_incorrect_agreement_sycophancy,
|
53 |
+
"toxicity":toxicity
|
54 |
# Add other prompts as needed
|
55 |
}
|
56 |
return prompts.get(question_type, None)
|