A single step within an AgentWorkflowDef: instructions for the AI to carry out, plus a completion type that decides when the step is finished and which step follows it. Written as a step element inside a workflow element.

Group: AI Agents


Properties

PropertyReturnsDescription
attributesMap<String,Serializable>Arbitrary name/value pairs attached to this step.
completionAgentWorkflowStepCompletionTypeThe rule that determines when this step is complete and what happens next.
instructionsStringInstructions for the AI to carry out while executing this step.
nameStringPortable identifier for this step, referenced by name eg as the target of a decision choice or as the workflow's starting step.

Methods

getName()

Returns: String

Portable identifier for this step, referenced by name eg as the target of a decision choice or as the workflow's starting step.

getInstructions()

Returns: String

Instructions for the AI to carry out while executing this step.

getCompletion()

Returns: AgentWorkflowStepCompletionType

The rule that determines when this step is complete and what happens next.

getAttributes()

Returns: Map<String,Serializable>

Arbitrary name/value pairs attached to this step.

To get full access to the Kademi Hub existing customers can login here, or new customers can register here.