feat(hackathon-demo): Language-agnostic canonical templates + RAG for multilingual MemRL
indroniel
fe2726b
- Fresh DB schema with canonical_intent, canonical_slots, language
- Gemma prompt now requests canonical + actions + receives RAG few-shot examples from past memories (cross-language)
- Rule/Gemma paths derive & expose canonical for UI
- Richer /transcribe + /memories responses (canonical, language)
- Reinforce stores canonical (especially on preview correction +1.0)
- UI: Multilingual example pills (Spanish, Hindi, noisy ASR), richer memory table (lang + intent badges), demo-focused status badges ('MEMRL TEMPLATE (lang-agnostic)', 'GEMMA+RAG (canonical)')
- Subtitle & footer updated to advertise the multilingual canonical MemRL story
- Correction preview UI remains the way to teach new templates
Ready for stellar offline multilingual Hackathon demo on HF Space.
feat: text shape support + preview-before-reinforce MemRL correction flow
indroniel
1fef58b
- Added dynamic text labels (Roadmap item #1 from Agents.md):
'text' shape now supported in Gemma prompt, rule-based fallback (both py + JS), canvas rendering (with fade), hit-testing for drag, manual toolbar button, click-to-place with prompt, and example pill.
- Major improvement to command processing / MemRL feedback:
When user corrects an outcome, new flow: 'Start Correction' → edit JSON details (with live validation) → explicit 'Preview / Sample Execution on Canvas' to see the drawing result first → only then 'Accept Preview & +1.0 Reinforce to MemRL'.
- Decouples preview (temporary canvas mutation from snapshot) from DB update.
- Positive reinforcement (+1.0) is applied only after user visually approves the sample execution.
- Backend updated so reward=1.0 path respects corrected_action_json for trusted high-Q mappings.
- Better UX: validation status, dedicated correction controls, auto-reset on new commands.
- Added Agents.md (developer handbook) to the repo for fu…
feat: upgrade canvas to support multi-command lists, relative freehand paths, shape dragging, trace animations, and blueprint grids
indroniel
9d62419
feat: implement MemRL Audio Canvas with Whisper and Gemma 4