Spaces:
Running
Running
Fix responses and upload page screenshots
Browse files- .gitattributes +36 -0
- backend/app/api/chat.py +4 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/page_records.json +362 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0001_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0002_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0003_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0004_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0005_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0006_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0007_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0008_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0009_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0010_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0011_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0012_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0013_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0014_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0015_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0016_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0017_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0018_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0019_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0020_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0021_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0022_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0023_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0024_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0025_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0026_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0027_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0028_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0029_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0030_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0031_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0032_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0033_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0034_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0035_colpali.png +3 -0
- backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0036_colpali.png +3 -0
- src/app/globals.css +1 -1
- src/components/layout/ResponseWorkspace.tsx +30 -29
- src/components/layout/TopNavigation.tsx +2 -2
- sync-to-hf.sh +13 -18
.gitattributes
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0001_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 2 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0002_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 3 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0003_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 4 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0004_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 5 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0005_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 6 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0006_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 7 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0007_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 8 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0008_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 9 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0009_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 10 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0010_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 11 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0011_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 12 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0012_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 13 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0013_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 14 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0014_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 15 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0015_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 16 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0016_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 17 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0017_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 18 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0018_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 19 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0019_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 20 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0020_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 21 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0021_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 22 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0022_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 23 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0023_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 24 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0024_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 25 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0025_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 26 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0026_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 27 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0027_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 28 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0028_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 29 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0029_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 30 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0030_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 31 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0031_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 32 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0032_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 33 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0033_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 34 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0034_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 35 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0035_colpali.png filter=lfs diff=lfs merge=lfs -text
|
| 36 |
+
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0036_colpali.png filter=lfs diff=lfs merge=lfs -text
|
backend/app/api/chat.py
CHANGED
|
@@ -142,6 +142,10 @@ INTENT_PATTERNS = [
|
|
| 142 |
r"\bnet profit\b", r"\bprofitability\b", r"\bprofit perform",
|
| 143 |
r"\bprofit growth\b", r"\bprofit before tax\b", r"\bpbt\b",
|
| 144 |
r"\brote\b",
|
|
|
|
|
|
|
|
|
|
|
|
|
| 145 |
]),
|
| 146 |
("income", [
|
| 147 |
r"\btotal income\b", r"\bincome statement\b", r"\boperating income\b",
|
|
|
|
| 142 |
r"\bnet profit\b", r"\bprofitability\b", r"\bprofit perform",
|
| 143 |
r"\bprofit growth\b", r"\bprofit before tax\b", r"\bpbt\b",
|
| 144 |
r"\brote\b",
|
| 145 |
+
r"\bmain drivers?\b", r"\bkey drivers?\b",
|
| 146 |
+
r"\bperformance highlights?\b", r"\bresults? highlights?\b",
|
| 147 |
+
r"\bq1\s*2026\s+performance\b", r"\bq1\s*2026\s+results?\b",
|
| 148 |
+
r"\boverall performance\b",
|
| 149 |
]),
|
| 150 |
("income", [
|
| 151 |
r"\btotal income\b", r"\bincome statement\b", r"\boperating income\b",
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/page_records.json
ADDED
|
@@ -0,0 +1,362 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
[
|
| 2 |
+
{
|
| 3 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 4 |
+
"page_number": 1,
|
| 5 |
+
"page_index": 0,
|
| 6 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0001_colpali.png",
|
| 7 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0001_colpali.png",
|
| 8 |
+
"width_px": 2000,
|
| 9 |
+
"height_px": 1125,
|
| 10 |
+
"dpi": 150
|
| 11 |
+
},
|
| 12 |
+
{
|
| 13 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 14 |
+
"page_number": 2,
|
| 15 |
+
"page_index": 1,
|
| 16 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0002_colpali.png",
|
| 17 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0002_colpali.png",
|
| 18 |
+
"width_px": 2000,
|
| 19 |
+
"height_px": 1125,
|
| 20 |
+
"dpi": 150
|
| 21 |
+
},
|
| 22 |
+
{
|
| 23 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 24 |
+
"page_number": 3,
|
| 25 |
+
"page_index": 2,
|
| 26 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0003_colpali.png",
|
| 27 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0003_colpali.png",
|
| 28 |
+
"width_px": 2000,
|
| 29 |
+
"height_px": 1125,
|
| 30 |
+
"dpi": 150
|
| 31 |
+
},
|
| 32 |
+
{
|
| 33 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 34 |
+
"page_number": 4,
|
| 35 |
+
"page_index": 3,
|
| 36 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0004_colpali.png",
|
| 37 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0004_colpali.png",
|
| 38 |
+
"width_px": 2000,
|
| 39 |
+
"height_px": 1125,
|
| 40 |
+
"dpi": 150
|
| 41 |
+
},
|
| 42 |
+
{
|
| 43 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 44 |
+
"page_number": 5,
|
| 45 |
+
"page_index": 4,
|
| 46 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0005_colpali.png",
|
| 47 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0005_colpali.png",
|
| 48 |
+
"width_px": 2000,
|
| 49 |
+
"height_px": 1125,
|
| 50 |
+
"dpi": 150
|
| 51 |
+
},
|
| 52 |
+
{
|
| 53 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 54 |
+
"page_number": 6,
|
| 55 |
+
"page_index": 5,
|
| 56 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0006_colpali.png",
|
| 57 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0006_colpali.png",
|
| 58 |
+
"width_px": 2000,
|
| 59 |
+
"height_px": 1125,
|
| 60 |
+
"dpi": 150
|
| 61 |
+
},
|
| 62 |
+
{
|
| 63 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 64 |
+
"page_number": 7,
|
| 65 |
+
"page_index": 6,
|
| 66 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0007_colpali.png",
|
| 67 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0007_colpali.png",
|
| 68 |
+
"width_px": 2000,
|
| 69 |
+
"height_px": 1125,
|
| 70 |
+
"dpi": 150
|
| 71 |
+
},
|
| 72 |
+
{
|
| 73 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 74 |
+
"page_number": 8,
|
| 75 |
+
"page_index": 7,
|
| 76 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0008_colpali.png",
|
| 77 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0008_colpali.png",
|
| 78 |
+
"width_px": 2000,
|
| 79 |
+
"height_px": 1125,
|
| 80 |
+
"dpi": 150
|
| 81 |
+
},
|
| 82 |
+
{
|
| 83 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 84 |
+
"page_number": 9,
|
| 85 |
+
"page_index": 8,
|
| 86 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0009_colpali.png",
|
| 87 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0009_colpali.png",
|
| 88 |
+
"width_px": 2000,
|
| 89 |
+
"height_px": 1125,
|
| 90 |
+
"dpi": 150
|
| 91 |
+
},
|
| 92 |
+
{
|
| 93 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 94 |
+
"page_number": 10,
|
| 95 |
+
"page_index": 9,
|
| 96 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0010_colpali.png",
|
| 97 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0010_colpali.png",
|
| 98 |
+
"width_px": 2000,
|
| 99 |
+
"height_px": 1125,
|
| 100 |
+
"dpi": 150
|
| 101 |
+
},
|
| 102 |
+
{
|
| 103 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 104 |
+
"page_number": 11,
|
| 105 |
+
"page_index": 10,
|
| 106 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0011_colpali.png",
|
| 107 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0011_colpali.png",
|
| 108 |
+
"width_px": 2000,
|
| 109 |
+
"height_px": 1125,
|
| 110 |
+
"dpi": 150
|
| 111 |
+
},
|
| 112 |
+
{
|
| 113 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 114 |
+
"page_number": 12,
|
| 115 |
+
"page_index": 11,
|
| 116 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0012_colpali.png",
|
| 117 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0012_colpali.png",
|
| 118 |
+
"width_px": 2000,
|
| 119 |
+
"height_px": 1125,
|
| 120 |
+
"dpi": 150
|
| 121 |
+
},
|
| 122 |
+
{
|
| 123 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 124 |
+
"page_number": 13,
|
| 125 |
+
"page_index": 12,
|
| 126 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0013_colpali.png",
|
| 127 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0013_colpali.png",
|
| 128 |
+
"width_px": 2000,
|
| 129 |
+
"height_px": 1125,
|
| 130 |
+
"dpi": 150
|
| 131 |
+
},
|
| 132 |
+
{
|
| 133 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 134 |
+
"page_number": 14,
|
| 135 |
+
"page_index": 13,
|
| 136 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0014_colpali.png",
|
| 137 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0014_colpali.png",
|
| 138 |
+
"width_px": 2000,
|
| 139 |
+
"height_px": 1125,
|
| 140 |
+
"dpi": 150
|
| 141 |
+
},
|
| 142 |
+
{
|
| 143 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 144 |
+
"page_number": 15,
|
| 145 |
+
"page_index": 14,
|
| 146 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0015_colpali.png",
|
| 147 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0015_colpali.png",
|
| 148 |
+
"width_px": 2000,
|
| 149 |
+
"height_px": 1125,
|
| 150 |
+
"dpi": 150
|
| 151 |
+
},
|
| 152 |
+
{
|
| 153 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 154 |
+
"page_number": 16,
|
| 155 |
+
"page_index": 15,
|
| 156 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0016_colpali.png",
|
| 157 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0016_colpali.png",
|
| 158 |
+
"width_px": 2000,
|
| 159 |
+
"height_px": 1125,
|
| 160 |
+
"dpi": 150
|
| 161 |
+
},
|
| 162 |
+
{
|
| 163 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 164 |
+
"page_number": 17,
|
| 165 |
+
"page_index": 16,
|
| 166 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0017_colpali.png",
|
| 167 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0017_colpali.png",
|
| 168 |
+
"width_px": 2000,
|
| 169 |
+
"height_px": 1125,
|
| 170 |
+
"dpi": 150
|
| 171 |
+
},
|
| 172 |
+
{
|
| 173 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 174 |
+
"page_number": 18,
|
| 175 |
+
"page_index": 17,
|
| 176 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0018_colpali.png",
|
| 177 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0018_colpali.png",
|
| 178 |
+
"width_px": 2000,
|
| 179 |
+
"height_px": 1125,
|
| 180 |
+
"dpi": 150
|
| 181 |
+
},
|
| 182 |
+
{
|
| 183 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 184 |
+
"page_number": 19,
|
| 185 |
+
"page_index": 18,
|
| 186 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0019_colpali.png",
|
| 187 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0019_colpali.png",
|
| 188 |
+
"width_px": 2000,
|
| 189 |
+
"height_px": 1125,
|
| 190 |
+
"dpi": 150
|
| 191 |
+
},
|
| 192 |
+
{
|
| 193 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 194 |
+
"page_number": 20,
|
| 195 |
+
"page_index": 19,
|
| 196 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0020_colpali.png",
|
| 197 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0020_colpali.png",
|
| 198 |
+
"width_px": 2000,
|
| 199 |
+
"height_px": 1125,
|
| 200 |
+
"dpi": 150
|
| 201 |
+
},
|
| 202 |
+
{
|
| 203 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 204 |
+
"page_number": 21,
|
| 205 |
+
"page_index": 20,
|
| 206 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0021_colpali.png",
|
| 207 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0021_colpali.png",
|
| 208 |
+
"width_px": 2000,
|
| 209 |
+
"height_px": 1125,
|
| 210 |
+
"dpi": 150
|
| 211 |
+
},
|
| 212 |
+
{
|
| 213 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 214 |
+
"page_number": 22,
|
| 215 |
+
"page_index": 21,
|
| 216 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0022_colpali.png",
|
| 217 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0022_colpali.png",
|
| 218 |
+
"width_px": 2000,
|
| 219 |
+
"height_px": 1125,
|
| 220 |
+
"dpi": 150
|
| 221 |
+
},
|
| 222 |
+
{
|
| 223 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 224 |
+
"page_number": 23,
|
| 225 |
+
"page_index": 22,
|
| 226 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0023_colpali.png",
|
| 227 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0023_colpali.png",
|
| 228 |
+
"width_px": 2000,
|
| 229 |
+
"height_px": 1125,
|
| 230 |
+
"dpi": 150
|
| 231 |
+
},
|
| 232 |
+
{
|
| 233 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 234 |
+
"page_number": 24,
|
| 235 |
+
"page_index": 23,
|
| 236 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0024_colpali.png",
|
| 237 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0024_colpali.png",
|
| 238 |
+
"width_px": 2000,
|
| 239 |
+
"height_px": 1125,
|
| 240 |
+
"dpi": 150
|
| 241 |
+
},
|
| 242 |
+
{
|
| 243 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 244 |
+
"page_number": 25,
|
| 245 |
+
"page_index": 24,
|
| 246 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0025_colpali.png",
|
| 247 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0025_colpali.png",
|
| 248 |
+
"width_px": 2000,
|
| 249 |
+
"height_px": 1125,
|
| 250 |
+
"dpi": 150
|
| 251 |
+
},
|
| 252 |
+
{
|
| 253 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 254 |
+
"page_number": 26,
|
| 255 |
+
"page_index": 25,
|
| 256 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0026_colpali.png",
|
| 257 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0026_colpali.png",
|
| 258 |
+
"width_px": 2000,
|
| 259 |
+
"height_px": 1125,
|
| 260 |
+
"dpi": 150
|
| 261 |
+
},
|
| 262 |
+
{
|
| 263 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 264 |
+
"page_number": 27,
|
| 265 |
+
"page_index": 26,
|
| 266 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0027_colpali.png",
|
| 267 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0027_colpali.png",
|
| 268 |
+
"width_px": 2000,
|
| 269 |
+
"height_px": 1125,
|
| 270 |
+
"dpi": 150
|
| 271 |
+
},
|
| 272 |
+
{
|
| 273 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 274 |
+
"page_number": 28,
|
| 275 |
+
"page_index": 27,
|
| 276 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0028_colpali.png",
|
| 277 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0028_colpali.png",
|
| 278 |
+
"width_px": 2000,
|
| 279 |
+
"height_px": 1125,
|
| 280 |
+
"dpi": 150
|
| 281 |
+
},
|
| 282 |
+
{
|
| 283 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 284 |
+
"page_number": 29,
|
| 285 |
+
"page_index": 28,
|
| 286 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0029_colpali.png",
|
| 287 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0029_colpali.png",
|
| 288 |
+
"width_px": 2000,
|
| 289 |
+
"height_px": 1125,
|
| 290 |
+
"dpi": 150
|
| 291 |
+
},
|
| 292 |
+
{
|
| 293 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 294 |
+
"page_number": 30,
|
| 295 |
+
"page_index": 29,
|
| 296 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0030_colpali.png",
|
| 297 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0030_colpali.png",
|
| 298 |
+
"width_px": 2000,
|
| 299 |
+
"height_px": 1125,
|
| 300 |
+
"dpi": 150
|
| 301 |
+
},
|
| 302 |
+
{
|
| 303 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 304 |
+
"page_number": 31,
|
| 305 |
+
"page_index": 30,
|
| 306 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0031_colpali.png",
|
| 307 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0031_colpali.png",
|
| 308 |
+
"width_px": 2000,
|
| 309 |
+
"height_px": 1125,
|
| 310 |
+
"dpi": 150
|
| 311 |
+
},
|
| 312 |
+
{
|
| 313 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 314 |
+
"page_number": 32,
|
| 315 |
+
"page_index": 31,
|
| 316 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0032_colpali.png",
|
| 317 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0032_colpali.png",
|
| 318 |
+
"width_px": 2000,
|
| 319 |
+
"height_px": 1125,
|
| 320 |
+
"dpi": 150
|
| 321 |
+
},
|
| 322 |
+
{
|
| 323 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 324 |
+
"page_number": 33,
|
| 325 |
+
"page_index": 32,
|
| 326 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0033_colpali.png",
|
| 327 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0033_colpali.png",
|
| 328 |
+
"width_px": 2000,
|
| 329 |
+
"height_px": 1125,
|
| 330 |
+
"dpi": 150
|
| 331 |
+
},
|
| 332 |
+
{
|
| 333 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 334 |
+
"page_number": 34,
|
| 335 |
+
"page_index": 33,
|
| 336 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0034_colpali.png",
|
| 337 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0034_colpali.png",
|
| 338 |
+
"width_px": 2000,
|
| 339 |
+
"height_px": 1125,
|
| 340 |
+
"dpi": 150
|
| 341 |
+
},
|
| 342 |
+
{
|
| 343 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 344 |
+
"page_number": 35,
|
| 345 |
+
"page_index": 34,
|
| 346 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0035_colpali.png",
|
| 347 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0035_colpali.png",
|
| 348 |
+
"width_px": 2000,
|
| 349 |
+
"height_px": 1125,
|
| 350 |
+
"dpi": 150
|
| 351 |
+
},
|
| 352 |
+
{
|
| 353 |
+
"doc_id": "emiratesnbd_investor_presentation_2026_q1",
|
| 354 |
+
"page_number": 36,
|
| 355 |
+
"page_index": 35,
|
| 356 |
+
"image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0036_colpali.png",
|
| 357 |
+
"colpali_image_path": "/Users/rajvivan/Library/Mobile Documents/com~apple~CloudDocs/CUD UNIVERSITY/PROJECT _FREELANCING/finbot-ir-platform/backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0036_colpali.png",
|
| 358 |
+
"width_px": 2000,
|
| 359 |
+
"height_px": 1125,
|
| 360 |
+
"dpi": 150
|
| 361 |
+
}
|
| 362 |
+
]
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0001_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0002_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0003_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0004_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0005_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0006_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0007_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0008_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0009_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0010_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0011_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0012_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0013_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0014_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0015_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0016_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0017_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0018_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0019_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0020_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0021_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0022_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0023_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0024_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0025_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0026_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0027_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0028_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0029_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0030_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0031_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0032_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0033_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0034_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0035_colpali.png
ADDED
|
Git LFS Details
|
backend/data/pages/emiratesnbd_investor_presentation_2026_q1/pages/page_0036_colpali.png
ADDED
|
Git LFS Details
|
src/app/globals.css
CHANGED
|
@@ -859,7 +859,7 @@ h1, h2, h3, h4 { font-family: var(--font-display); }
|
|
| 859 |
|
| 860 |
.nav-title-split {
|
| 861 |
display: inline-block;
|
| 862 |
-
|
| 863 |
height: 1em;
|
| 864 |
flex: 0 0 auto;
|
| 865 |
}
|
|
|
|
| 859 |
|
| 860 |
.nav-title-split {
|
| 861 |
display: inline-block;
|
| 862 |
+
width: 0.35em;
|
| 863 |
height: 1em;
|
| 864 |
flex: 0 0 auto;
|
| 865 |
}
|
src/components/layout/ResponseWorkspace.tsx
CHANGED
|
@@ -3,7 +3,6 @@
|
|
| 3 |
import React from 'react';
|
| 4 |
import { ExecutiveSummary } from '@/components/chat/ExecutiveSummary';
|
| 5 |
import { SourcesFootnotes } from '@/components/chat/SourcesFootnotes';
|
| 6 |
-
import { FinancialEvidenceAccordion } from '@/components/chat/FinancialEvidenceAccordion';
|
| 7 |
import { KeyDriversAccordion } from '@/components/chat/KeyDriversAccordion';
|
| 8 |
import { SourceVisualEvidenceAccordion } from '@/components/chat/SourceVisualEvidenceAccordion';
|
| 9 |
import { QuestionInput } from '@/components/chat/QuestionInput';
|
|
@@ -81,7 +80,7 @@ function ThinkingIndicator() {
|
|
| 81 |
}
|
| 82 |
|
| 83 |
/* ── Welcome Screen ── */
|
| 84 |
-
function WelcomeScreen({
|
| 85 |
return (
|
| 86 |
<div className="welcome-screen">
|
| 87 |
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
@@ -102,7 +101,7 @@ function WelcomeScreen({ onQuestion, backendLive }: { onQuestion: (q: string) =>
|
|
| 102 |
</div>
|
| 103 |
|
| 104 |
<p className="welcome-subtitle" style={{ fontSize: '0.85rem', maxWidth: '380px' }}>
|
| 105 |
-
Ask questions about Emirates NBD
|
| 106 |
Responses are grounded strictly in validated source evidence.
|
| 107 |
</p>
|
| 108 |
|
|
@@ -136,14 +135,14 @@ function IRResponseCard({
|
|
| 136 |
}) {
|
| 137 |
const execSummary = response.executive_summary ?? '';
|
| 138 |
|
| 139 |
-
const sources = response.sources.map(
|
| 140 |
id: s.id,
|
| 141 |
-
docName: s.doc_name ??
|
| 142 |
page: s.page,
|
| 143 |
support: s.support,
|
| 144 |
}));
|
| 145 |
|
| 146 |
-
const kpis = response.financial_kpis.map(
|
| 147 |
metric: k.metric,
|
| 148 |
current: k.current,
|
| 149 |
previous: k.previous,
|
|
@@ -156,9 +155,9 @@ function IRResponseCard({
|
|
| 156 |
|
| 157 |
const driversSum = response.key_drivers_summary ?? '';
|
| 158 |
|
| 159 |
-
const drivers = response.key_drivers.map(
|
| 160 |
|
| 161 |
-
const visuals = response.visual_evidence.map(
|
| 162 |
const firstSrc = sources[0];
|
| 163 |
const rawDocId = firstSrc
|
| 164 |
? firstSrc.docName.toLowerCase().replace(/ /g, '_').replace(/-/g, '_')
|
|
@@ -243,14 +242,7 @@ export function ResponseWorkspace({
|
|
| 243 |
messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' });
|
| 244 |
}, [messages]);
|
| 245 |
|
| 246 |
-
React.
|
| 247 |
-
if (triggeredQuestion) {
|
| 248 |
-
handleQuestion(triggeredQuestion);
|
| 249 |
-
onClearTriggeredQuestion?.();
|
| 250 |
-
}
|
| 251 |
-
}, [triggeredQuestion, onClearTriggeredQuestion]);
|
| 252 |
-
|
| 253 |
-
const handleQuestion = async (question: string) => {
|
| 254 |
const qId = Date.now().toString();
|
| 255 |
setMessages(prev => [...prev, { id: qId, type: 'question', content: question }]);
|
| 256 |
setIsLoading(true);
|
|
@@ -265,32 +257,41 @@ export function ResponseWorkspace({
|
|
| 265 |
}
|
| 266 |
|
| 267 |
try {
|
| 268 |
-
|
| 269 |
-
|
| 270 |
-
|
| 271 |
-
|
| 272 |
-
|
| 273 |
-
|
| 274 |
-
|
| 275 |
-
|
| 276 |
-
setMessages(prev => [...prev, { id: Date.now().toString(), type: 'ir-response', content: question, response }]);
|
| 277 |
-
}
|
| 278 |
-
} else {
|
| 279 |
setMessages(prev => [...prev, { id: Date.now().toString(), type: 'insufficient', content: question }]);
|
|
|
|
|
|
|
| 280 |
}
|
| 281 |
} catch (err) {
|
| 282 |
console.error('Chat error:', err);
|
|
|
|
| 283 |
setMessages(prev => [...prev, { id: Date.now().toString(), type: 'insufficient', content: question }]);
|
| 284 |
} finally {
|
| 285 |
setIsLoading(false);
|
| 286 |
}
|
| 287 |
-
};
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 288 |
|
| 289 |
return (
|
| 290 |
<div className="app-main">
|
| 291 |
{showWelcome ? (
|
| 292 |
<div style={{ flex: 1, overflow: 'hidden', display: 'flex', flexDirection: 'column' }}>
|
| 293 |
-
<WelcomeScreen
|
| 294 |
</div>
|
| 295 |
) : (
|
| 296 |
<div className="messages-scroll">
|
|
|
|
| 3 |
import React from 'react';
|
| 4 |
import { ExecutiveSummary } from '@/components/chat/ExecutiveSummary';
|
| 5 |
import { SourcesFootnotes } from '@/components/chat/SourcesFootnotes';
|
|
|
|
| 6 |
import { KeyDriversAccordion } from '@/components/chat/KeyDriversAccordion';
|
| 7 |
import { SourceVisualEvidenceAccordion } from '@/components/chat/SourceVisualEvidenceAccordion';
|
| 8 |
import { QuestionInput } from '@/components/chat/QuestionInput';
|
|
|
|
| 80 |
}
|
| 81 |
|
| 82 |
/* ── Welcome Screen ── */
|
| 83 |
+
function WelcomeScreen({ backendLive }: { backendLive: boolean }) {
|
| 84 |
return (
|
| 85 |
<div className="welcome-screen">
|
| 86 |
{/* eslint-disable-next-line @next/next/no-img-element */}
|
|
|
|
| 101 |
</div>
|
| 102 |
|
| 103 |
<p className="welcome-subtitle" style={{ fontSize: '0.85rem', maxWidth: '380px' }}>
|
| 104 |
+
Ask questions about Emirates NBD's investor presentations.
|
| 105 |
Responses are grounded strictly in validated source evidence.
|
| 106 |
</p>
|
| 107 |
|
|
|
|
| 135 |
}) {
|
| 136 |
const execSummary = response.executive_summary ?? '';
|
| 137 |
|
| 138 |
+
const sources = response.sources.map(s => ({
|
| 139 |
id: s.id,
|
| 140 |
+
docName: s.doc_name ?? '',
|
| 141 |
page: s.page,
|
| 142 |
support: s.support,
|
| 143 |
}));
|
| 144 |
|
| 145 |
+
const kpis = response.financial_kpis.map(k => ({
|
| 146 |
metric: k.metric,
|
| 147 |
current: k.current,
|
| 148 |
previous: k.previous,
|
|
|
|
| 155 |
|
| 156 |
const driversSum = response.key_drivers_summary ?? '';
|
| 157 |
|
| 158 |
+
const drivers = response.key_drivers.map(d => ({ title: d.title, detail: d.detail }));
|
| 159 |
|
| 160 |
+
const visuals = response.visual_evidence.map(v => {
|
| 161 |
const firstSrc = sources[0];
|
| 162 |
const rawDocId = firstSrc
|
| 163 |
? firstSrc.docName.toLowerCase().replace(/ /g, '_').replace(/-/g, '_')
|
|
|
|
| 242 |
messagesEndRef.current?.scrollIntoView({ behavior: 'smooth' });
|
| 243 |
}, [messages]);
|
| 244 |
|
| 245 |
+
const handleQuestion = React.useCallback(async (question: string) => {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 246 |
const qId = Date.now().toString();
|
| 247 |
setMessages(prev => [...prev, { id: qId, type: 'question', content: question }]);
|
| 248 |
setIsLoading(true);
|
|
|
|
| 257 |
}
|
| 258 |
|
| 259 |
try {
|
| 260 |
+
// Attempt the backend on every submit. The health check is only a UI hint,
|
| 261 |
+
// and can be stale during startup or after a backend restart.
|
| 262 |
+
const response = await submitQuestion(question, selectedDocIds);
|
| 263 |
+
setBackendLive(true);
|
| 264 |
+
|
| 265 |
+
if (response.response_type === 'unsupported') {
|
| 266 |
+
setMessages(prev => [...prev, { id: Date.now().toString(), type: 'unsupported', content: question }]);
|
| 267 |
+
} else if (response.response_type === 'insufficient') {
|
|
|
|
|
|
|
|
|
|
| 268 |
setMessages(prev => [...prev, { id: Date.now().toString(), type: 'insufficient', content: question }]);
|
| 269 |
+
} else {
|
| 270 |
+
setMessages(prev => [...prev, { id: Date.now().toString(), type: 'ir-response', content: question, response }]);
|
| 271 |
}
|
| 272 |
} catch (err) {
|
| 273 |
console.error('Chat error:', err);
|
| 274 |
+
setBackendLive(false);
|
| 275 |
setMessages(prev => [...prev, { id: Date.now().toString(), type: 'insufficient', content: question }]);
|
| 276 |
} finally {
|
| 277 |
setIsLoading(false);
|
| 278 |
}
|
| 279 |
+
}, [onQuestionAsked, selectedDocIds]);
|
| 280 |
+
|
| 281 |
+
React.useEffect(() => {
|
| 282 |
+
if (triggeredQuestion) {
|
| 283 |
+
queueMicrotask(() => {
|
| 284 |
+
handleQuestion(triggeredQuestion);
|
| 285 |
+
});
|
| 286 |
+
onClearTriggeredQuestion?.();
|
| 287 |
+
}
|
| 288 |
+
}, [triggeredQuestion, onClearTriggeredQuestion, handleQuestion]);
|
| 289 |
|
| 290 |
return (
|
| 291 |
<div className="app-main">
|
| 292 |
{showWelcome ? (
|
| 293 |
<div style={{ flex: 1, overflow: 'hidden', display: 'flex', flexDirection: 'column' }}>
|
| 294 |
+
<WelcomeScreen backendLive={backendLive} />
|
| 295 |
</div>
|
| 296 |
) : (
|
| 297 |
<div className="messages-scroll">
|
src/components/layout/TopNavigation.tsx
CHANGED
|
@@ -98,9 +98,9 @@ export function TopNavigation({ onTogglePanel, panelOpen, onToggleLeftPanel, lef
|
|
| 98 |
} as React.CSSProperties}
|
| 99 |
>
|
| 100 |
<span className="nav-center-title-text">
|
| 101 |
-
<span>Investment Relations
|
| 102 |
<span ref={splitRef} className="nav-title-split" aria-hidden="true" />
|
| 103 |
-
<span>
|
| 104 |
</span>
|
| 105 |
</div>
|
| 106 |
|
|
|
|
| 98 |
} as React.CSSProperties}
|
| 99 |
>
|
| 100 |
<span className="nav-center-title-text">
|
| 101 |
+
<span>Investment Relations</span>
|
| 102 |
<span ref={splitRef} className="nav-title-split" aria-hidden="true" />
|
| 103 |
+
<span>Intelligence System (IRIS)</span>
|
| 104 |
</span>
|
| 105 |
</div>
|
| 106 |
|
sync-to-hf.sh
CHANGED
|
@@ -3,7 +3,7 @@ set -e
|
|
| 3 |
|
| 4 |
echo "Starting local sync to Hugging Face Space..."
|
| 5 |
|
| 6 |
-
# Copy
|
| 7 |
TEMP_DIR="/tmp/hf-push"
|
| 8 |
echo "Preparing files in $TEMP_DIR..."
|
| 9 |
rm -rf "$TEMP_DIR"
|
|
@@ -11,7 +11,10 @@ mkdir -p "$TEMP_DIR"
|
|
| 11 |
|
| 12 |
rsync -a \
|
| 13 |
--exclude='documents/' \
|
| 14 |
-
--exclude='backend/data/' \
|
|
|
|
|
|
|
|
|
|
| 15 |
--exclude='.git/' \
|
| 16 |
--exclude='node_modules/' \
|
| 17 |
--exclude='.next/' \
|
|
@@ -20,28 +23,20 @@ rsync -a \
|
|
| 20 |
|
| 21 |
# Create a fresh git repo with single commit (no binary history)
|
| 22 |
cd "$TEMP_DIR"
|
| 23 |
-
git init
|
|
|
|
| 24 |
git config user.email "rajvivan@users.noreply.huggingface.co"
|
| 25 |
git config user.name "rajvivan"
|
| 26 |
git add -A
|
| 27 |
git commit -m "sync: push iris-ir-platform to HuggingFace Space"
|
| 28 |
|
| 29 |
-
#
|
| 30 |
-
if [ -z "$HF_TOKEN" ]; then
|
| 31 |
-
echo -n "Please enter your Hugging Face Access Token (with WRITE permission): "
|
| 32 |
-
read -rs HF_TOKEN
|
| 33 |
-
echo ""
|
| 34 |
-
fi
|
| 35 |
-
|
| 36 |
-
if [ -z "$HF_TOKEN" ]; then
|
| 37 |
-
echo "Error: Hugging Face token is required."
|
| 38 |
-
exit 1
|
| 39 |
-
fi
|
| 40 |
-
|
| 41 |
-
# Push to HuggingFace Space using Token Authentication
|
| 42 |
echo "Pushing to Hugging Face Space..."
|
| 43 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
| 44 |
git push hf main --force
|
| 45 |
|
| 46 |
echo "Sync complete!"
|
| 47 |
-
|
|
|
|
| 3 |
|
| 4 |
echo "Starting local sync to Hugging Face Space..."
|
| 5 |
|
| 6 |
+
# Copy app code plus compact page screenshots to a temp dir.
|
| 7 |
TEMP_DIR="/tmp/hf-push"
|
| 8 |
echo "Preparing files in $TEMP_DIR..."
|
| 9 |
rm -rf "$TEMP_DIR"
|
|
|
|
| 11 |
|
| 12 |
rsync -a \
|
| 13 |
--exclude='documents/' \
|
| 14 |
+
--exclude='backend/data/chroma/' \
|
| 15 |
+
--exclude='backend/data/colpali_index/**/*.npy' \
|
| 16 |
+
--exclude='backend/data/raw/' \
|
| 17 |
+
--exclude='backend/data/pages/*/pages/*_colpali_index.png' \
|
| 18 |
--exclude='.git/' \
|
| 19 |
--exclude='node_modules/' \
|
| 20 |
--exclude='.next/' \
|
|
|
|
| 23 |
|
| 24 |
# Create a fresh git repo with single commit (no binary history)
|
| 25 |
cd "$TEMP_DIR"
|
| 26 |
+
git init
|
| 27 |
+
git checkout -b main
|
| 28 |
git config user.email "rajvivan@users.noreply.huggingface.co"
|
| 29 |
git config user.name "rajvivan"
|
| 30 |
git add -A
|
| 31 |
git commit -m "sync: push iris-ir-platform to HuggingFace Space"
|
| 32 |
|
| 33 |
+
# Push to HuggingFace Space
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 34 |
echo "Pushing to Hugging Face Space..."
|
| 35 |
+
if [ -n "$HF_TOKEN" ]; then
|
| 36 |
+
git remote add hf "https://rajvivan:$HF_TOKEN@huggingface.co/spaces/rajvivan/iris-ir-platform"
|
| 37 |
+
else
|
| 38 |
+
git remote add hf https://huggingface.co/spaces/rajvivan/iris-ir-platform
|
| 39 |
+
fi
|
| 40 |
git push hf main --force
|
| 41 |
|
| 42 |
echo "Sync complete!"
|
|
|