pipeline - MadBomber/aia GitHub Wiki
Run a pipeline of prompts where the response to a prompt feeds into the context of the next prompt. Also called a workflow in some applications.
envar: AIA_PIPELINE usage: --pipeline ,,
directive: //pipeline ,,
The ability to string multiple prompts together in a single command, allows for complex workflows and automation. When used internally within a prompt text file with the //pipeline
directive and ERB, the sequence of prompt execution can be conditional.
For example:
//pipeline one
<% if some_condition? %>
//pipeline << two
<% else %>
//pipeline << three
<% end %>
The --next and //next capabilities are closely associated with the pipeline capability. They allow for more flexible and dynamic prompt execution, enabling the creation of complex workflows and automation. They are essential for building robust and scalable prompt systems that can handle a wide range of use cases.