Skip to content

DeepTeam is a framework to red team LLMs and AI agents.

fix

penguine759ce24a435d
diff --git a/kk.py b/kk.py
index 28b77db4..ae647d77 100644
--- a/kk.py
+++ b/kk.py
@@ -21,16 +21,16 @@ async def your_callback(input: str, turns: List[RTTurn]) -> str:
print(os.environ.get("CONFIDENT_API_KEY"))
risk_assessment = red_team(
- attacks=[
- LinearJailbreaking(),
- CrescendoJailbreaking(),
- TreeJailbreaking(),
- SequentialJailbreak(),
- BadLikertJudge(),
- ],
- vulnerabilities=[Bias(), Bias()],
+ # attacks=[
+ # LinearJailbreaking(),
+ # CrescendoJailbreaking(),
+ # TreeJailbreaking(),
+ # SequentialJailbreak(),
+ # BadLikertJudge(),
+ # ],
+ # vulnerabilities=[Bias(), Bias()],
model_callback=your_callback,
- # framework=OWASPTop10(),
+ framework=OWASPTop10(),
)
# from deepteam.vulnerabilities.constants import (