trypost/database/factories
Paulo Castellano b2bf5c2059 feat: complete AI assistant with custom services and brand config
Baseline snapshot of custom AI implementation before Laravel AI SDK migration.

Includes:
- Custom services: GeminiTextGenerationService, TextGenerationService (OpenAI), ImageGenerationService, AudioGenerationService, VideoGenerationService
- IntentDetector for content moderation via keyword matching
- AI enums: Intent, Orientation, UsageType
- Blade prompt templates: system.blade.php, image.blade.php, video.blade.php
- AiMessage with content_html accessor (markdown rendering)
- AiUsageLog for monthly quota tracking per account
- PostAssistantController with regex-based [GENERATE_*] parsing
- WritingAssistantTab with markdown rendering, add-to-post, attachments
- Workspace brand fields (name, description, tone, voice_notes) in system prompt
- Session state block injected into prompts (thread counts, quota remaining)
- AttachmentCollector pattern will replace the regex approach in Phase 2
- Post comments with replies, emoji reactions, real-time via Echo
- Assets page with Unsplash + Giphy integrations
2026-04-16 09:25:08 -03:00
..
AccountFactory.php feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
AiMessageFactory.php feat: add ai_messages table and model 2026-04-15 21:01:26 -03:00
AiUsageLogFactory.php feat: complete AI assistant with custom services and brand config 2026-04-16 09:25:08 -03:00
ApiTokenFactory.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
InviteFactory.php feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
MediaFactory.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
NotificationFactory.php feat: notification system with SendNotification job, dialog UI, tests 2026-03-30 16:47:03 -03:00
PlanFactory.php feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
PostCommentFactory.php feat: add post_comments table, model, and factory 2026-04-15 20:08:16 -03:00
PostFactory.php feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
PostPlatformFactory.php feat: add PostCommentCreated broadcast event 2026-04-15 20:11:36 -03:00
SocialAccountFactory.php feat: publishing hardening — content sanitization, validation, scopes, stuck recovery 2026-04-01 11:25:25 -03:00
UserFactory.php feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
WorkspaceFactory.php feat: introduce Account entity as billing owner and refactor architecture 2026-04-14 22:22:04 -03:00
WorkspaceHashtagFactory.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
WorkspaceInviteFactory.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00
WorkspaceLabelFactory.php refactor: settings redesign, Spanish translations, language system, strict_types 2026-03-30 00:20:43 -03:00