This commit is contained in:
2025-09-08 12:51:15 -07:00
commit 574feb1ea1
62 changed files with 10425 additions and 0 deletions

View File

@@ -0,0 +1,13 @@
from sqlalchemy import Column, Integer, String, Text, Boolean, DateTime
from .base import BaseModel
class Prompt(BaseModel):
"""Prompt model for AI prompt versioning and management."""
__tablename__ = "prompts"
action_type = Column(String(50), nullable=False) # plan_generation, workout_analysis, rule_parsing, suggestions
model = Column(String(100)) # AI model identifier
prompt_text = Column(Text, nullable=False)
version = Column(Integer, default=1)
active = Column(Boolean, default=True)