Spaces:
Sleeping
Sleeping
Commit History
-
discord
00c0222 -
feat: 更新對話生成邏輯,增加輸入文本檢查及模板化系統,移除舊版提示詞欄位
1c3d8d3 -
feat: 增加可調整的最大輸出 token 限制,並新增摘要生成功能及相關模板
62f78a2 -
feat: 更新對話生成邏輯,增加分批生成機制及品質檢查,並優化提示詞模板
b199afe -
feat: Implement modernized prompt templates and quality control module
- Added a new prompts.py file with modernized prompt templates for various tasks including podcast scripts, summaries, and lectures. - Introduced a get_prompt function to retrieve templates and fill in content dynamically. - Implemented a quality control module (quality_control.py) to assess dialogue quality, coherence, character consistency, content richness, and format compliance. - Added a ContentCoherenceAnalyzer class to analyze content flow and topic distribution. - Included validation functions to ensure dialogue structure meets template requirements. - Enhanced backward compatibility with legacy functions in prompts_old.py.0bbe763