langchain.chains.loading.load_chain

langchain.chains.loading.load_chain(path: Union[str, Path], **kwargs: Any) Chain[source]

Unified method for loading a chain from LangChainHub or local fs.

Parameters
  • path (Union[str, Path]) –

  • kwargs (Any) –

Return type

Chain

Examples using load_chain