Ali2206 commited on
Commit
8ac50b9
·
verified ·
1 Parent(s): 57bcbf7

Update models.py

Browse files
Files changed (1) hide show
  1. models.py +10 -0
models.py CHANGED
@@ -2,6 +2,16 @@ from pydantic import BaseModel
2
  from typing import List, Dict, Optional
3
  from enum import Enum
4
 
 
 
 
 
 
 
 
 
 
 
5
  class ChatRequest(BaseModel):
6
  message: str
7
  temperature: float = 0.7
 
2
  from typing import List, Dict, Optional
3
  from enum import Enum
4
 
5
+
6
+ class NotificationType(str, Enum):
7
+ RISK_ALERT = "risk_alert"
8
+ SYSTEM = "system"
9
+ MESSAGE = "message"
10
+
11
+ class NotificationStatus(str, Enum):
12
+ UNREAD = "unread"
13
+ READ = "read"
14
+ ARCHIVED = "archived"
15
  class ChatRequest(BaseModel):
16
  message: str
17
  temperature: float = 0.7