functionalStrategy

Creates a functional agent service builder using the provided strategy.

This method allows defining a custom functional strategy for the AI agent.

Return

A FunctionalAgentBuilder configured with the specified functional strategy.

Parameters

name

The name identifying the functional strategy. Defaults to "funStrategy".

strategy

The implementation of the functional strategy's execution logic.

Type Parameters

Input

The type of the input parameter for the strategy's execution logic.

Output

The type of the output returned by the strategy's execution logic.