Evidence Hub

Dynamic narrative generation: Integrating retrieval-augmented generation with large language models for enhanced storytelling systems

Suppa Karthikeya, Byathala Teja, Gudiboina Karthik, Bharath Nandan Vadla, Haindavi Ponguvala, Gebreyes Gebeyehu Geleta

CRC Press eBooks, 2025

Abstract

We present an AI storytelling system that fuses Retrieval-Augmented Generation (RAG) and Large Language Models (LLMs) within a coherent, personalized narrative system. The architecture comprises the use of MongoDB for narrative data storage, Pinecone and ColBERT-XM for semantic retrieval, and ‘Llama 3.3-70B’ for creating the story. It proposes a novel graph-based system for mapping character relationships to maintain narrative consistency between different sections. Evaluation through an interactive web platform shows significant improvement in character consistency and genre adaptability over the baseline systems. User feedback data points to engagement being significantly higher and validates the system’s effectiveness towards entertainment and educational endeavours. Our work takes further steps toward advancing AI-powered creative content generation by giving rise to a scalable framework embedding state-of-the-art NLP methods into structured data management.

Read the paper

Related studies

Go deeper in Evidence Hub

Evidence Hub adds a study data sheet (design, sample size, evidence level, key numbers), an AI summary and a chat grounded in the paper's text.

Open this study Sign up free