LordXido's picture
Create app/models.py
f1fe93a verified
raw
history blame contribute delete
306 Bytes
from pydantic import BaseModel
from typing import Optional
class ReflexRequest(BaseModel):
scenario: str
source: Optional[str] = "unknown"
class ReflexResponse(BaseModel):
timestamp: str
scenario_hash: str
anomaly_score: float
system_state: str
action: str
vault_size: int