pub struct PipelineStep {
pub id: String,
pub name: String,
pub description: String,
pub examples: Vec<ExampleData>,
pub prompt: String,
pub output_field: String,
pub filter: Option<PipelineFilter>,
pub depends_on: Vec<String>,
}
Expand description
A single step in a processing pipeline
Fields§
§id: String
Unique identifier for this step
name: String
Human-readable name for this step
description: String
Description of what this step extracts
examples: Vec<ExampleData>
Examples for this extraction step
prompt: String
Extraction prompt/description
output_field: String
Output field name for the results of this step
filter: Option<PipelineFilter>
Optional filter to only process certain extractions from previous steps
depends_on: Vec<String>
Dependencies - this step depends on output from these step IDs
Trait Implementations§
Source§impl Clone for PipelineStep
impl Clone for PipelineStep
Source§fn clone(&self) -> PipelineStep
fn clone(&self) -> PipelineStep
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for PipelineStep
impl Debug for PipelineStep
Source§impl<'de> Deserialize<'de> for PipelineStep
impl<'de> Deserialize<'de> for PipelineStep
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PipelineStep
impl RefUnwindSafe for PipelineStep
impl Send for PipelineStep
impl Sync for PipelineStep
impl Unpin for PipelineStep
impl UnwindSafe for PipelineStep
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more