minhvtt commited on
Commit
e05f8fb
verified
1 Parent(s): 10d77c4

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +2 -2
main.py CHANGED
@@ -164,8 +164,8 @@ class ChatResponse(BaseModel):
164
  context_used: List[Dict]
165
  timestamp: str
166
  rag_stats: Optional[Dict] = None # Stats from advanced RAG pipeline
167
- session_id: str # NEW: Session identifier for multi-turn
168
- tool_calls: Optional[List[Dict]] = None # NEW: Track API calls made
169
 
170
 
171
  class AddDocumentRequest(BaseModel):
 
164
  context_used: List[Dict]
165
  timestamp: str
166
  rag_stats: Optional[Dict] = None # Stats from advanced RAG pipeline
167
+ session_id: Optional[str] = None # Session identifier for multi-turn (auto-generated if not provided)
168
+ tool_calls: Optional[List[Dict]] = None # Track API calls made
169
 
170
 
171
  class AddDocumentRequest(BaseModel):