用途:为 Empathy Ledger 提供 AI 驱动的数据分析模式,涵盖转录文本分析、主题提取、引语与故事建议。
主要能力:分析流程为「转录文本 → AI 分析 → themes[]、key_quotes[]、ai_summary」;故事连接可生成相关故事与建议内容。涉及数据表包括 transcripts(themes、key_quotes、ai_summary、ai_processing_status)、stories(themes、cultural_tags、featured_quote)、storytellers(expertise_themes、connection_strength)。主题类别分为 cultural、family、land、resilience、knowledge。
使用方式:通过 API 触发与查询,POST /api/transcripts/{id}/analyze 触发分析,GET /api/stories/{id}/suggestions 获取相关故事,GET /api/themes 列出主题及计数。常用 SQL 如 SELECT * FROM stories WHERE themes && ARRAY['identity', 'heritage']; 以及按主题统计频次。参考文件包括 refs/analysis-patterns.md、refs/supabase-queries.md、refs/theme-taxonomy.md、refs/sync-status.md。
适用场景:为故事卡片添加引语、实现故事建议与相关内容、构建基于主题的筛选或搜索、创建分析仪表板、集成 AI 分析结果。
限制:资料未提供具体部署、认证、模型、价格或性能信息。