load_agent_executor#
- langchain_experimental.plan_and_execute.executors.agent_executor.load_agent_executor(llm: BaseLanguageModel, tools: List[BaseTool], verbose: bool = False, include_task_in_prompt: bool = False) ChainExecutor [source]#
Load an agent executor.
- Parameters:
llm (BaseLanguageModel) – BaseLanguageModel
tools (List[BaseTool]) – List[BaseTool]
verbose (bool) – bool. Defaults to False.
include_task_in_prompt (bool) – bool. Defaults to False.
- Returns:
ChainExecutor
- Return type: