wu981526092 commited on
Commit
f62e2cd
·
1 Parent(s): 2cc685e
agentgraph/testing/perturbation_types/jailbreak.py CHANGED
@@ -43,9 +43,9 @@ def load_jailbreak_techniques() -> List[Dict[str, Any]]:
43
  techniques = []
44
  for _, row in df.iterrows():
45
  techniques.append({
46
- 'name': row.get('name', 'Unknown'),
47
  'prompt': row.get('prompt', ''),
48
- 'description': row.get('description', '')
49
  })
50
 
51
  logger.info(f"Successfully loaded {len(techniques)} jailbreak techniques from CSV file")
 
43
  techniques = []
44
  for _, row in df.iterrows():
45
  techniques.append({
46
+ 'name': row.get('topic', 'Unknown'),
47
  'prompt': row.get('prompt', ''),
48
+ 'description': row.get('source', '')
49
  })
50
 
51
  logger.info(f"Successfully loaded {len(techniques)} jailbreak techniques from CSV file")