Welcome to the FountainAI project repository! This document serves as the central guide for understanding the project's vision, architecture, and implementation plan. Whether you're a new contributor or familiarizing yourself with the project, this README provides the necessary information to get started.
FountainAI is an advanced project aimed at revolutionizing narrative development through a microservices architecture that automates storytelling processes such as sequence management, character management, and session context orchestration. The core technologies include OpenAI's GPT-4, FastAPI, Docker, and AWS infrastructure. The primary goal is to create a modular, scalable, and secure system that helps manage dynamic narratives with efficiency.
The repository is structured to support the development, deployment, and maintenance of FountainAI services through:
The current development focus is on automating code generation using OpenAPI definitions, following the FountainAI workbook format for consistency and scalability. The system heavily relies on GPT-4 and shell scripting to facilitate this process. We are transitioning from earlier general guidance documents to a more focused, action-driven workbook format, meaning some older documentation is now marked as deprecated.
.
├── Guidance
│ ├── Part A_ Introduction and Architecture Overview.md # Deprecated
│ ├── Part B_ GPT Code Generation Sessions.md # Deprecated
│ ├── Part C_ Deployment, CI_CD Enhancements, and Custom Logging.md # Deprecated
├── Project Report by Date
│ └── FountainAI Project Report.md # Current project reports
├── README.md # This file
├── Use Cases
│ └── The Role of Context in FountainAI.md # Deprecated
├── Workbooks
│ ├── FountainAI Code Generation Workbook.md # Active: Central resource for developing FountainAI
│ ├── FountainAI Visualization Standards.md # Active: Standards for visual representations
│ └── README.md # Active: Workbook structure and norms
├── create_new_main_branch.sh # Shell script to manage branches
└── openAPI
├── API-Docs-GPT-4o-Paraphrase
│ ├── API Documentation - Central Sequence Service API Documentation.md # OpenAPI docs paraphrased via GPT-4
│ ├── API Documentation - Character Management API.md # OpenAPI docs paraphrased via GPT-4
│ ├── API Documentation - Core Script Management.md # OpenAPI docs paraphrased via GPT-4
│ ├── API Documentation - Session and Context Management API.md # OpenAPI docs paraphrased via GPT-4
│ └── API Documentation - Story Factory API.md # OpenAPI docs paraphrased via GPT-4
├── central-sequence-service.yaml # Active: OpenAPI YAML for Central Sequence Service
├── character-management.yaml # Active: OpenAPI YAML for Character Management
├── core-script-management.yaml # Active: OpenAPI YAML for Core Script Management
├── o1-preview-FountainAI-system-description
│ ├── Appendix
│ │ └── Appendix_ FountainAI Implementation Path Documentation.md # Extended Implementation Path
│ ├── Comprehensive FountainAI Implementation Guide (Extended).md # Deprecated: Replaced by Workbook Format
│ ├── Comprehensive FountainAI Implementation Guide.md # Deprecated: Replaced by Workbook Format
│ ├── Requirements Engineering
│ │ ├── Deprecated - FountainAI System Description.md # Deprecated
│ │ ├── FastAPI Implementation Path for the Official FountainAI System.md # Deprecated
│ │ ├── Official FountainAI Implementation Requirements_ Ensuring Compliance with OpenAPI Specifications.md # Deprecated
│ │ └── Official FountainAI System Description and Implementation Plan.md # Deprecated
│ ├── Step -1-Implementation of the Central Sequence Service API
│ │ ├── Continuing the Implementation of the Central Sequence Service API.md # Active: Implementation guide
│ │ └── Official FountainAI System Implementation_ Central Sequence Service API.md # Active: Implementation guide
│ ├── Step-2-Character Management API
│ │ └── Official FountainAI Implementation Path_ Character Management API.md # Active
│ ├── Step-3-Core Script Managment API
│ │ └── Official FountainAI Implementation Path_ Core Script Management API.md # Active
│ ├── Step-4-Session and Context Management API
│ │ └── Official FountainAI Implementation Path_ Session and Context Management API.md # Active
│ └── Step-5-Story Factory API
│ ├── Appendix_ From Mock to Real Implementation of the FountainAI Story Factory Service.md # Active
│ └── Official FountainAI Implementation Path_ Story Factory API.md # Active
├── session-and-context.yaml # Active: OpenAPI YAML for Session and Context Management
└── story-factory.yaml # Active: OpenAPI YAML for Story Factory
Part A
, Part B
, and Part C
) are now marked as deprecated in favor of the workbook-driven approach. These files remain for historical context but should not be referenced for current development.The implementation of FountainAI revolves around OpenAPI-driven code generation and workbook-guided service development. The key steps include:
openAPI
directory and serve as the foundation for automated code generation.The FountainAI Workbook Format is central to development, ensuring consistency and scalability across all services.
Diagrams
directory (to be added).Clone the Repository:
git clone https://github.com/Contexter/FountainAI.git
Review the Workbooks: Start with the FountainAI Code Generation Workbook
in the Workbooks
directory.
Set Up Development Environment: Install required tools and dependencies as outlined in the workbooks.
Generate Code: Use the workbooks to interact with GPT-4 for generating service code based on the OpenAPI specs.
Deploy Services: Follow the deployment guidelines for containerizing and deploying services to AWS.
For questions or support:
This project is licensed under the MIT License. See the LICENSE file for more details.
Happy Coding!
Note: This README provides a comprehensive overview of the FountainAI project, incorporating its current development focus and transitioning from deprecated guidance to workbook-centric development.