feat(pipelines): add 10 industry-specific pipeline templates
Education (3): research-to-quiz, student-analysis, lesson-plan Healthcare (3): policy-compliance, meeting-minutes, data-report Design Shantou (4): trend-to-design, competitor-research, client-communication, supply-chain-collect
This commit is contained in:
267
pipelines/education/lesson-plan.yaml
Normal file
267
pipelines/education/lesson-plan.yaml
Normal file
@@ -0,0 +1,267 @@
|
||||
# ZCLAW Pipeline - 教案自动生成
|
||||
# 输入课题和教学要求,自动生成完整教案(含教学目标、重难点、教学过程、板书设计)
|
||||
|
||||
apiVersion: zclaw/v1
|
||||
kind: Pipeline
|
||||
metadata:
|
||||
name: lesson-plan-generator
|
||||
displayName: 教案自动生成
|
||||
category: education
|
||||
industry: education
|
||||
description: 输入课题和教学要求,自动生成含教学目标、重难点、教学过程、板书设计的完整教案
|
||||
tags:
|
||||
- 教育
|
||||
- 教案
|
||||
- 备课
|
||||
- 教学设计
|
||||
icon: 📋
|
||||
author: ZCLAW
|
||||
version: 1.0.0
|
||||
|
||||
spec:
|
||||
inputs:
|
||||
- name: topic
|
||||
type: string
|
||||
required: true
|
||||
label: 课题名称
|
||||
placeholder: 例如:光合作用的原理
|
||||
validation:
|
||||
min_length: 2
|
||||
max_length: 100
|
||||
|
||||
- name: subject
|
||||
type: select
|
||||
required: false
|
||||
label: 学科
|
||||
default: 科学
|
||||
options:
|
||||
- 语文
|
||||
- 数学
|
||||
- 英语
|
||||
- 物理
|
||||
- 化学
|
||||
- 生物
|
||||
- 历史
|
||||
- 地理
|
||||
- 科学
|
||||
- 信息科技
|
||||
|
||||
- name: grade_level
|
||||
type: select
|
||||
required: false
|
||||
label: 年级
|
||||
default: 初二
|
||||
options:
|
||||
- 小学三年级
|
||||
- 小学四年级
|
||||
- 小学五年级
|
||||
- 小学六年级
|
||||
- 初一
|
||||
- 初二
|
||||
- 初三
|
||||
- 高一
|
||||
- 高二
|
||||
- 高三
|
||||
|
||||
- name: duration
|
||||
type: select
|
||||
required: false
|
||||
label: 课时
|
||||
default: 1课时(45分钟)
|
||||
options:
|
||||
- 1课时(45分钟)
|
||||
- 2课时(90分钟)
|
||||
- 半天(3课时)
|
||||
- 全天(6课时)
|
||||
|
||||
- name: teaching_style
|
||||
type: multi-select
|
||||
required: false
|
||||
label: 教学方法
|
||||
default:
|
||||
- 讲授法
|
||||
- 讨论法
|
||||
options:
|
||||
- 讲授法
|
||||
- 讨论法
|
||||
- 实验法
|
||||
- PBL项目式
|
||||
- 翻转课堂
|
||||
- 合作学习
|
||||
|
||||
steps:
|
||||
# Step 1: 生成教学目标和重难点
|
||||
- id: objectives_and_focus
|
||||
description: 分析课题生成教学目标与重难点
|
||||
action:
|
||||
type: llm_generate
|
||||
template: |
|
||||
请为以下课题设计教学目标和重难点:
|
||||
|
||||
课题: {{topic}}
|
||||
学科: {{subject}}
|
||||
年级: {{grade_level}}
|
||||
|
||||
请生成 JSON 格式:
|
||||
{
|
||||
"knowledge_objectives": ["知识目标1", "知识目标2"],
|
||||
"ability_objectives": ["能力目标1", "能力目标2"],
|
||||
"emotion_objectives": ["情感目标1"],
|
||||
"key_points": ["教学重点1", "教学重点2"],
|
||||
"difficult_points": ["教学难点1", "教学难点2"],
|
||||
"key_difficult_solutions": ["突破策略1", "突破策略2"]
|
||||
}
|
||||
input:
|
||||
topic: ${inputs.topic}
|
||||
subject: ${inputs.subject}
|
||||
grade_level: ${inputs.grade_level}
|
||||
json_mode: true
|
||||
temperature: 0.5
|
||||
max_tokens: 1500
|
||||
|
||||
# Step 2: 生成教学过程
|
||||
- id: teaching_process
|
||||
description: 设计完整教学过程
|
||||
action:
|
||||
type: llm_generate
|
||||
template: |
|
||||
基于以下教学目标,设计完整教学过程:
|
||||
|
||||
课题: ${inputs.topic}
|
||||
学科: ${inputs.subject}
|
||||
年级: ${inputs.grade_level}
|
||||
课时: {{duration}}
|
||||
教学方法: {{teaching_style}}
|
||||
教学目标: ${steps.objectives_and_focus.output}
|
||||
|
||||
请生成 JSON 格式教学过程:
|
||||
{
|
||||
"phases": [
|
||||
{
|
||||
"name": "导入",
|
||||
"duration_mins": 5,
|
||||
"activities": ["活动描述"],
|
||||
"teacher_actions": ["教师活动"],
|
||||
"student_actions": ["学生活动"],
|
||||
"purpose": "设计意图"
|
||||
},
|
||||
{
|
||||
"name": "新课讲授",
|
||||
"duration_mins": 20,
|
||||
"activities": [],
|
||||
"teacher_actions": [],
|
||||
"student_actions": [],
|
||||
"purpose": ""
|
||||
},
|
||||
{
|
||||
"name": "巩固练习",
|
||||
"duration_mins": 10,
|
||||
"activities": [],
|
||||
"teacher_actions": [],
|
||||
"student_actions": [],
|
||||
"purpose": ""
|
||||
},
|
||||
{
|
||||
"name": "课堂小结",
|
||||
"duration_mins": 5,
|
||||
"activities": [],
|
||||
"teacher_actions": [],
|
||||
"student_actions": [],
|
||||
"purpose": ""
|
||||
},
|
||||
{
|
||||
"name": "布置作业",
|
||||
"duration_mins": 5,
|
||||
"activities": [],
|
||||
"teacher_actions": [],
|
||||
"student_actions": [],
|
||||
"purpose": ""
|
||||
}
|
||||
]
|
||||
}
|
||||
input:
|
||||
topic: ${inputs.topic}
|
||||
subject: ${inputs.subject}
|
||||
grade_level: ${inputs.grade_level}
|
||||
duration: ${inputs.duration}
|
||||
teaching_style: ${inputs.teaching_style}
|
||||
objectives: ${steps.objectives_and_focus.output}
|
||||
json_mode: true
|
||||
temperature: 0.7
|
||||
max_tokens: 4000
|
||||
|
||||
# Step 3: 生成板书设计和作业
|
||||
- id: board_and_homework
|
||||
description: 设计板书方案和分层作业
|
||||
action:
|
||||
type: llm_generate
|
||||
template: |
|
||||
为以下课程设计板书和作业:
|
||||
|
||||
课题: ${inputs.topic}
|
||||
教学目标: ${steps.objectives_and_focus.output}
|
||||
教学过程: ${steps.teaching_process.output}
|
||||
|
||||
请生成 JSON 格式:
|
||||
{
|
||||
"board_design": {
|
||||
"layout": "板书结构描述",
|
||||
"main_content": "主板书内容",
|
||||
"supplementary": "副板书内容",
|
||||
"key_formulas_or_diagrams": ["公式或图示1"]
|
||||
},
|
||||
"homework": {
|
||||
"basic": ["基础作业1", "基础作业2"],
|
||||
"intermediate": ["提高作业1"],
|
||||
"advanced": ["拓展作业1"],
|
||||
"estimated_time_mins": 30
|
||||
}
|
||||
}
|
||||
input:
|
||||
topic: ${inputs.topic}
|
||||
objectives: ${steps.objectives_and_focus.output}
|
||||
process: ${steps.teaching_process.output}
|
||||
json_mode: true
|
||||
temperature: 0.6
|
||||
max_tokens: 2000
|
||||
|
||||
# Step 4: 生成教学反思预设
|
||||
- id: reflection_prompts
|
||||
description: 生成教学反思提示
|
||||
action:
|
||||
type: llm_generate
|
||||
template: |
|
||||
为以下课程生成教学反思提示问题:
|
||||
|
||||
课题: ${inputs.topic}
|
||||
教学重点: ${steps.objectives_and_focus.output.key_points}
|
||||
教学难点: ${steps.objectives_and_focus.output.difficult_points}
|
||||
|
||||
请生成 JSON 格式:
|
||||
{
|
||||
"reflection_questions": [
|
||||
"教学目标是否达成?如何判断?",
|
||||
"学生对难点的理解情况如何?",
|
||||
"哪个教学环节效果最好?为什么?",
|
||||
"下次可以改进的地方?"
|
||||
],
|
||||
"assessment_checklist": [
|
||||
{"item": "检查项", "method": "检查方法"}
|
||||
]
|
||||
}
|
||||
input:
|
||||
topic: ${inputs.topic}
|
||||
key_points: ${steps.objectives_and_focus.output.key_points}
|
||||
difficult_points: ${steps.objectives_and_focus.output.difficult_points}
|
||||
json_mode: true
|
||||
temperature: 0.5
|
||||
max_tokens: 1000
|
||||
|
||||
outputs:
|
||||
objectives: ${steps.objectives_and_focus.output}
|
||||
teaching_process: ${steps.teaching_process.output}
|
||||
board_and_homework: ${steps.board_and_homework.output}
|
||||
reflection: ${steps.reflection_prompts.output}
|
||||
|
||||
on_error: stop
|
||||
timeout_secs: 240
|
||||
Reference in New Issue
Block a user