Skip to main content

Module agent_source

Module agent_source 

Source
Expand description

Agent source port — use an LLM as a pipeline data source Agent source port trait for LLM-as-data-source.

Defines the interface for using an AI agent (LLM) as a data source within the pipeline. Unlike AIProvider, which extracts structured data from existing content, an agent source generates content by executing a prompt — making it suitable for summarisation, enrichment, or synthetic data generation steps in a DAG.

Structs§

AgentRequest
Configuration for an agent source invocation.
AgentResponse
Response from an agent source invocation.

Traits§

AgentSourcePort
Port trait for LLM agent data sources.