Requirement and Analysis - LI - MUS - 1
Requirement and Analysis - LI - MUS - 1
ANALYSIS
Project Name: My Unique Story
Client: Mr. Lee Mallon
Supervisor
Ms. Noor Alkhateeb
Team
Lucid Inc.
Team Members
Abdul Rahman El Sayed
Bhavin Desai
Samra Ahmed
Ashraf Ben El Haj
Kevin Richard Correya
Document Date
14 February, 2024
Document Version
1
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Table of Contents
1. Executive summary .................................................................................................................................................. 3
2. Introduction .............................................................................................................................................................. 4
2.1. Project Purpose ............................................................................................................................................... 4
2.2. Client Organization Background................................................................................................................... 4
2.3. Problems and Opportunities .......................................................................................................................... 4
2.3.1. Problems ...................................................................................................................................................... 4
2.3.2. Opportunities .............................................................................................................................................. 5
2.4. Goals and Objectives ...................................................................................................................................... 5
2.4.1. Goals ............................................................................................................................................................ 5
2.4.2. Objectives .................................................................................................................................................... 5
2.5. Methodology .................................................................................................................................................... 6
3. Outline of the solution proposed to solve the problem(s) ...................................................................................... 7
3.1. Scope ................................................................................................................................................................ 7
3.2. Proposed Solution ........................................................................................................................................... 8
3.2.1. Front-End Development: ........................................................................................................................... 8
3.2.2. User Interface Design and User Experience: ............................................................................................ 8
3.2.3. Back-End Processing: ................................................................................................................................. 8
3.2.4. Content Generation and Compilation: ..................................................................................................... 8
3.2.5. User Experience and Output: .................................................................................................................... 9
3.3. Content Enhancement .................................................................................................................................... 9
3.4. Scalability and Future Enhancements........................................................................................................... 9
4. Functional Requirements ........................................................................................................................................10
4.1. Mandatory Functional Requirements (MFR) .............................................................................................10
4.2. Optional Functional Requirements (OFR) ..................................................................................................15
5. Non-functional Requirements ................................................................................................................................17
5.1. Mandatory Non-Functional Requirements (MNFR) ..................................................................................17
5.2. Optional Non-Functional Requirements (ONFR) .......................................................................................20
6. Diagrammatic representation of the requirements ..............................................................................................23
6.1. Use Case Diagram ..........................................................................................................................................23
6.2. System Architecture Diagram .......................................................................................................................27
6.3. Component Diagram......................................................................................................................................28
6.4. Sequence Diagram .........................................................................................................................................30
6.5. Activity Diagram ............................................................................................................................................32
6.6. Dataflow Diagram ..........................................................................................................................................34
1
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
7. Conclusion ................................................................................................................................................................36
8. Appendices ...............................................................................................................................................................37
Appendix A - Deliverable Task Breakdown Statement............................................................................................37
Appendix B - Copies of client documents ..................................................................................................................38
Appendix C – Glossary ...............................................................................................................................................43
2
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
1. Executive summary
This document presents the requirements analysis for Lucid Inc.'s "My Unique Story" project, being
initiated for the client Mr. Lee Mallon. The goal is to develop an AI-powered platform that
generates hyper-personalized children's storybooks tailored to each child's preferences and
developmental needs.
The proposed solution (Section 3) will leverage cutting-edge generative AI models to create unique
stories and illustrations adapted to inputs like age, language, genre, artwork style etc. The text and
images will be compiled into interactive paginated HTML storybooks for an engaging reading
experience.
The functional requirements (Section 4) outline core features ranging from user registration,
intuitive interfaces for inputting personalization parameters, robust back-end logic to integrate AI,
stringent content moderation mechanisms and basic accessibility options. Non-functional
requirements (Section 5) define system attributes such as high performance, reliability, security,
usability, and maintainability along with scalability to support increasing users.
Additionally, non-mandatory requirements are also analyzed including advanced accessibility,
multilingual support, cross-platform compatibility, external services integration, and offline access
with regular data backups.
A multidimensional understanding of the platform is enabled through detailed behavior models
(Section 6), with diagrams depicting use cases, system architecture, components, sequences, data
flows and interactions.
In summary, this report provides a comprehensive blueprint for the development of a pioneering
personalized children’s reading platform powered by artificial intelligence to transform literacy
experiences for young audiences globally. The vision is brought to life through a methodical
analysis of strategic and technical requirements mapped to the solution outline.
3
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
2. Introduction
2.1. Project Purpose
In the evolving landscape of children’s literature, the integration of Artificial Intelligence (AI)
presents an opportunity to redesign how stories are created and hyper-personalized. ‘My Unique
Story’ is an ambitious project aimed at harnessing AI’s potential to craft personalized stories for
children’s books. This initiative seeks to merge technology with creativity offering unique tailor-
made reading experiences that cater to individual preferences and developmental needs of young
readers across the globe.
4
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
quickly, so striving for fairness and inclusivity is crucial to avoid perpetuating stereotypes
or unintentionally favoring certain demographics.
2.3.2. Opportunities
• Innovation in Children’s literature - The project will provide an opportunity to
innovate and redefine the landscape of children's literature by introducing AI-driven
hyper-personalization of curating stories.
• Inclusivity – Addressing accessibility needs would help in ensuring that the tool or
system is inclusive, catering to a wide range of children and even adults i.e., parents
accessing the content for children, including those with visual impairments or language
learning difficulties.
• Market Competition – By combining and blending the advanced AI capabilities with a
specific focus on curating quality stories or storytelling, the client organization will
garner the potential to establish itself as a leader in the personalized children’s content
market.
• Collaboration with Educational Institutions – Partnering with schools and institutions
can provide a platform to integrate the tool or system into a formal educational setting,
expanding its reach and overall impact.
5
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
• Front-end: Develop a front-end system that would help in account management i.e.,
saving account details and managing them, preferences, language preferences,
• Backend Dashboard and Security Features: Develop a robust backend system with
features such as user login, logout, integrating with external AI APIs.
• Ethical Security Measures: Prioritize ethical security by implementing backend
diagnostics to monitor user activities and promptly address any concerns or complaints.
2.5. Methodology
To create a comprehensive methodology for Lucid Inc.'s "My Unique Story" project, combining
both project and development methodologies, we consider the following approach:
Agile methodology is an approach to software development and project management that prioritizes
adaptability, client involvement, and rapid delivery of value via iterative work cycles known as
iterations. It encourages flexible and responsive response to changes by supporting early delivery,
progressive growth, adaptive planning, and continuous improvement. Cross-functional teams
working closely together on different project components are a feature of the agile methodology.
Regular thoughts on how to improve efficiency led to process adaptation and evolution over time.
• Initiation and Planning - The first step is to outline the goals, potential risks, and extent of
employing AI to create tailored children's storybooks. Project managers, AI developers,
secretary, security coordinators, communications officer and user experience designers
should all be on the cross-functional team.
• Iterative Development - Using an Agile approach to create, test, and improve features in
iterative cycles. Iterative inspections and regular stand-ups provide alignment and flexibility
in the face of change.
• AI Model Development: Create and develop AI models for generating images and stories.
Utilize machine learning algorithms to customize according to user preferences and inputs.
• Security and Privacy: Implement best practices for data security and privacy into practice.
These include secure APIs, encryption, and adherence to data protection laws.
This approach builds a strong foundation for the project's success and future expansion by merging
the efficiency and automation of a agile development approach with the flexibility and stakeholder
engagement of Agile project management.
6
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
3.1. Scope
The project, "My Unique Story: Crafting Personalized Tales for Every Child," encompasses the
development and deployment of a comprehensive system for generating hyper-personalized
children's books. This system will leverage AI technologies for content creation and offer an
interactive platform for users (parents, guardians, or educators) to customize storybooks according
to specific preferences and needs. The scope of this project includes several key components and
delineates the responsibilities of the development team as follows:
Within Scope:
UI/UX Design: Comprehensive UI/UX design and implementation efforts will be undertaken to
ensure intuitive, engaging, and accessible interfaces for both end-users (creators) and
administrators, enhancing the overall experience of creating and managing personalized storybooks.
Front-End Development: Development and implementation of two distinct interfaces: one for the
end-users (creators) to input personalization parameters and view/download their personalized
storybooks, and another for administrators for user management and content moderation.
Back-End Algorithm Development: Development of algorithms that process user inputs, manage
the integration with AI APIs for story and image generation, and compile the outputs into a
cohesive, paginated storybook format as an HTML file with pagination, features.
API Integration: Establishing and maintaining connections with external AI services (eg. OpenAI,
Gemini Pro, Dall-E, Stable Diffusion, etc.) for text and image generation, ensuring reliable and
efficient content creation.
Compilation and Delivery: Development of algorithms to compile text and images into a
storybook format (HTML), making it available for users to view or download from their dashboard.
Storage Solution: Implementing a storage solution for saving the generated storybooks and their
associated images, ensuring data persistence and easy retrieval.
Database Management: Developing a database system to track user inputs, generated content, and
user interactions, including flagging content for review.
Content Flagging: Providing users with the ability to flag content as inappropriate, triggering a
review process by the administrative team.
7
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
8
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Compilation into a ‘Story Book’: The generated story text and corresponding images
are compiled into an HTML page, structured to mimic the layout of a physical book.
This process involves paginating the content and matching text with relevant
illustrations.
3.2.5. User Experience and Output:
Dynamic Story List Update: Once the personalized book is compiled, it is
automatically added to the user's "view story list" on the front end. This ensures that
users can immediately access new content.
Interactive Book Viewing: Users can open their personalized book through the front
end, browsing through pages to read the story and view illustrations, enhancing the
reading experience with an interactive, digital book format. The user will also be able to
download the book in a pdf format, for offline access.
9
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
4. Functional Requirements
The following list presents a detailed breakdown of the functional requirements essential for the
system's operation. These requirements are organized into two distinct categories: Mandatory,
which are essential for the system's basic functionality and cannot be compromised, and Optional,
which are desirable features that enhance system performance and user experience but are not
critical for the system's core operations. This approach ensures a clear understanding of the system's
necessities and additional features that could provide added value.
Criticality: High I/O: User input for registration; System output as user profile
creation and login confirmation.
Priority: 6/10
Description: The system must provide a secure registration form for new users and a login
mechanism for returning users. It should feature encryption for password storage and verification
processes to prevent unauthorized access.
Dependencies: Secure authentication service/library and user database integration
Cost: None
Schedule: 2 days
Technical Issues: Ensuring compatibility between our database and the secure authentication
service/library.
10
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Priority: 8/10
Description: An interface must be provided for users to select age, language, genre, artwork
style, and input a story prompt.
Dependencies: N/A
Cost: None
Schedule: 1 day
Technical Issues: NONE
Criticality: High I/O: User inputs; System output as validated parameters for story
generation
Priority: 8/10
Description: The system must accurately process and validate user inputs, ensuring they are in
the correct format for the AI algorithms to interpret and use for story generation. The system also
should run the text input (story prompt) against a profanity filter. It should prompt users to
correct any invalid or incomplete inputs.
Dependencies: Robust backend validation logic; Profanity filter dictionary/list/library. MFR-02
Cost: None
Schedule: 1 day
Technical Issues: Options to be selected should be limited to drop downs, excluding the NLP
prompt.
11
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Criticality: High I/O: Structured data from user inputs; System output as a
complete, unique story
Priority: 10/10
Description: The AI must generate a story based on structured input, crafting a narrative that is
coherent and engaging. The story should reflect the user's preferences and input while
maintaining age-appropriate content.
Dependencies: Generative AI’s APIs.
Cost: High
Schedule: 2 days
Technical Issues: Aligning the AI output with user expectations
Criticality: High I/O: Image prompts from story generation; System output as
relevant and cohesive images.
Priority: 10/10
Description: Upon receiving image prompts from the AI-generated story, the system must
generate corresponding images that match the narrative and style requested by the user, ensuring
visual harmony with the story content.
Dependencies: AI image generation service; MFR-04
Cost: Very High
Schedule: 2 days
Technical Issues: Ensuring image relevance and appropriateness. Cost is very high for testing.
12
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Criticality: Medium I/O: Language selection; System output as a story in the selected
language.
Priority: 9/10
Description: The system must be capable of generating stories in multiple languages, allowing
users to select their preferred language. It should ensure linguistic accuracy and cultural relevance
in all supported languages.
Dependencies: Multilingual AI models and language databases.
Cost: High
Schedule: 1 day
Technical Issues: Ensuring the accuracy of language models and cultural nuances.
Criticality: High I/O: Generated story text and images; System output as a
compiled HTML file.
Priority: 9/10
Description: The system must compile the generated story text and images into a paginated
HTML file format that can be readily viewed in a web browser. It should then store this HTML
file and associated images in a designated server or cloud storage space.
Dependencies: Local Storage OR Reliable storage solution with backup and retrieval capabilities
Cost: Low
Schedule: 1 week
Technical Issues: Managing storage scaling as user base grows.
13
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Priority: 7/10
Description: Implement accessibility features, such as increasing/decreasing font size or
changing the font style.
Dependencies: N/A
Cost: None
Schedule: 2 days
Technical Issues: Integrating features without compromising existing functionality.
14
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Priority: 6/10
Description: Users should be able to flag any generated content they find inappropriate. The
system should log this event, notify administrators, and initiate a review process.
Dependencies: N/A
Cost: None
Schedule: N/A
Technical Issues:
Criticality: Medium I/O: Admin commands; System output as actions on content and
user data.
Priority: 6/10
Description: Admins should be able to manage, search, and filter all books created, view detailed
information, and delete any content or user accounts if needed. This functionality must be secure
and auditable.
15
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Priority: 4/10
Description: Implement and progressively improve accessibility features, such as high-contrast
modes, and text-to-speech. The system must meet international accessibility standards and be
user-friendly.
Dependencies: Accessibility libraries and compliance standards; TTS engine or SaaS; MFR-04
Cost: High
Schedule: N/A
Technical Issues: Integrating features without compromising existing functionality.
Criticality: Low I/O: User clicks the button to download; System output as a PDF
file of the storybook.
Priority: 4/10
Description: The system shall provide users the functionality to download their personalized
storybooks in PDF format. This feature will convert the HTML storybook into a downloadable
PDF, preserving the layout, images, and text as presented online.
Dependencies: PDF generation library, file conversion service integration.
Cost: Low
Schedule: N/A
Technical Issues: Ensuring high fidelity in the conversion from HTML to PDF, maintaining
interactive elements and accessibility features in the PDF format.
16
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
5. Non-functional Requirements
The tables below provide a comprehensive overview of the non-functional requirements (NFRs)
that are crucial for the development and operation of the system. These requirements are divided
into two categories: Mandatory Non-Functional Requirements (MNFRs) and Optional Non-
Functional Requirements (ONFRs). MNFRs cover vital aspects such as performance, system
reliability, data protection, user interface design, maintainability, and accessibility. These
requirements are essential for the system's functionality and user experience. On the other hand,
ONFRs are optional but offer additional enhancements, which include cross-platform support,
offline access to generated books, integration with external services, and regular backup procedures.
Each requirement is clearly defined with its corresponding description and level of importance to
effectively guide the development process.
17
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
18
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
19
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
20
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
21
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
22
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
23
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
24
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
25
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
26
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
27
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
28
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
29
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
30
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
31
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
32
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Figure 6.5.2. Admin Activity Diagram Figure 6.5.3. Activity Diagram Legend
33
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
34
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
35
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
7. Conclusion
The document specifically outlines the project’s core objective: to use advanced artificial
intelligence to tailor children’s storybooks, creating a unique, engaging, and educational experience
for each child. This initiative is not merely about personalization; it represents a massive shift in
how children interact with literature, making reading an immersive, interactive journey that caters to
the individual interests and learning curves of young readers.
The document further explores the technical intricacies and challenges overcome in developing
such a sophisticated platform. It emphasizes the integration of generative AI for content creation,
image generation, ensuring stories are not only personalized but also diverse and inclusive.
It also includes the use case diagrams such as system sequence diagrams, component, system
architecture diagram, data flow diagram etc. It also highlights the functional and non-functional
diagrams and how high on the priority list they are.
The strategic development of an intuitive front end, alongside a sophisticated AI algorithm,
underscores our dedication to creating a user-friendly and accessible platform. The inclusion of
multilingual support and ethical security measures further exemplifies our commitment to
accessibility and responsible innovation.
As we conclude the R&A phase, we stand on the threshold of turning this vision into reality. The
collaborative efforts of our team, guided by the insights and objectives detailed in this document,
have laid a solid foundation for the successful development and implementation of the project. With
a focus on quality, inclusivity, and innovation, "My Unique Story" is set to open new horizons in
educational technology and storytelling, making every child's reading journey as unique as they are.
36
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
8. Appendices
37
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
38
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
39
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
40
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
41
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
42
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Appendix C – Glossary
Word Definition
The area of computer science focused on creating intelligent
Artificial Intelligence (AI) systems that can perform tasks requiring human-like
intelligence.
Guidelines and requirements that aim to make digital
Accessibility Standards content and technology accessible to individuals with
disabilities.
A set of instructions or rules that guide a computer program
Algorithm
in solving a problem or completing a task.
An API is an interface that enables two software
API (Application Programming applications to communicate with each other by exposing
Interface) data and functionality for external use, without exposing its
core systems, thus avoiding security risks.
The behind-the-scenes part of a software system that
Backend handles data processing, storage, and security, is not directly
visible to users.
Protocols and practices for creating and storing copies of
Backup Procedures
data to prevent loss in case of system failures or disasters.
Systematic errors or inaccuracies in data or algorithms that
Bias
lead to unfair treatment of individuals or groups.
Computing infrastructure where resources and services are
Cloud-Based Architecture delivered over the internet, providing scalability and
accessibility.
Compatibility with multiple operating systems, devices, or
Cross-Platform Support platforms, enabling users to access and use a system in
different environments.
A plain text file format is used to store tabular data, like
CSV (Comma-Separated Values) spreadsheets, where each line represents a row and values
are separated by commas.
43
Lucid Inc. Requirement and Analysis_LI_MUS_1 My Unique Story
Text-to-Speech (TTS) Tool that converts written text into spoken words, enabling
computers to speak textual content.
UI (User Interface) The interface between a user and a computer program,
including graphical elements like buttons and menus.
The overall experience a user has while interacting with a
UX (User Experience) product or system, including factors like usability and
satisfaction.
44