docs: add ARCHITECTURE.md for offline-first AI system design#42
docs: add ARCHITECTURE.md for offline-first AI system design#42upendra512 wants to merge 1 commit into
Conversation
…Org#17) Addresses issue AOSSIE-Org#17: document the offline-first AI architecture and modular retrieval design for SmartNotes. The document covers: - Core design principles (offline by default, privacy-first, single-process storage) - System layers diagram: Electron main/renderer, Web Worker, Ollama daemon - Module contracts with TypeScript interfaces for all five subsystems: VaultStorage (SQLite CRUD), EmbeddingWorker (Transformers.js WASM), HybridRetriever (BM25 + cosine + RRF), RAGEngine (Ollama streaming), LinkStore (explicit + auto-suggested links) - SQLite schema for notes, FTS5 index, and sqlite-vec embeddings table - Three end-to-end data flow diagrams: note save, semantic search, Q&A - Performance targets per operation (embedding, search, graph, RAG) - Graceful degradation table showing what works without Ollama - Planned file structure for main/renderer/shared modules Fixes AOSSIE-Org#17 Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
|
Warning Rate limit exceeded
Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 29 minutes and 30 seconds. ⌛ How to resolve this issue?After the wait time has elapsed, a review can be triggered using the We recommend that you space out your commits to avoid hitting the rate limit. 🚦 How do rate limits work?CodeRabbit enforces hourly rate limits for each developer per organization. Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout. Please see our FAQ for further information. ℹ️ Review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: ASSERTIVE Plan: Pro Run ID: 📒 Files selected for processing (1)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
This pull request has been automatically marked as stale due to inactivity. It will be closed if no further activity occurs within 7 days. |
Closes #17
Adds ARCHITECTURE.md documenting the offline-first AI system design for SmartNotes.
Contents:
Checklist: