SlideShare ist ein Scribd-Unternehmen logo
1 von 36
Eugenio Concepción
Pablo Gervás
Gonzalo Méndez
John Bear is somewhat hungry.
John Bear wants to get some
berries. John Bear wants to get
near the blueberries. John Bear
walks from a cave entrance to
the bush by going through a
pass through a valley through a
meadow. John Bear takes the
blueberries. John Bear eats the
blueberries. The blueberries
are gone. John Bear is not very
hungry.
TALE-SPIN, 1977
Dave Striver loved the university. He loved its
ivy-covered clocktowers, its ancient and sturdy
brick, and its sun-splashed verdant greens and
eager youth. He also loved the fact that the
university is free of the stark unforgiving
trials of the business world — only this isn’t a
fact: academia has its own tests, and some are
as merciless as any in the marketplace. A prime
example is the dissertation defense: to earn the
PhD, to become a doctor, one must pass an oral
examination on one’s dissertation. This was a
test Professor Edward Hart enjoyed giving.
BRUTUS, 2000
In Computational Creativity
research, we study how to develop
software which can take on some of
the creative responsibility in arts
and science projects.
A story generator algorithm (SGA)
refers to a computational procedure
resulting in an artifact that can be
considered a story.
The simplest way of creating rich
and complex stories is using
different systems, generating
different types of content according
to their capabilities.
Many of the existing systems have
been designed as monoliths, which
make the collaboration between
them a really complex challenge.
This happens because almost every
system duplicates a considerable
part of the common storytelling
functions.
If every storytelling system break
its architecture into finer-grain
components, such as microservices,
these components could be used
separately and evolved
independently.
Establish a collaborative model that
allows the generation of better and
richer stories by combining different
capabilities.
Every story generator provides a set
of key operations in the form of
services, so that each system can be
considered as a module in the
overall structure.
Propper is a story generation system
that creates Russian folktales
according to Propp's generation
rules.
These rules provide a very clear
description of how the folktales
morphology could be used for story
generation.
Propp, V. Morphology of the Folktale. 1928.
STellA is a story generation system
that mixes a non-constrained
simulation which produces world
states and narrative actions as
source material for stories.
The material is filtered and selected
later by a discourse generation step.
Charade is an affinities-based story
generation system which creates
stories after simulating the
evolution of a relationship between
two characters using their mutual
affinities.
Due to the fact that all these
systems existed prior to the
definition of the microservices
ecosystem, everyone can be
considered as a legacy system that
must be adapted to this new
purpose.
The role of the director entails the
orchestration of the whole system,
establishing the order in which
every system would make its part.
Nutrition
rules engine
Physics
rules engine
Emotions
engine
Living
beings
engine
Actors BDI
Knowledge
base about
the world
Grab engine Inventary
Episode generation engine Invention engine
Discourse generator
Filters
Episodes
The real core of STellA is the last
stage, focused on the discourse
generation.
It is composed of a set of filters that
apply various rules and functions
related to suspense and narrative
tension curves.
The reasoning stage generates trees
of possible continuations for every
world state –called snapshots.
The filters are applied over the full
tree of solutions in order to select
the most feasible path, and the end
result is the generated story.
REST wrapper
Physics
rules engine
Invention
engine
REST wrapper REST wrapper REST wrapper REST wrapper
REST wrapper
Nutrition
rules engine
Emotions
engine
Living beings
engine
Grab engineInventary
REST wrapper REST wrapper
Actors BDI
Knowledge
base
REST wrapper
Episode
generation
engine
Internal
REST wrapper
Discourse
generation
REST wrapper
Suspense
filter
REST wrapper
Narrative
tension
Storydirector
Story generation systems are
extremely heterogeneous, and so are
their models for knowledge
representation.
The case of STellA is not an
exception.
Concerning this point, the need for a
common representation arises.
Every published service must be
considered to provide system-
specific knowledge structure, so the
adaptation step must be performed
in the composer module.
Narrative
Discourse
Story
Perspective
Time
Duration
Order
Space
Plot
Existents
Setting
Happenings
Actions
• Shared knowledge model.
• Author emulated by director.
• Trade-off between canonical MSA
and model requirements.
• Story generation API Economy.
[1] Roy Thomas Fielding. Architectural styles and the design of network-
based software architectures. PhD thesis, University of California,
Irvine, 2000.
[2] Pablo Gervás. Story generator algorithms. In The Living Handbook of
Narratology. Hamburg University Press, 2012.
[3] Pablo Gervás. Propp's morphology of the folk tale as a grammar for
generation. In OASIcs- OpenAccess Series in Informatics, volume 32.
Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2013.
[4] Pablo Gervás. Reviewing propps story generation procedure in the
light of computational creativity. AISB 2014, 2014.
[5] Carlos León and Pablo Gervás. Creativity in story generation from
the ground up: non-deterministic simulation driven by narrative. In 5th
International Conference on Computational Creativity, ICCC, 2014.
[6] Gonzalo Méndez, Pablo Gervás, and Carlos León. A model of
character affinity for agent-based story generation. In 9th International
Conference on Knowledge, Information and Creativity Support Systems,
Limassol, Cyprus, volume 11, page 2014, 2014.
econcepc@ucm.es
Facultad de Informática
Universidad Complutense de
Madrid
pgervas@ucm.es
Instituto de Tecnología del
Conocimiento
Universidad Complutense de
Madrid
gmendez@ucm.es
Instituto de Tecnología del
Conocimiento
Universidad Complutense de
Madrid
cleon@ucm.es
Facultad de Informática
Universidad Complutense de
Madrid
This paper has been partially funded by the project IDiLyCo: Digital Inclusion, Language
and Communication, Grant. No. TIN2015-66655-R (MINECO/FEDER).

