Skip to content

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

Update schema.py

Amine Djeghri04030ddd20f1
diff --git a/deepteam/attacks/single_turn/multilingual/schema.py b/deepteam/attacks/single_turn/multilingual/schema.py
index 8ab8e763..e1038a73 100644
--- a/deepteam/attacks/single_turn/multilingual/schema.py
+++ b/deepteam/attacks/single_turn/multilingual/schema.py
@@ -6,8 +6,16 @@ class EnhancedAttack(BaseModel):
class ComplianceData(BaseModel):
+ """Schema for compliance data.
+ Attributes:
+ non_compliant (bool): True if the prompt is non-compliant, False otherwise.
+ """
non_compliant: bool
class IsTranslation(BaseModel):
+ """Schema for checking if the prompt is a translation.
+ Attributes:
+ is_translation (bool): True if the prompt is a translation, False otherwise.
+ """
is_translation: bool