promptExecutor

Sets the PromptExecutor instance to be used by this GraphAgentBuilder.

Return

The current instance of GraphAgentBuilder for method chaining.

Parameters

promptExecutor

The PromptExecutor instance responsible for executing prompts and interacting with the language model.