Weitere ähnliche Inhalte

Ähnlich wie A microservice-based architecture for story generation

The Seven Deadly Sins of Bioinformatics
The Seven Deadly Sins of BioinformaticsThe Seven Deadly Sins of Bioinformatics
The Seven Deadly Sins of BioinformaticsDuncan Hull
 
Mining and Supporting Community Structures in Sensor Network Research
Mining and Supporting Community Structures in Sensor Network ResearchMining and Supporting Community Structures in Sensor Network Research
Mining and Supporting Community Structures in Sensor Network ResearchMarko Rodriguez
 
Machines are people too
Machines are people tooMachines are people too
Machines are people tooPaul Groth
 
Ontology - and Reloaded and Revolutions
Ontology - and Reloaded and RevolutionsOntology - and Reloaded and Revolutions
Ontology - and Reloaded and RevolutionsJie Bao
 
Web Science - ISoLA 2012
Web Science - ISoLA 2012Web Science - ISoLA 2012
Web Science - ISoLA 2012Mark Wilkinson
 
From peer-reviewed to peer-reproduced: a role for research objects in scholar...
From peer-reviewed to peer-reproduced: a role for research objects in scholar...From peer-reviewed to peer-reproduced: a role for research objects in scholar...
From peer-reviewed to peer-reproduced: a role for research objects in scholar...Alejandra Gonzalez-Beltran
 
Ontology Mapping
Ontology MappingOntology Mapping
Ontology Mappingbutest
 
Web Apollo Workshop University of Exeter
Web Apollo Workshop University of ExeterWeb Apollo Workshop University of Exeter
Web Apollo Workshop University of ExeterMonica Munoz-Torres
 
Coates p: 1999 agent based modelling
Coates p: 1999 agent based modellingCoates p: 1999 agent based modelling
Coates p: 1999 agent based modellingArchiLab 7
 
Can machines understand the scientific literature
Can machines understand the scientific literatureCan machines understand the scientific literature
Can machines understand the scientific literaturepetermurrayrust
 
AN OPTIMIZATION ALGORITHM BASED ON BACTERIA BEHAVIOR
AN OPTIMIZATION ALGORITHM BASED ON BACTERIA BEHAVIORAN OPTIMIZATION ALGORITHM BASED ON BACTERIA BEHAVIOR
AN OPTIMIZATION ALGORITHM BASED ON BACTERIA BEHAVIORijaia
 
Munoz torres web-apollo-workshop_exeter-2014_ss
Munoz torres web-apollo-workshop_exeter-2014_ssMunoz torres web-apollo-workshop_exeter-2014_ss
Munoz torres web-apollo-workshop_exeter-2014_ssMonica Munoz-Torres
 
Web Science, SADI, and the Singularity
Web Science, SADI, and the SingularityWeb Science, SADI, and the Singularity
Web Science, SADI, and the SingularityMark Wilkinson
 
