Load agent from Config Dict.
load_agent_from_config(
config: dict,
llm: BaseLanguageModel | None = None,
tools: list[Tool] | None = None,
**kwargs: Any = {}
) -> BaseSingleActionAgent | BaseMultiActionAgent| Name | Type | Description |
|---|---|---|
config* | dict | Config dict to load agent from. |
llm | BaseLanguageModel | None | Default: NoneLanguage model to use as the agent. |
tools | list[Tool] | None | Default: NoneList of tools this agent has access to. |
kwargs | Any | Default: {}Additional keyword arguments passed to the agent executor. |