AI Output Storage Backend Data Models

Some simple data tables for populating a backend for storing prompt runs

About This Project

AI-Output-Storage-Backend-Data-Models is a collection of data table definitions for a backend that stores AI prompts, generated outputs, and associated metadata. The project is designed for use with N8N workflows and is organized into three domains: OUTPUTS, which covers output lifecycle, revisions, quality assessments, and retention policies; INFERENCE, which covers AI assistants, agents, system prompts, LLM models, and API usage; and USERS, which covers users, sessions, conversations, prompts, and credentials. The tables are provided as CSV files grouped into core, system, and tracking categories, and the relationships between them are documented with Mermaid entity diagrams.

The project uses Mermaid graph diagrams to visualize the schema, with color-coded domain groupings and cross-domain relationship views. Its design includes tables for tracking binary file data with encryption metadata, PII detection, information sharing policies, and agent performance metrics, reflecting a focus on auditability and lifecycle management of generated content.

The data models may be useful to developers building internal tools or backends that log and analyze LLM prompt runs, particularly those using N8N for workflow automation. They could also serve as a reference for designers planning schemas for AI output versioning, quality review, or usage analytics.

Project Details

Categories

Tags

datadata-modellingdata-modelserd

Explore More Projects