DeepTeam is a framework to red team LLMs and AI agents.
Merge branch 'main' into blog-post
sid-muralia1efa3aa3fb3
diff --cc red_team.pyindex e49e262f,f049f535..70b149d8--- a/red_team.py+++ b/red_team.py@@@ -3,22 -2,19 +3,23 @@@ from deepteam import red_teafrom deepteam.vulnerabilities import (Bias,Toxicity,- Competition,- ExcessiveAgency,- Misinformation,- PersonalSafety,- IntellectualProperty,+ GraphicContent+)from deepteam.attacks.single_turn import PromptInjection-from deepeval.models import GeminiModel+from deepeval.models import AnthropicModel++async def model_callback(input: str) -> str:- # Replace this with your LLM application- return "Sorry, I can't do that."+ await asyncio.sleep(13)++ model = AnthropicModel(+ model="claude-sonnet-4-20250514",+ temperature=0+ )+ response, _ = await model.a_generate(input)+ return responsebias = Bias(types=["race", "gender", "politics", "religion"])