新功能: - 模板片段级别的AI分类权重配置 - 权重继承机制(全局权重作为默认值) - 批量权重配置操作 - 直观的权重管理界面 后端实现: - 新增 template_segment_weights 数据表 - 实现 TemplateSegmentWeightRepository 仓储层 - 实现 TemplateSegmentWeightService 业务逻辑层 - 新增 Tauri 命令接口 前端实现: - TemplateSegmentWeightEditor 权重配置编辑器 - SegmentWeightIndicator 权重状态指示器 - BatchWeightConfigModal 批量配置模态框 - 集成到模板详情页面 测试: - 单元测试覆盖核心功能 - 集成测试验证端到端流程 - E2E测试确保用户体验 技术特性: - 权重范围:0-100,数值越大优先级越高 - 支持单个和批量更新操作 - 事务处理确保数据一致性 - 类型安全的API设计 文档: - 完整的功能文档和使用指南 - 技术架构说明 - 最佳实践建议 这个功能将显著提升模板匹配的灵活性和准确性!
33 lines
1014 B
Rust
33 lines
1014 B
Rust
pub mod project_commands;
|
|
pub mod system_commands;
|
|
pub mod material_commands;
|
|
pub mod material_usage_commands;
|
|
pub mod database_commands;
|
|
pub mod material_segment_view_commands;
|
|
pub mod model_commands;
|
|
pub mod model_dynamic_commands;
|
|
pub mod ai_classification_commands;
|
|
pub mod video_classification_commands;
|
|
pub mod ai_analysis_log_commands;
|
|
pub mod template_commands;
|
|
pub mod test_commands;
|
|
pub mod debug_commands;
|
|
pub mod project_template_binding_commands;
|
|
pub mod material_matching_commands;
|
|
pub mod template_matching_result_commands;
|
|
pub mod export_record_commands;
|
|
pub mod video_generation_commands;
|
|
pub mod tools_commands;
|
|
pub mod outfit_search_commands;
|
|
pub mod material_search_commands;
|
|
pub mod similarity_search_commands;
|
|
pub mod custom_tag_commands;
|
|
pub mod tolerant_json_commands;
|
|
pub mod markdown_commands;
|
|
pub mod thumbnail_commands;
|
|
pub mod rag_grounding_commands;
|
|
pub mod image_download_commands;
|
|
pub mod conversation_commands;
|
|
pub mod watermark_commands;
|
|
pub mod template_segment_weight_commands;
|