Spaces:
Running
Running
Update app/schemas.py
Browse files- app/schemas.py +2 -0
app/schemas.py
CHANGED
|
@@ -57,6 +57,8 @@ class IndexResponse(BaseModel):
|
|
| 57 |
"""
|
| 58 |
message: str
|
| 59 |
documents_added: int
|
|
|
|
|
|
|
| 60 |
|
| 61 |
class GeneralResponse(BaseModel):
|
| 62 |
"""
|
|
|
|
| 57 |
"""
|
| 58 |
message: str
|
| 59 |
documents_added: int
|
| 60 |
+
# ✨ ADDED: Field to return extracted text to the UI
|
| 61 |
+
extracted_text: Optional[str] = None
|
| 62 |
|
| 63 |
class GeneralResponse(BaseModel):
|
| 64 |
"""
|