Principle:Ucbepic Docetl Pipeline Export
| Knowledge Sources | |
|---|---|
| Domains | Configuration, Portability |
| Last Updated | 2026-02-08 01:40 GMT |
Overview
A configuration portability principle that generates downloadable YAML pipeline configurations from the visual playground state.
Description
Pipeline Export bridges the interactive playground and production CLI/API usage by converting the current visual pipeline state (operations, datasets, settings) into a valid YAML configuration file. This enables users to build pipelines visually, then run them programmatically or in production environments.
Usage
Use the Export/Download button in the playground's PipelineSettings panel to generate and download a YAML configuration file. The exported YAML can be used with docetl run or the Python API.
Theoretical Basis
Configuration serialization:
- State Capture: Read current pipeline state from PipelineContext
- Schema Mapping: Convert UI operation objects to YAML-compatible schema
- YAML Generation: Serialize to YAML string with proper formatting
- Distribution: Download as file or copy to clipboard