promptExecutor
Sets the PromptExecutor to be used by the builder instance.
This method configures the builder with the provided PromptExecutor, which is responsible for executing prompts against language models, managing tool interactions, and handling output.
Return
The current instance of the PlannerAIAgentBuilder for chaining additional configurations.
Parameters
promptExecutor
An instance of PromptExecutor that will be utilized for processing prompts and interacting with language models.