Ask a question to get started
Enter to send•Shift+Enter new line
Unified method for loading an agent from LangChainHub or local fs.
load_agent( path: str | Path, **kwargs: Any = {} ) -> BaseSingleActionAgent | BaseMultiActionAgent
path
str | Path
Path to the agent file.
kwargs
Any
{}
Additional keyword arguments passed to the agent executor.