Uses of Class
dyntabs.ai.FlowBuilder
Packages that use FlowBuilder
-
Uses of FlowBuilder in dyntabs.ai
Methods in dyntabs.ai that return FlowBuilderModifier and TypeMethodDescriptionstatic FlowBuilderEasyAI.flow()Starts building aFlow: 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).Attaches a fallback alternative to the most recently added step: if that step's primary work throws, this alternative is tried instead (and furtherorElsecalls chain more alternatives, tried in order until one succeeds).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, soctx.has(name)staysfalsefor later steps).FlowBuilder.withEventListener(EasyAIListener eventListener) Registers a transport-agnosticEasyAIListenerthat receives the flow's liveEasyAIEventstream (STARTED→STEP_STARTED/STEPper step →FINISHED/ERROR).