Buckets:
AnonymousSpottedToad/candidate_bucket / codebase /python /Kolerr-Lab_supper-decoyable /decoyable /defense /models.py
| """ | |
| decoyable/defense/models.py | |
| Pydantic models for DECOYABLE defense system. | |
| """ | |
| from typing import Any, Dict, List, Optional | |
| from pydantic import BaseModel | |
| class AttackAnalysis(BaseModel): | |
| """Model for LLM analysis results.""" | |
| attack_type: str | |
| confidence: float | |
| recommended_action: str | |
| explanation: str | |
| severity: str | |
| indicators: List[str] = [] | |
| class KnowledgeEntry(BaseModel): | |
| """Model for knowledge base entries.""" | |
| id: Optional[int] = None | |
| timestamp: str | |
| attack_data: Dict[str, Any] | |
| analysis_result: Dict[str, Any] | |
| feedback: Optional[str] = None | |
Xet Storage Details
- Size:
- 611 Bytes
- Xet hash:
- 82b39831bf5148f913dcd4fae47baea6247ee027d75b145b5ef41e0d9544ee4e
·
Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.