Repeat Until
Primitive for building repeat until workflows.
Functions
Link copied to clipboard
inline fun <RESULT : Any> build(noinline task: (TransformationActionContext<ResultHistory<RESULT>, RESULT>) -> RESULT, noinline acceptanceCriteria: (InputActionContext<ResultHistory<RESULT>>) -> Boolean, inputClasses: List<Class<Any>> = emptyList()): AgentScopeBuilder<RESULT>
fun <RESULT : Any> build(task: (TransformationActionContext<ResultHistory<RESULT>, RESULT>) -> RESULT, accept: (InputActionContext<ResultHistory<RESULT>>) -> Boolean, resultClass: Class<RESULT>, inputClasses: List<Class<out Any>> = emptyList()): AgentScopeBuilder<RESULT>