updated and integrated backedn apis

This commit is contained in:
OwusuBlessing
2025-08-15 17:33:43 +01:00
parent bab442e955
commit 093c212928
17 changed files with 509 additions and 123 deletions
+2 -2
View File
@@ -1,6 +1,6 @@
# api/models/requests.py
from pydantic import BaseModel
from typing import List,Dict
from typing import List,Dict, Optional
class BaseRequest(BaseModel):
pass
@@ -13,7 +13,7 @@ class ChatMessage(BaseModel):
class ChatRequest(BaseModel):
query: str
history: List[ChatMessage] = []
customer_metadata: Optional[Dict] = None # Customer info: name, email, phone, user_id
class SurveyRequest(BaseModel):