Top 5 MOST VIEWED LANGUAGE COMPUTING ARTICLE - International Journal on Natur...
Top 5 MOST VIEWED LANGUAGE COMPUTING ARTICLE - International Journal on Natur...Top 5 MOST VIEWED LANGUAGE COMPUTING ARTICLE - International Journal on Natur...
Top 5 MOST VIEWED LANGUAGE COMPUTING ARTICLE - International Journal on Natur...kevig
 
Welch Wordifier Bosc2009
Welch Wordifier Bosc2009Welch Wordifier Bosc2009
Welch Wordifier Bosc2009bosc
 
Modularity and evolvability
Modularity and evolvabilityModularity and evolvability
Modularity and evolvabilitypedrobeltrao
 

Ähnlich wie A microservice-based architecture for story generation (20)

The Seven Deadly Sins of Bioinformatics
The Seven Deadly Sins of BioinformaticsThe Seven Deadly Sins of Bioinformatics
The Seven Deadly Sins of Bioinformatics
 
Our World is Socio-technical
Our World is Socio-technicalOur World is Socio-technical
Our World is Socio-technical
 
Mining and Supporting Community Structures in Sensor Network Research
Mining and Supporting Community Structures in Sensor Network ResearchMining and Supporting Community Structures in Sensor Network Research
Mining and Supporting Community Structures in Sensor Network Research
 
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
Morphogenetic Engineering: Reconciling Architecture and Self-Organization Thr...
 
Machines are people too
Machines are people tooMachines are people too
Machines are people too
 
Ontology - and Reloaded and Revolutions
Ontology - and Reloaded and RevolutionsOntology - and Reloaded and Revolutions
Ontology - and Reloaded and Revolutions
 
Web Science - ISoLA 2012
Web Science - ISoLA 2012Web Science - ISoLA 2012
Web Science - ISoLA 2012
 
From peer-reviewed to peer-reproduced: a role for research objects in scholar...
From peer-reviewed to peer-reproduced: a role for research objects in scholar...From peer-reviewed to peer-reproduced: a role for research objects in scholar...
From peer-reviewed to peer-reproduced: a role for research objects in scholar...
 
Ontology Mapping
Ontology MappingOntology Mapping
Ontology Mapping
 
Web Apollo Workshop University of Exeter
Web Apollo Workshop University of ExeterWeb Apollo Workshop University of Exeter
Web Apollo Workshop University of Exeter
 
Coates p: 1999 agent based modelling
Coates p: 1999 agent based modellingCoates p: 1999 agent based modelling
Coates p: 1999 agent based modelling
 
Can machines understand the scientific literature
Can machines understand the scientific literatureCan machines understand the scientific literature
Can machines understand the scientific literature
 
AN OPTIMIZATION ALGORITHM BASED ON BACTERIA BEHAVIOR
AN OPTIMIZATION ALGORITHM BASED ON BACTERIA BEHAVIORAN OPTIMIZATION ALGORITHM BASED ON BACTERIA BEHAVIOR
AN OPTIMIZATION ALGORITHM BASED ON BACTERIA BEHAVIOR
 
Natural Language Processing
Natural Language ProcessingNatural Language Processing
Natural Language Processing
 
Munoz torres web-apollo-workshop_exeter-2014_ss
Munoz torres web-apollo-workshop_exeter-2014_ssMunoz torres web-apollo-workshop_exeter-2014_ss
Munoz torres web-apollo-workshop_exeter-2014_ss
 
Web Science, SADI, and the Singularity
Web Science, SADI, and the SingularityWeb Science, SADI, and the Singularity
Web Science, SADI, and the Singularity
 
Prosdocimi ucb cdao
Prosdocimi ucb cdaoProsdocimi ucb cdao
Prosdocimi ucb cdao
 
Top 5 MOST VIEWED LANGUAGE COMPUTING ARTICLE - International Journal on Natur...
Top 5 MOST VIEWED LANGUAGE COMPUTING ARTICLE - International Journal on Natur...Top 5 MOST VIEWED LANGUAGE COMPUTING ARTICLE - International Journal on Natur...
Top 5 MOST VIEWED LANGUAGE COMPUTING ARTICLE - International Journal on Natur...
 
Welch Wordifier Bosc2009
Welch Wordifier Bosc2009Welch Wordifier Bosc2009
Welch Wordifier Bosc2009
 
Modularity and evolvability
Modularity and evolvabilityModularity and evolvability
Modularity and evolvability
 

