Builder

class Builder

Builder for configuring and creating instances of AgentInvocation.

Use this builder to set process options such as context, blackboard, verbosity, budget, and control policies before constructing the agent invocation.

Functions

Link copied to clipboard
fun <T : Any> build(resultType: Class<T>): AgentInvocation<T>

Build the AgentInvocation with the given explicit result type.

Link copied to clipboard

Build the AgentInvocation, inferring the result type from the reified type parameter.

Link copied to clipboard

Set the ProcessOptions to use for this invocation.

Begin configuring process options via a builder.