- Updated unified KB with 5000+ entities (Feb 2026)
- Rebuilt FAISS index on Spartan GPU
- Updated version info to 2.4.0 (69% P@1, 88% R@5)
- Cleaned up unused dev/test files
- Added comprehensive README with architecture docs
Fix DeepL API auth: use header-based authentication
jinruiyang
7e6020c
Add query_id to Google Sheets and auto-insert headers if missing
jinruiyang
f3e982e
Add Google Sheets integration for persistent feedback storage
jinruiyang
3f57f8c
- Add sheets_storage.py with gspread integration
- Integrate Google Sheets saving in backend/api.py
- Support ratings with comment field
- Dynamic environment variable checking for GOOGLE_SHEETS_CREDENTIALS
Fix: dynamic check for sheets_enabled instead of static
jinruiyang
daaa971
Fix gspread import - move to module level
jinruiyang+1: Claude Opus 4.5
6319ca0
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add Google Sheets integration to backend API
jinruiyang+1: Claude Opus 4.5
d14d8e4
- Integrate sheets_storage with /api/entity-feedback endpoint
- Integrate sheets_storage with /api/rating endpoint
- Keep local file backup alongside cloud storage
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add Google Sheets storage for persistent feedback
jinruiyang+1: Claude Opus 4.5
8f481e9
- Add sheets_storage.py module for Google Sheets integration
- Modify demo.py to save ratings and notes to Google Sheets
- Add gspread and google-auth dependencies
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add per-entity feedback, rank details dropdown, and expanded KB
jinruiy+1: Claude
d1394bb
Features:
- Per-entity feedback with ratings (relevance, helpful, sensitivity) and submit button
- Clickable rank score button with dropdown showing full score, matched chunk, subcategory, emirate, source, and model
- KB source display (Wiki, Dhow, Scrapped, Controversial) with deduplication
- Click-outside-to-close behavior for rank details dropdown
- Sensitive topics translation support
Backend:
- New /api/entity-feedback endpoint with UUID query tracking
- Entity feedback saved to entity_feedbacks.json
KB Updates:
- Expanded knowledge base with 2,268 entities
- Updated IR index with 7,531 chunks
- Added controversial_KB source type
🤖 Generated with [Claude Code](https://claude.ai/claude-code)
Co-Authored-By: Claude <noreply@anthropic.com>
Add pagination, auto-save ratings, and fix translation button
jinruiyang+1: jinruiy
4ebe674
- Add pagination: 100 results split into 10 per page
- Auto-save ratings on click via /api/rating endpoint
- Fix translation button always showing for AR/CN languages
- Add dotenv support for local development
- Add .env to .gitignore for security
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: jinruiy <jinruiy@users.noreply.github.com>
Add RTL support for search button rounded corners
jinruiyang+1: Claude Opus 4.5
3eb02b6
Mirror rounded corners on search button when Arabic (RTL) is selected.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Change search input to textarea for better mobile experience
jinruiyang+1: Claude Opus 4.5
a91418e
- Use textarea instead of input for text wrapping on mobile
- Add min-height 70px on mobile for larger input area
- Handle Enter key to submit, Shift+Enter for new line
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Fix search button rounded corners on mobile
jinruiyang+1: Claude Opus 4.5
3ad6931
Add rounded bottom corners to search button on mobile view to match container shape.
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Improve mobile responsiveness and add home link
jinruiyang+1: Claude Opus 4.5
d201535
- Enlarge falcon icon on mobile home view (120px)
- Fix category dropdown clipping on mobile (remove overflow-hidden)
- Make dropdown options more compact for mobile
- Add clickable home link to title for navigation
- Improve mobile layout for search box, results, and feedback
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Renamed 'summary' to 'summary_paragraph' for 9 entities with inconsistent naming
- Generated summary_paragraph for 48 entities that were missing it entirely
- All 1,759 entities now have consistent schema with summary_paragraph field
- Fixes "No results found" bug in frontend display
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Resize preview image to 1200x630 for Lark compatibility
jinruiyang+1: Claude Opus 4.5
33691a5
- Resized preview.png from 2067x1004 (2.4MB) to 1200x630 (971KB)
- Updated og:image dimensions in index.html
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Update HuggingFace Space metadata for social preview
jinruiyang+1: Claude Opus 4.5
0f489c0
- Set proper title: UAE Knowledge System
- Add short_description for preview cards
- Add thumbnail URL for Slack/Lark link previews
- Update emoji to UAE flag
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add og:image dimensions for better Slack/Lark preview
jinruiyang+1: Claude Opus 4.5
67b3820
- Add og:site_name
- Add og:image:type, og:image:width, og:image:height
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add Open Graph meta tags for link preview
jinruiyang+1: Claude Opus 4.5
0fb31ad
- Add og:title, og:description, og:image for Slack/Lark previews
- Add Twitter Card meta tags
- Add homepage screenshot as preview image
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add httpx to requirements for DeepL translation API
jinruiyang+1: Claude Opus 4.5
a8eaf5b
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add backend API module for FastAPI server
jinruiyang+1: Claude Opus 4.5
da9db52
- backend/__init__.py
- backend/api.py - FastAPI routes for search, feedback, translation
- backend/services.py - Service layer for IR operations
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Add multilingual frontend with full i18n support
jinruiyang+1: Claude Opus 4.5
6287ed2
Features:
- New frontend UI with UAE-themed design (emerald/gold colors)
- Full multilingual support for EN, AR (RTL), and CN
- Category-based search with example queries per language
- Translation API integration for result content
- Google Fonts: Roboto (EN), Noto Sans Arabic (AR), Noto Sans SC (CN)
- Responsive design with Tailwind CSS
- Help modal with translated content
- Real user feedback-based default queries
UI improvements:
- Centered search on home, top bar on results
- Gold/bronze themed buttons and accents
- Falcon icon branding
- Rating system for relevance and helpfulness
🤖 Generated with [Claude Code](https://claude.com/claude-code)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Revert "Add feedback download button with stats display"
jinruiyang
83ec98a
This reverts commit ad951682e1dceeb945f5e68082302475bf15d845.
Add feedback download button with stats display
jinruiyang
ad95168
Use /data for persistent feedback storage on HF Spaces