Lorelink: AI-Powered Social Media Platform that Combines Retrieval Augmented Generation and Generative AI to Generate Stories

Computer Science

Description

Lorelink is a mobile-first AI-powered social media platform that enables users to instantly create, edit, and share engaging stories. By combining Generative AI with Retrieval-Augmented Generation (RAG), Lorelink delivers creative, context-aware story content while fostering social interaction through posts, comments, likes, and follows. It empowers storytellers, writers, and content creators to produce high-quality narratives quickly and share them with a connected audience.

Objectives

• Allow users to input custom story prompts. • Analyze prompts and retrieve relevant literary cues to guide story generation. • Maintain chat history and enable review and editing of previous story drafts. • Enable users to share stories, like, comment, and follow other storytellers. • Moderate user prompts for content moderation to ensure quality and safety. • Provide a clean and intuitive interface.

Socio-economic benefit

1. Lower Barriers to Creative Participation A tool like this makes storytelling accessible to people who might not have formal writing training. That typically increases: • Creative expression across age groups. • Opportunities for new writers who can refine drafts and learn from community feedback. • Cultural diversity in the stories produced, which tends to enrich online creative ecosystems. 2. Skill Development & Education Because your system analyzes prompts and guides story structure, users get real-time coaching: • Better writing skills across narrative design, pacing, tone, and character formation. • Support for literacy and language learning, especially in communities where access to writing mentors is limited. • Teachers and students could use it for coursework, giving it broader educational value. 3. Strengthened Social Cohesion Storytelling platforms frequently lead to: • Formation of interest-based creative communities. • Cross-cultural exchange: people learn from storytelling styles, perspectives, and mythologies outside their own. • Mental-health benefits—writing communities often foster support networks and provide safe spaces for self-expression. 4. Responsible Digital Ecosystems Through Moderation Your mention of moderation isn’t trivial: • Proper content filtering reduces harmful or exploitative content. • It creates a safer environment for younger users. • A safer platform tends to gain broader adoption, improving retention and long-term platform viability. 5. Industry & Market Value From a macro view: • Creative-AI platforms often catalyze new business niches—editing tools, collaborative writing apps, fanfiction marketplaces, etc. • Publishers and media companies can tap into user-generated story trends more efficiently. • It supports “prosumer” models where consumers also contribute content, which typically correlates with strong engagement loops.

Methodologies

1. Agile Development Iterative sprints with continuous integration and rapid prototyping of AI story generation, social features, and content moderation. 2. Modular Backend Architecture FastAPI and Firebase split functionalities into independent modules for auth, stories, posts, social graph, and AI services. 3. AI Story Generation Meta-LLaMA 3.1 + LoRA adapters via Hugging Face Transformers and PyTorch generate high-quality stories from user prompts. 4. Prompt Safety & Filtering Custom Python scripts and banned word lists filter prompts for safety and content compliance before generation. 5. Post-Processing & Refinement Generated stories are refined with Python post-processing for coherence, readability, and narrative flow. 6. Authentication & Authorization Firebase Authentication manages signup, login, email verification, password updates, and secure token validation. 7. User Profile Management Users can update profile data (name, bio, picture), with Firestore handling structured storage and versioning. 8. Social Interaction Systems Posts, comments, likes, follows, and feeds implemented via Firestore real-time queries, batch processing, and aggregation. 9. Frontend Development Expo + React Native + React Native Paper + CSS with Firebase SDK for responsive, intuitive UI for story creation, feed browsing, and profile management. 10. Cloud Storage Firebase Cloud Storage securely hosts images and videos, with access control and scalable storage. 11. Database Management Firestore collections for users, posts, stories, comments, likes, and follow relations with proper indexing and timestamping. 12. Token Verification & Security Firebase token verification for API requests; Firestore security rules enforce user ownership and data privacy. 13. API-Driven Features RESTful APIs handle CRUD operations for stories, posts, comments, likes, and user follow/unfollow actions and all other operations. 14. Testing & Evaluation Unit and integration tests for FastAPI endpoints, AI generation, and Firebase interactions. 15. Performance & Scalability FastAPI async endpoints, PyTorch GPU inference, quantization, and Firestore indexing ensure high concurrency and responsive performance.

Outcome

1. Cross-Platform Mobile Storytelling App Built a mobile app using Expo and React Native, enabling users to generate, read, and share AI-powered stories on iOS and Android seamlessly. 2. AI-Driven Story Generation Integrated Meta-LLaMA 3.1 with LoRA adapters via a FastAPI backend, allowing users to create context-aware stories instantly on their mobile devices. 3. Safe and Moderated Content Implemented prompt filtering and NLP-based moderation to ensure all generated content is safe and appropriate for all audiences. 4. Interactive Social Features Added likes, comments, follows, and personalized feeds, enabling mobile users to engage with content and build community networks. 5. Real-Time Updates and Notifications Leveraged Firebase Firestore and Cloud Storage for scalable storage, real-time story updates, and push notifications for mobile engagement. 6. Profile Management and Personalization Users can customize profiles, track followers/followings, and manage their story library directly from the app. 7. Intuitive Mobile UI Developed a responsive, user-friendly interface with React Native, React Native Paper and CSS styling, ensuring smooth navigation and story creation on small screens. 8. Secure Authentication and Data Protection Integrated Firebase Authentication with JWT, encrypted storage, and access control to secure user accounts and data on mobile devices. 9. Performance Optimization for Mobile Optimized AI inference and API calls for low-latency story generation and feed loading, maintaining smooth app performance on various devices. 10. Empowering Mobile Creativity Enabled users to generate and share creative stories on the go, promoting engagement, social interaction, and accessible mobile storytelling.

Gallery

More from Computer Science

AI-Based Web Platform for Automated Fracture Detection and Medical Record Management

Computer Science

This project is an AI-based web platform developed for automated detection of bone fractures from X-ray images…

Supervisor: Waheed Ahmad Khan

Soul Sketch: Revolutionizing psychological test through ai

Computer Science

Soul Sketch is an intelligent, cross-platform mobile application designed to digitize and streamline psycholog…

Supervisor: Mr. Hassan Sardar

AI POWERED FINANCE MANAGER

Computer Science

Project is Complete financial Advisor that allows adding income,adding expenses,see future predictions using L…

Supervisor: Mam Yusra Banaras

QisFlex: Interactive Quantum Computing Platform

Computer Science

We have developed a complete learning platform for Quantum Computing. It has courses, blogs and a custom Quant…

Supervisor: Dr. Saeed-ur-Rehman