Emitter
inner class Emitter(generator: (TransformationActionContext<AttemptHistory<RESULT, FEEDBACK>, RESULT>) -> RESULT, evaluator: (TransformationActionContext<AttemptHistory<RESULT, FEEDBACK>, FEEDBACK>) -> FEEDBACK, accept: (f: FEEDBACK) -> Boolean) : WorkflowBuilder<RESULT>
Constructors
Link copied to clipboard
constructor(generator: (TransformationActionContext<AttemptHistory<RESULT, FEEDBACK>, RESULT>) -> RESULT, evaluator: (TransformationActionContext<AttemptHistory<RESULT, FEEDBACK>, FEEDBACK>) -> FEEDBACK, accept: (f: FEEDBACK) -> Boolean)
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
Build the workflow so it can be included in agents
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.