Kürzlich hochgeladen

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfproinshot.com
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...masabamasaba
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...Shane Coughlan
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...masabamasaba
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024Mind IT Systems
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfayushiqss
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...SelfMade bd
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisamasabamasaba
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️Delhi Call girls
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyviewmasabamasaba
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplatePresentation.STUDIO
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...Nitya salvi
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrandmasabamasaba
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsJhone kinadey
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...harshavardhanraghave
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Modelsaagamshah0812
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech studentsHimanshiGarg82
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfVishalKumarJha10
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdfPearlKirahMaeRagusta1
 

Kürzlich hochgeladen (20)

%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
Exploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdfExploring the Best Video Editing App.pdf
Exploring the Best Video Editing App.pdf
 
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
%+27788225528 love spells in Boston Psychic Readings, Attraction spells,Bring...
 
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
OpenChain - The Ramifications of ISO/IEC 5230 and ISO/IEC 18974 for Legal Pro...
 
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
%+27788225528 love spells in Vancouver Psychic Readings, Attraction spells,Br...
 
10 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 202410 Trends Likely to Shape Enterprise Technology in 2024
10 Trends Likely to Shape Enterprise Technology in 2024
 
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdfThe Top App Development Trends Shaping the Industry in 2024-25 .pdf
The Top App Development Trends Shaping the Industry in 2024-25 .pdf
 
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
Crypto Cloud Review - How To Earn Up To $500 Per DAY Of Bitcoin 100% On AutoP...
 
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa%in tembisa+277-882-255-28 abortion pills for sale in tembisa
%in tembisa+277-882-255-28 abortion pills for sale in tembisa
 
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
call girls in Vaishali (Ghaziabad) 🔝 >༒8448380779 🔝 genuine Escort Service 🔝✔️✔️
 
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
%in Hazyview+277-882-255-28 abortion pills for sale in Hazyview
 
AI & Machine Learning Presentation Template
AI & Machine Learning Presentation TemplateAI & Machine Learning Presentation Template
AI & Machine Learning Presentation Template
 
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...Chinsurah Escorts ☎️8617697112  Starting From 5K to 15K High Profile Escorts ...
Chinsurah Escorts ☎️8617697112 Starting From 5K to 15K High Profile Escorts ...
 
%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand%in Midrand+277-882-255-28 abortion pills for sale in midrand
%in Midrand+277-882-255-28 abortion pills for sale in midrand
 
Right Money Management App For Your Financial Goals
Right Money Management App For Your Financial GoalsRight Money Management App For Your Financial Goals
Right Money Management App For Your Financial Goals
 
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
Reassessing the Bedrock of Clinical Function Models: An Examination of Large ...
 
Unlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language ModelsUnlocking the Future of AI Agents with Large Language Models
Unlocking the Future of AI Agents with Large Language Models
 
8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students8257 interfacing 2 in microprocessor for btech students
8257 interfacing 2 in microprocessor for btech students
 
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdfintroduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
introduction-to-automotive Andoid os-csimmonds-ndctechtown-2021.pdf
 
Define the academic and professional writing..pdf
Define the academic and professional writing..pdfDefine the academic and professional writing..pdf
Define the academic and professional writing..pdf
 

