Commit Graph
5 Commits
Author SHA1 Message Date
Antigravity 3b1cb85ba2 fix(ai): configure OLLAMA_KEEP_ALIVE=5m to automatically release RAM after inactivity 2026-10-07 15:30:36 +03:00
Antigravity 532e2ec3b2 fix(ai,reader): robust sentence segmentation without abbreviation cutoffs & context-aware literary translation
- Implement robustSentenceSplit across reader.js and backend (miner.py, cefr.py) to prevent false cutoffs on honorifics (Mr., Mrs., Dr.), single-letter initials (John F. Kennedy), decimals, acronyms (U.S., U.K.), and abbreviations (No. 4, etc.)
- Upgrade translation prompt to professional literary Russian, eliminating literal word-for-word translation and preserving titles/honorifics
- Inject surrounding paragraph context into translation API to avoid out-of-context translations
- Inject offline dictionary hints into LLM prompt for accurate contextual word meaning
- Prefer qwen2.5:3b for higher translation fluency and fidelity
- Purge truncated cache entries from sentence_translations and restore Card 30 (briefcase) with authentic full sentence
- Bump Service Worker cache to notes-v6.0
- Add unit tests for robust sentence splitting, prompt formatting, and translation API
2026-10-06 22:32:36 +03:00
Antigravity 37a1f1ab35 feat(ai): integrate local Ollama AI for in-context sentence translation and caching (Task 13) 2026-10-06 15:05:24 +03:00
Antigravity 2294121777 feat(trainer): add GitHub activity heatmap, 4-option quiz mode, active typing, and duplicate checks 2026-09-23 10:02:29 +00:00
Antigravity 813d567b0e feat(core): implement secure MVP core with dictionary search, auth, and CRUD 2026-09-22 13:27:11 +00:00