Consensus Spec
inner class ConsensusSpec(generators: List<Function<out SupplierActionContext<RESULT>, RESULT>>, consensusFunction: (TransformationActionContext<ResultList<RESULT>, RESULT>) -> RESULT) : WorkflowBuilder<RESULT>
Constructors
Link copied to clipboard
constructor(generators: List<Function<out SupplierActionContext<RESULT>, RESULT>>, consensusFunction: (TransformationActionContext<ResultList<RESULT>, RESULT>) -> RESULT)
Functions
Link copied to clipboard
Convenience method to build an agent with a default name and description. This is typically used inside an @Action method.
Link copied to clipboard
Link copied to clipboard
Build an agent on this RepeatUntil workflow. Can be used to implement an @Bean method that returns an Agent, which will be automatically be registered on the current AgentPlatform.