core_text

GitHub

DataFlow核心文本算子的参考文档,涵盖生成、过滤、优化和评估等8+3+2+5类算子。提供API签名、执行逻辑及常见错误示例,供管道生成技能在需要特定算子时查阅。

skills/canonical/core_text/SKILL.md OpenDCAI/DataFlow-WebUI

Trigger Scenarios

需要查询DataFlow文本算子的具体构造函数或run()签名 需要了解算子的行处理行为或失败模式 编写数据流管道时需要选择非核心原语的算子

Install

npx skills add OpenDCAI/DataFlow-WebUI --skill core_text -g -y
More Options

Non-standard path

npx skills add https://github.com/OpenDCAI/DataFlow-WebUI/tree/main/skills/canonical/core_text -g -y

Use without installing

npx skills use OpenDCAI/DataFlow-WebUI@core_text

指定 Agent (Claude Code)

npx skills add OpenDCAI/DataFlow-WebUI --skill core_text -a claude-code -g -y

安装 repo 全部 skill

npx skills add OpenDCAI/DataFlow-WebUI --all -g -y

预览 repo 内 skill

npx skills add OpenDCAI/DataFlow-WebUI --list

SKILL.md

Frontmatter
{
    "name": "core_text",
    "description": "Reference documentation for DataFlow's core_text operators — 8 generators, 3 filters, 2 refiners and 5 evaluators. Read by generating-dataflow-pipeline when a task needs an operator beyond the six core primitives. This is a reference package, not a workflow: it is consulted, never invoked directly."
}

core_text operator reference

Per-operator API documentation for DataFlow's core_text family. Consult it when you need an operator's exact constructor and run() signature, its real row-processing behaviour, or the mistakes that break it.

Do not invoke this as a skill. There is no workflow here. The generating-dataflow-pipeline skill reads these files when it needs an operator beyond its six core primitives.

Layout

core_text/<category>/<operator>/
├── SKILL.md            English reference: constructor, run(), execution logic,
│                       mandatory rules, return-value semantics
├── SKILL_zh.md         Chinese translation
└── examples/
    ├── good.md         Best-practice pipeline usage
    └── bad.md          Common mistakes and how they fail

What is documented

Category Path Operators
Generate generate/ PromptedGenerator, FormatStrPromptedGenerator, Text2MultiHopQAGenerator, BenchAnswerGenerator, ChunkedPromptedGenerator, EmbeddingGenerator, RandomDomainKnowledgeRowGenerator, RetrievalGenerator
Filter filter/ GeneralFilter, KCenterGreedyFilter, PromptedFilter
Refine refine/ PandasOperator, PromptedRefiner
Eval eval/ BenchDatasetEvaluator, BenchDatasetEvaluatorQuestion, PromptedEvaluator, Text2QASampleEvaluator, UnifiedBenchDatasetEvaluator

How to use it

  1. Find the operator's directory under its category.
  2. Read its SKILL.md for the authoritative signature.
  3. Check that operator's bad.md example before writing code — it documents the failure modes that come up most often.

Accuracy and scope

These are static reference docs, aligned to a specific DataFlow version (recorded in VERSION.md in this directory). They are not a live query.

When an MCP server is available, get_operator_detail_by_name is authoritative: it reflects the operators actually installed. Prefer it, and treat a disagreement with these files as this reference being out of date.

Adding an operator

  1. Create core_text/<category>/<operator-slug>/ containing SKILL.md, its SKILL_zh.md translation, plus good.md and bad.md under examples/.
  2. Add the operator to the category table above. Add a rule to ../generating-dataflow-pipeline/SKILL.md only when it changes operator selection policy; the planner reads this index on demand.

Version History

  • 2e95d40 Current 2026-08-27 09:03

Same Skill Collection

skills/canonical/core_text/eval/bench-dataset-evaluator-question/SKILL.md
skills/canonical/core_text/eval/bench-dataset-evaluator/SKILL.md
skills/canonical/core_text/eval/prompted-evaluator/SKILL.md
skills/canonical/core_text/eval/text2qa-sample-evaluator/SKILL.md
skills/canonical/core_text/eval/unified-bench-dataset-evaluator/SKILL.md
skills/canonical/core_text/filter/general-filter/SKILL.md
skills/canonical/core_text/filter/kcentergreedy-filter/SKILL.md
skills/canonical/core_text/filter/prompted-filter/SKILL.md
skills/canonical/core_text/generate/bench-answer-generator/SKILL.md
skills/canonical/core_text/generate/chunked-prompted-generator/SKILL.md
skills/canonical/core_text/generate/embedding-generator/SKILL.md
skills/canonical/core_text/generate/format-str-prompted-generator/SKILL.md
skills/canonical/core_text/generate/prompted-generator/SKILL.md
skills/canonical/core_text/generate/retrieval-generator/SKILL.md
skills/canonical/core_text/generate/text2multihopqa-generator/SKILL.md
skills/canonical/core_text/refine/pandas-operator/SKILL.md
skills/canonical/core_text/refine/prompted-refiner/SKILL.md
skills/canonical/dataflow-dev/SKILL.md
skills/canonical/dataflow-operator-builder/SKILL.md
skills/canonical/generating-dataflow-pipeline/SKILL.md
skills/canonical/prompt-template-builder/SKILL.md
skills/canonical/core_text/generate/random-domain-knowledge-row-generator/SKILL.md

Metadata

Files
0
Version
2e95d40
Hash
7d1e09b1
Indexed
2026-08-27 09:03

Accueil - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-08-27 15:37
浙ICP备14020137号-1 $Carte des visiteurs$