next - MadBomber/aia GitHub Wiki

--next

Specify the next prompt be run after the current prompt completes. The response of the current prompt becomes the context for the next prompt to execute within.

envar: AIA_NEXT usage: --next <next_prompt_id>

directive: //next <next_prompt_id>

The ability to string prompts together in a unified command, allows for complex workflows and automation. When used internally within a prompt text file with the //next directive and ERB, the sequence of prompt execution can be conditional.

For example:

<% if some_condition? %>
//next this_prompt_id
<% else %>
//next that_prompt_id
<% end %>

The --pipeline and //pipeline capabilities are closely associated with the next 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.

⚠️ **GitHub.com Fallback** ⚠️