SlideShare une entreprise Scribd logo
1  sur  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).

Contenu connexe

Similaire à 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
 

Similaire à 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
 

Dernier

Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...OnePlan Solutions
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Mater
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentationvaddepallysandeep122
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfIdiosysTechnologies1
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样umasea
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Natan Silnitsky
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024StefanoLambiase
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfMarharyta Nedzelska
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceBrainSell Technologies
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationBradBedford3
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...stazi3110
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Matt Ray
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....kzayra69
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Andreas Granig
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWave PLM
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作qr0udbr0
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtimeandrehoraa
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmSujith Sukumaran
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Hr365.us smith
 

Dernier (20)

Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
Maximizing Efficiency and Profitability with OnePlan’s Professional Service A...
 
Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)Ahmed Motair CV April 2024 (Senior SW Developer)
Ahmed Motair CV April 2024 (Senior SW Developer)
 
PREDICTING RIVER WATER QUALITY ppt presentation
PREDICTING  RIVER  WATER QUALITY  ppt presentationPREDICTING  RIVER  WATER QUALITY  ppt presentation
PREDICTING RIVER WATER QUALITY ppt presentation
 
Best Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdfBest Web Development Agency- Idiosys USA.pdf
Best Web Development Agency- Idiosys USA.pdf
 
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
办理学位证(UQ文凭证书)昆士兰大学毕业证成绩单原版一模一样
 
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
Taming Distributed Systems: Key Insights from Wix's Large-Scale Experience - ...
 
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
Dealing with Cultural Dispersion — Stefano Lambiase — ICSE-SEIS 2024
 
A healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdfA healthy diet for your Java application Devoxx France.pdf
A healthy diet for your Java application Devoxx France.pdf
 
CRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. SalesforceCRM Contender Series: HubSpot vs. Salesforce
CRM Contender Series: HubSpot vs. Salesforce
 
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort ServiceHot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
Hot Sexy call girls in Patel Nagar🔝 9953056974 🔝 escort Service
 
How to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion ApplicationHow to submit a standout Adobe Champion Application
How to submit a standout Adobe Champion Application
 
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
Building a General PDE Solving Framework with Symbolic-Numeric Scientific Mac...
 
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
Open Source Summit NA 2024: Open Source Cloud Costs - OpenCost's Impact on En...
 
What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....What are the key points to focus on before starting to learn ETL Development....
What are the key points to focus on before starting to learn ETL Development....
 
Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024Automate your Kamailio Test Calls - Kamailio World 2024
Automate your Kamailio Test Calls - Kamailio World 2024
 
What is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need ItWhat is Fashion PLM and Why Do You Need It
What is Fashion PLM and Why Do You Need It
 
英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作英国UN学位证,北安普顿大学毕业证书1:1制作
英国UN学位证,北安普顿大学毕业证书1:1制作
 
SpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at RuntimeSpotFlow: Tracking Method Calls and States at Runtime
SpotFlow: Tracking Method Calls and States at Runtime
 
Intelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalmIntelligent Home Wi-Fi Solutions | ThinkPalm
Intelligent Home Wi-Fi Solutions | ThinkPalm
 
Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)Recruitment Management Software Benefits (Infographic)
Recruitment Management Software Benefits (Infographic)
 

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).