promptExecutor
Sets the PromptExecutor instance to be used by the PlannerAgentBuilder.
Return
The current instance of PlannerAgentBuilder<Input, Output> for method chaining.
Parameters
promptExecutor
An instance of PromptExecutor that will handle prompt execution logic.