promptExecutor

expect open override fun promptExecutor(promptExecutor: PromptExecutor): AIAgentServiceBuilder(source)

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.

actual open override fun promptExecutor(promptExecutor: PromptExecutor): AIAgentServiceBuilder(source)

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.

actual open override fun promptExecutor(promptExecutor: PromptExecutor): AIAgentServiceBuilder(source)

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.