21_research_workflow

command
v1.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 26, 2026 License: MIT Imports: 5 Imported by: 0

README

研究工作流 (Research Workflow)

展示使用 DAG 工作流引擎构建学术研究自动化流水线的模板。

功能

  • 七阶段研究流程:文献收集 -> 质量过滤 -> 创意生成 -> 方案设计 -> 实现 -> 验证 -> 报告生成
  • 可配置的研究参数(论文数量、质量阈值、创意数量、验证轮次)
  • 模拟数据演示完整流程,附 DAG 构建注释供生产参考
  • 最终输出 JSON 格式的研究报告

前置条件

  • Go 1.24+
  • 无需 API Key(使用模拟数据演示流程)

运行

cd examples/21_research_workflow
go run main.go

代码说明

每个研究阶段是一个独立函数,按 DAG 拓扑顺序执行。代码注释中包含了使用 workflow.NewDAGBuilder 构建真实 DAG 的示例。生产环境中各阶段可接入 LLM、学术 API 和代码执行器。

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL