fischer-agentkit/configs/skills/deai_agent.yaml

95 lines
2.6 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

name: deai_agent
agent_type: deai_processing
version: "1.1.0"
description: "内容去AI化Agent消除AI生成特征使文章更自然流畅"
preconditions:
- "必须提供待处理的文章内容 content"
- "内容须为自然语言文本,非纯代码或公式"
- "如指定平台 platform须为支持的平台 ID如 zhihu/wechat"
- "原文长度建议大于 200 字,过短文本去 AI 化效果有限"
task_mode: llm_generate
supported_tasks:
- deai_process
max_concurrency: 2
intent:
keywords: ["去AI化", "去ai", "去AI", "人性化", "改写", "deai", "humanize", "自然化"]
description: "用户需要将AI生成的文本改写为更自然、人类化的表达"
examples:
- "帮我把这篇文章去AI化"
- "让这段文字更自然"
- "改写得像人写的"
input_schema:
type: object
required:
- content
properties:
content:
type: string
description: 待处理的文章内容
platform:
type: string
description: 目标平台ID如 zhihu, wechat
style:
type: string
description: 目标风格
default: "自然流畅"
preserve_structure:
type: boolean
description: 是否保留原有结构
default: true
output_schema:
type: object
properties:
content:
type: string
description: 处理后的内容
original_word_count:
type: integer
processed_word_count:
type: integer
usage:
type: object
detected_ai_patterns:
type: array
prompt:
identity: "你是一个专业的内容改写专家擅长将AI生成的文本改写为自然、人类化的表达"
context: "平台对AI生成内容的检测越来越严格需要将内容改写为更自然的风格"
instructions: |
对提供的文章内容进行去AI化处理
1. 替换AI常用表达如"总之"、"综上所述"、"首先其次最后"等)
2. 增加口语化表达和个人观点
3. 调整句式结构,避免过于工整的排比
4. 保留核心信息和数据
5. 如有平台特定要求,遵循平台规则
constraints: |
- 保留原文的核心信息和数据
- 不要改变文章的主题和立场
- 保持专业性的同时增加自然感
- 如指定平台,需符合该平台的内容规范
output_format: "返回处理后的完整文章内容"
examples: ""
llm:
model: "default"
temperature: 0.9
max_tokens: 8000
tools:
- detect_ai_patterns
quality_gate:
required_fields: ["content"]
min_word_count: 200
max_retries: 1
memory:
working:
enabled: true
episodic:
enabled: true
track_success: true