Memoriva
AI-Powered Document Management & RAG System
RAG PipelineSRSGo BackendNext.js Frontend
Project Overview
🏗️ Multi-Repository Architecture
Memoriva consists of two separate repositories: frontend (Next.js) and backend (Go). Installation and setup instructions are available in each repository's README.
Memoriva is flashcard review app that is based on the SRS - Spaced repetition system for better memory retention of the flashcards. It has baked in RAG for generating flashcard sesssions for study for specific topics, your weak topics, etc., based on the prompt given.
The platform combines powerful SRS algorithm for better retention and uses RAG for generating AI based flashcard study sessions.
Technology Stack
Frontend Technologies
- Next.js 14 with App Router
- TypeScript for type safety
- Tailwind CSS styling
- React Query for state management
Backend & Database
- Go backend services
- PostgreSQL with pgvector
- Redis for caching
- Docker containerization
AI & Vector Search
- OpenAI Embeddings API
- RAG pipeline implementation
- Document chunking & indexing
Infrastructure
- RESTful API design
- File upload handling
- Authentication & authorization
- Scalable microservices
Core Features
RAG Pipeline
- • Document ingestion & processing
- • Intelligent text chunking
- • Vector embedding generation
- • Semantic similarity search
- • Context-aware retrieval
Spaced Repetition System (SRS)
- • Optimized memory retention through adaptive intervals
- • Intelligent scheduling based on user performance
- • Support for various flashcard types
- • Daily review tracking and analytics
- • Handles forgotten cards with ease
Security & Privacy
- • User authentication
- • Document access control
- • Data encryption
- • Privacy-first design
- • Secure file handling
Performance
- • Caching layer with Redis
- • Optimized query processing
- • Concurrent request handling
- • Scalable architecture