langchain.agents.loading.load_agent_from_configΒΆ

langchain.agents.loading.load_agent_from_config(config: dict, llm: Optional[BaseLanguageModel] = None, tools: Optional[List[Tool]] = None, **kwargs: Any) Union[BaseSingleActionAgent, BaseMultiActionAgent][source]ΒΆ

[Deprecated] Load agent from Config Dict.

Parameters
  • config – Config dict to load agent from.

  • llm – Language model to use as the agent.

  • tools – List of tools this agent has access to.

  • **kwargs – Additional keyword arguments passed to the agent executor.

  • config – Config dict to load agent from.

  • llm – Language model to use as the agent.

  • tools – List of tools this agent has access to.

  • **kwargs – Additional keyword arguments passed to the agent executor.

Returns

An agent executor.[Deprecated] Load agent from Config Dict.

Returns

An agent executor.

Notes

Deprecated since version 0.1.0.