responseProcessor

Assigns a custom response processor to the configuration builder. The response processor is responsible for processing and transforming the responses generated by the language model.

Return

the updated instance of AIAgentConfigBuilder.

Parameters

processor

an instance of ResponseProcessor to handle the processing of LLM responses, or null to remove the existing processor.