Skip to content

RAGReads is a GraphDB-powered book recommendation app that utilizes a Graph-based Retrieval-Augmented Generation (RAG) model. It analyzes book relationships to suggest personalized reading recommendations, enhancing discovery with AI-driven insights from interconnected data for an enriched reading experience.

License

Notifications You must be signed in to change notification settings

thytranx/RAGReads

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

RAGReads

RAGReads is a GraphDB-powered book recommendation app that utilizes a Graph-based Retrieval-Augmented Generation (RAG) model. It analyzes book relationships to suggest personalized reading recommendations, enhancing discovery with AI-driven insights from interconnected data for an enriched reading experience.

RAGReads πŸ“šπŸ”

Graph-Powered Book Recommendation Engine with LLM Insights

License: MIT Python 3.10+ Neo4j

RagReads combines graph database relationships with large language models to deliver contextual book recommendations through semantic understanding of user preferences and literary content.

RagReads Architecture

🌟 Features

Graph RAG Engine

  • πŸ“Š Neo4j knowledge graph with 50+ relationship types
  • πŸ”— Context-aware node connections (GENRE, AUTHOR_STYLE, THEMATIC_SIMILARITY)
  • 🧠 User preference vector embeddings (768d)

LLM Integration

  • πŸ“š GPT-4 for content understanding & summary generation
  • πŸ€– Custom fine-tuned recommendation model (LoRA adapters)
  • 🎯 Semantic similarity scoring with Sentence-BERT

Core Capabilities

  • Personalized reading lists based on graph walks
  • "Why Recommended" explainable AI feature
  • Multi-hop relationship discovery
  • Real-time graph updates from user feedback

πŸš€ Installation

# Clone repository
git clone https://github.com/yourusername/RagReads.git
cd RagReads

# Install dependencies
pip install -r requirements.txt

# Set up environment
cp .env.example .env
# Update Neo4j and OpenAI credentials in .env

# Initialize graph database
python scripts/init_graph.py

About

RAGReads is a GraphDB-powered book recommendation app that utilizes a Graph-based Retrieval-Augmented Generation (RAG) model. It analyzes book relationships to suggest personalized reading recommendations, enhancing discovery with AI-driven insights from interconnected data for an enriched reading experience.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published