Spaces:
Running
Running
Update main.py
Browse files
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 #
|
| 168 |
-
tool_calls: Optional[List[Dict]] = None #
|
| 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):
|