Managing Story
FountainAI is an AI-powered platform designed to generate, manage, and evolve interactive stories in real-time. It leverages artificial intelligence to create dynamic, adaptable narratives where characters, events, and plots shift based on user interactions or predefined inputs.
At its core, FountainAI focuses on storytelling that can evolve continuously, making it ideal for applications like video games, virtual storytelling environments, educational simulations, or even interactive fiction. Users can interact with the narrative, and the system responds by adapting characters, actions, and story arcs, offering a unique, ever-changing experience each time.
The platform uses advanced AI, such as GPT-4, to creatively handle open-ended story elements, filling in gaps where needed, which allows for more organic and less rigid storytelling. Whether the focus is on characters' development, plot twists, or evolving contexts, FountainAI ensures that the story remains cohesive, engaging, and immersive.
In short, FountainAI is a storytelling engine designed to create flexible, AI-driven narratives that adapt and respond dynamically to inputs, making it ideal for applications where interactivity and adaptability are key.
FountainAI is built around several key microservices, each responsible for managing a crucial part of the storytelling process. These services are linked through a unified API system, allowing developers to seamlessly orchestrate dynamic and interactive stories.
The Action Service manages actions performed by characters within the story, such as behaviors, movements, and interactions. This service supports full CRUD (Create, Read, Update, Delete) operations, enabling the creation and management of actions while ensuring that they are properly sequenced in the narrative.
The Central Sequence Service manages sequence numbers for all storytelling elements like scripts, characters, and actions. It ensures that all components of the story progress in a logical order, maintaining narrative consistency.
The Character Management Service is responsible for creating, updating, and tracking the development of characters within the story. Characters are linked to their actions, interactions, and evolution within the narrative.
The Core Script Management Service handles the structure and evolution of the overarching story. It dynamically adapts the script based on the characters, actions, and other elements in real-time, ensuring the narrative remains cohesive and engaging.
The Paraphrase Service allows for dynamic variations in character dialogues, ensuring that characters’ spoken lines can be adapted for different contexts or user inputs. This adds flexibility and diversity to the dialogue system.
The Performer Service manages virtual actors or performers within the narrative, tracking their actions and behaviors to ensure they align with the evolving story and interactions.
The Session and Context Management Service is responsible for preserving the context of storytelling sessions, ensuring that the narrative adapts and evolves as users interact with characters, actions, and events.
The Spoken Word Service handles the management and sequencing of character dialogues. It ensures that all spoken elements are integrated logically into the narrative, supporting real-time interactions between characters.
The Story Factory Service is the central engine of FountainAI, assembling all storytelling elements—characters, actions, contexts—into a cohesive narrative. The service dynamically adjusts the story in real-time based on user inputs and events, ensuring an interactive and evolving experience.
All services in FountainAI are secured using a unified API key security mechanism. This ensures that only authorized users can access the APIs, protecting all storytelling elements such as characters, actions, and scripts from unauthorized manipulation.
In addition to the core services, the openAPI/v3 directory contains several key documents that outline the refactoring process, integration improvements, and the role of GPT-4 in enhancing the platform:
-
Critique of v2 FountainAI OpenAPI Specifications: Towards Enhanced Integration and Consistency
Read Document -
FountainAI v3 - Integrating the Shakespeare Drama Corpus with TypeSense
Read Document -
FountainAI v3 Documentation: Balancing API Modifications with GPT-4 Reasoning - "What If?"
Read Document -
FountainAI v3 OpenAPI Implementation Plan: Enhancing Integration for GPT-4 Compatibility
Read Document -
FountainAI v3: Enhanced Integration and GPT-4 Compatibility
Read Document -
Official FountainAI Proposal for Refactoring Character Management API
Read Document -
Proposal for Real-Time Synchronization and Dynamic Schema Versioning of FountainAI with Typesense Using FastAPI
Read Document -
FountainAI Modes of Enforcement: How GPT Model Orchestration Fosters System Trust Through Democratic Collaboration
Read Document -
Proposal for Implementing Undo Feature in FountainAI
Read Document -
FountainAI: Addressing Digital Rights Management (DRM) and Company Compliance
Read Document
This updated README.md now includes the new proposals and documents, reflecting the most recent additions to the repository.