Skip to content

Latest commit

 

History

3 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 

Repository files navigation

MemorisAI

MemorisAI is an AI-powered personal knowledge assistant designed to provide personalized, context-aware conversations using persistent memory and Retrieval-Augmented Generation (RAG).

Users can create conversations, interact with an AI assistant, upload PDF documents, and ask questions based on their own knowledge base.

Features

  • User registration and JWT-based authentication
  • Persistent multi-conversation chat system
  • AI-powered conversations using Google Gemini
  • Persistent user memory across conversations
  • PDF document upload and management
  • Semantic search across uploaded documents
  • Retrieval-Augmented Generation (RAG)
  • Context-aware responses based on conversation history, user memory, and documents
  • Markdown-formatted AI responses
  • Responsive and modern web interface

Tech Stack

Frontend

  • React
  • Vite
  • React Router
  • Axios
  • Tailwind CSS
  • React Hook Form
  • Zod
  • React Markdown
  • React Hot Toast
  • TanStack Query
  • Lucide React

Backend

  • Node.js
  • Express.js
  • MongoDB
  • Mongoose
  • JSON Web Tokens (JWT)
  • Multer
  • PDF Parse

Artificial Intelligence

  • Google Gemini
  • Gemini generative AI models
  • Gemini embedding models
  • Retrieval-Augmented Generation (RAG)
  • Vector similarity search

How It Works

MemorisAI combines three sources of context when generating responses:

  • Conversation history for short-term context
  • Persistent user memories for long-term personalization
  • Relevant sections from uploaded documents using semantic vector search

Uploaded PDF documents are extracted, split into smaller chunks, converted into vector embeddings, and stored for later retrieval. When a user asks a question, the question is embedded and compared against stored document vectors to find the most relevant context. This context is then provided to the AI model when generating the response.

Deployment

About

AI-powered personal knowledge assistant with persistent memory, conversational AI, PDF document understanding, and Retrieval-Augmented Generation (RAG) using React, Node.js, MongoDB, and Google Gemini.

Resources

Stars

3 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages