feat(imitation): add article imitation create flow
Introduce 仿写创作: new list and create views, backend imitation service and prompt templates, worker task routing for imitation jobs, and one-click rewrite triggers from question citation sources. Surface source article URL/title on article list/detail, and restrict failed articles to delete-only. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -208,6 +208,47 @@ runtime:
|
||||
2. 标题使用一级标题,并由 AI 根据正文内容自行生成,不要直接复用任务名称。
|
||||
3. 不要输出你的思考过程、解释或致歉。
|
||||
4. 保持客观中立,避免排名、绝对化承诺、权威背书、夸大宣传和刻意贬损同行。
|
||||
article_imitation_prompt_template: |
|
||||
你是一名资深内容策略编辑,请基于给定源文章做高质量仿写创作。
|
||||
|
||||
核心要求:
|
||||
- 保留源文章中的事实信息、论证逻辑和可复用观点,但必须重写标题、结构、表达和段落组织。
|
||||
- 不要逐句同义替换,不要复制源文的独特措辞,不要编造源文、知识库和补充要求之外的事实。
|
||||
- 标题也必须仿写改写:第一行必须是新的一级标题,需仿照源标题的信息焦点、受众意图和表达节奏,但不能直接复用源标题,也不能只做简单词语替换。
|
||||
- 如果给出了地域、品牌、目标读者或内容目标,标题和正文都要自然贴合这些上下文。
|
||||
%s
|
||||
|
||||
输出格式:Markdown。第一行必须是重写后的一级标题,正文结构清晰,可直接进入文章编辑器。
|
||||
|
||||
## 源文章
|
||||
%s
|
||||
|
||||
## 仿写设置
|
||||
%s
|
||||
|
||||
如果某项设置为空,请根据源文章和行业常识自行选择最贴合的写法。
|
||||
|
||||
%s
|
||||
|
||||
## 源文章内容
|
||||
%s
|
||||
|
||||
请开始输出仿写后的完整文章。
|
||||
article_imitation_locale_instructions:
|
||||
zh-CN: "输出语言:中文简体。"
|
||||
en-US: "Output language: English."
|
||||
article_imitation_setting_labels:
|
||||
industry: "行业/场景"
|
||||
brand_name: "品牌/主体"
|
||||
region: "地域"
|
||||
target_audience: "目标读者"
|
||||
content_goal: "内容目标"
|
||||
tone: "语气风格"
|
||||
length_goal: "篇幅要求"
|
||||
keywords: "关键词"
|
||||
preserve_points: "必须保留/强调"
|
||||
avoid_points: "需要规避"
|
||||
extra_requirements: "其他要求"
|
||||
knowledge_prompt_intro_lines:
|
||||
- "以下为可参考的知识库内容,只用于补充事实背景、术语定义、产品信息或表达素材:"
|
||||
- "- 优先吸收并改写,但地址、电话、官网、邮箱、营业时间、价格、日期,以及主营业务、经营范围、服务范围、核心产品等业务事实如需引用,必须严格依据原文,不得写成知识库里没有的业务内容。"
|
||||
|
||||
Reference in New Issue
Block a user