A microservice-based architecture for story generation

  • 2. John Bear is somewhat hungry. John Bear wants to get some berries. John Bear wants to get near the blueberries. John Bear walks from a cave entrance to the bush by going through a pass through a valley through a meadow. John Bear takes the blueberries. John Bear eats the blueberries. The blueberries are gone. John Bear is not very hungry. TALE-SPIN, 1977
  • 3. Dave Striver loved the university. He loved its ivy-covered clocktowers, its ancient and sturdy brick, and its sun-splashed verdant greens and eager youth. He also loved the fact that the university is free of the stark unforgiving trials of the business world — only this isn’t a fact: academia has its own tests, and some are as merciless as any in the marketplace. A prime example is the dissertation defense: to earn the PhD, to become a doctor, one must pass an oral examination on one’s dissertation. This was a test Professor Edward Hart enjoyed giving. BRUTUS, 2000
  • 4. In Computational Creativity research, we study how to develop software which can take on some of the creative responsibility in arts and science projects.
  • 5. A story generator algorithm (SGA) refers to a computational procedure resulting in an artifact that can be considered a story.
  • 6.
  • 7.
  • 8.
  • 9.
  • 10.
  • 11.
  • 12. The simplest way of creating rich and complex stories is using different systems, generating different types of content according to their capabilities.
  • 13. Many of the existing systems have been designed as monoliths, which make the collaboration between them a really complex challenge. This happens because almost every system duplicates a considerable part of the common storytelling functions.
  • 14. If every storytelling system break its architecture into finer-grain components, such as microservices, these components could be used separately and evolved independently.
  • 15. Establish a collaborative model that allows the generation of better and richer stories by combining different capabilities.
  • 16. Every story generator provides a set of key operations in the form of services, so that each system can be considered as a module in the overall structure.
  • 17.
  • 18. Propper is a story generation system that creates Russian folktales according to Propp's generation rules. These rules provide a very clear description of how the folktales morphology could be used for story generation. Propp, V. Morphology of the Folktale. 1928.
  • 19. STellA is a story generation system that mixes a non-constrained simulation which produces world states and narrative actions as source material for stories. The material is filtered and selected later by a discourse generation step.
  • 20. Charade is an affinities-based story generation system which creates stories after simulating the evolution of a relationship between two characters using their mutual affinities.
  • 21. Due to the fact that all these systems existed prior to the definition of the microservices ecosystem, everyone can be considered as a legacy system that must be adapted to this new purpose.
  • 22. The role of the director entails the orchestration of the whole system, establishing the order in which every system would make its part.
  • 23. Nutrition rules engine Physics rules engine Emotions engine Living beings engine Actors BDI Knowledge base about the world Grab engine Inventary Episode generation engine Invention engine Discourse generator Filters Episodes
  • 24. The real core of STellA is the last stage, focused on the discourse generation. It is composed of a set of filters that apply various rules and functions related to suspense and narrative tension curves.
  • 25. The reasoning stage generates trees of possible continuations for every world state –called snapshots. The filters are applied over the full tree of solutions in order to select the most feasible path, and the end result is the generated story.
  • 26. REST wrapper Physics rules engine Invention engine REST wrapper REST wrapper REST wrapper REST wrapper REST wrapper Nutrition rules engine Emotions engine Living beings engine Grab engineInventary REST wrapper REST wrapper Actors BDI Knowledge base REST wrapper Episode generation engine Internal REST wrapper Discourse generation REST wrapper Suspense filter REST wrapper Narrative tension Storydirector
  • 27. Story generation systems are extremely heterogeneous, and so are their models for knowledge representation. The case of STellA is not an exception.
  • 28. Concerning this point, the need for a common representation arises. Every published service must be considered to provide system- specific knowledge structure, so the adaptation step must be performed in the composer module.
  • 29.
  • 31.
  • 32. • Shared knowledge model. • Author emulated by director. • Trade-off between canonical MSA and model requirements. • Story generation API Economy.
  • 33. [1] Roy Thomas Fielding. Architectural styles and the design of network- based software architectures. PhD thesis, University of California, Irvine, 2000. [2] Pablo Gervás. Story generator algorithms. In The Living Handbook of Narratology. Hamburg University Press, 2012. [3] Pablo Gervás. Propp's morphology of the folk tale as a grammar for generation. In OASIcs- OpenAccess Series in Informatics, volume 32. Schloss Dagstuhl-Leibniz-Zentrum fuer Informatik, 2013. [4] Pablo Gervás. Reviewing propps story generation procedure in the light of computational creativity. AISB 2014, 2014. [5] Carlos León and Pablo Gervás. Creativity in story generation from the ground up: non-deterministic simulation driven by narrative. In 5th International Conference on Computational Creativity, ICCC, 2014. [6] Gonzalo Méndez, Pablo Gervás, and Carlos León. A model of character affinity for agent-based story generation. In 9th International Conference on Knowledge, Information and Creativity Support Systems, Limassol, Cyprus, volume 11, page 2014, 2014.
  • 34. econcepc@ucm.es Facultad de Informática Universidad Complutense de Madrid pgervas@ucm.es Instituto de Tecnología del Conocimiento Universidad Complutense de Madrid gmendez@ucm.es Instituto de Tecnología del Conocimiento Universidad Complutense de Madrid
  • 36. This paper has been partially funded by the project IDiLyCo: Digital Inclusion, Language and Communication, Grant. No. TIN2015-66655-R (MINECO/FEDER).