AGENT SKILL

pipelines-and-processing

Build local Chonkie Pipeline workflows with fetchers, chefs, refineries, and porters.

License 许可
MIT
最近更新
2026-09-03
Stars
★ 351
Forks
27

01 前言 Front Matter

name
pipelines-and-processing
license
MIT
metadata
{ "package": "chonkie", "disco-role": "operating", "responsibility": "pipelines-and-processing", "package-version": "1.7.0" }
description
Build local Chonkie Pipeline workflows with fetchers, chefs, refineries, and porters.
disable-model-invocation
true

02 资源文件 4

03 SKILL.md 正文

pipelines-and-processing

Use this sub-skill when the user wants to transform raw text or local files into Chonkie Document objects with chunks, optional refinement, and local export. It covers the fluent Pipeline API, CHOMP step ordering, local file fetching, chefs, overlap/embedding refineries, and porter/export choices.

Route within this sub-skill

  • Start with references/pipeline-workflows.md for Pipeline().fetch_from().process_with().chunk_with().refine_with().run(), CHOMP ordering, validation rules, direct text vs file input, batch returns, config/recipe patterns, and export chaining.
  • Use references/processing-components.md for component aliases, constructor/call arguments, return contracts, optional dependency gates, and when to choose TextChef, MarkdownChef, TableChef, LiteParse, MistralOCR, FileFetcher, OverlapRefinery, EmbeddingsRefinery, JSONPorter, or DatasetsPorter.
  • Use references/troubleshooting.md for missing chunker/input errors, multiple chefs, wrong parameters, path/extension surprises, optional dependencies, OCR/API key gates, embedding/model-download hazards, and export return-shape surprises.
  • Run scripts/pipeline_smoke.py to verify deterministic local pipeline behavior without network calls, model downloads, credentials, or persistent outputs.

Stay in this sub-skill for

  • Local ingestion from texts=..., one file, or a directory of files.
  • Ordering and validation of pipeline steps: fetch, vision, process, chunk, refine, export, write.
  • Choosing a chef before chunking: text, markdown, table, local document parsing, or OCR boundary decisions.
  • Adding overlap context or attaching embeddings as a pipeline refinement step.
  • Exporting pipeline chunks to JSON/JSONL or Hugging Face Dataset objects/files.

Cross-skill routing

  • Raw chunker selection, tokenizers, Chunk/Document data contracts, table/code chunking internals, and deterministic chunking details: ../chunking-and-types/.
  • Provider embeddings, local model downloads, semantic/late/neural chunking, and generative workflows: ../embeddings-and-generative/.
  • CLI/API chonkie pipeline command construction, API schemas, local server, Chonkie Cloud wrappers, and deployment: ../interfaces-and-deployment/.
  • Live vector database handshakes, datastore credentials/services, and storage-specific write/search behavior: ../integrations-and-storage/.

Safe operating defaults

Prefer a deterministic local pipeline unless the user explicitly asks for model-backed or cloud-backed processing:

Pipeline().process_with("text").chunk_with("recursive", tokenizer="word", chunk_size=512)

For RAG ingestion without model downloads, add overlap refinement before any embedding/vector-store step:

...chunk_with("recursive", tokenizer="word", chunk_size=512).refine_with("overlap", tokenizer="word", context_size=50)

Do not start live OCR, provider embedding, Chonkie Cloud, or vector database operations unless the user provides the required dependency, credential, network, and service constraints.

04 同仓库更多 Skills

VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-triton-opt

Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block/grid/warp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-solve

END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-skill

PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under ./pass_dir/, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-pattern-fusion

Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()/replacement_args()/replacement_func() files, when a pass "failed to match", or when deciding how to fuse multiple kernels/ops.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-orchestrate

Round/batch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep/revert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.

★ 351
VectorSpaceLab
VectorSpaceLab/AREX-Skill

passnet-feedback

Fast, deterministic feedback for PassNet work: pre-flight pattern/match verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).

★ 351