promptExecutor

Sets the prompt executor for the AIAgentServiceBuilder.

Return

The current instance of AIAgentServiceBuilder for method chaining.

Parameters

promptExecutor

The instance of PromptExecutor to be used by the service.