Uses of Class
dyntabs.ai.FlowBuilder

Packages that use FlowBuilder
Package
Description
 
  • Uses of FlowBuilder in dyntabs.ai

    Methods in dyntabs.ai that return FlowBuilder
    Modifier and Type
    Method
    Description
    EasyAI.flow()
    Starts building a Flow: a deterministic, developer-authored pipeline of named steps where you fix the order in plain Java and the LLM is called only at the edges you declare (typically "understand the request" first, "summarize the outcome" last).
    FlowBuilder.orElse(FlowStep<?> alternative)
    Attaches a fallback alternative to the most recently added step: if that step's primary work throws, this alternative is tried instead (and further orElse calls chain more alternatives, tried in order until one succeeds).
    FlowBuilder.step(String name, FlowStep<?> step)
    Appends a named step to the pipeline.
    FlowBuilder.stepIf(String name, Predicate<FlowContext> condition, FlowStep<?> step)
    Appends a step that runs only if the given condition holds at that point in the flow; otherwise the step is skipped entirely (it stores no result, so ctx.has(name) stays false for later steps).
    FlowBuilder.withEventListener(EasyAIListener eventListener)
    Registers a transport-agnostic EasyAIListener that receives the flow's live EasyAIEvent stream (STARTEDSTEP_STARTED/STEP per step → FINISHED/ERROR).