promptExecutor
fun promptExecutor(promptExecutor: PromptExecutor): FunctionalAgentServiceBuilder<Input, Output>(source)
Sets the PromptExecutor for this FunctionalServiceBuilder. The PromptExecutor is responsible for processing prompts during the execution of the functional AI service being built.
Return
An updated FunctionalServiceBuilder instance configured with the given PromptExecutor.
Parameters
promptExecutor
The PromptExecutor instance to use for executing prompts.