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.
Examples using load_chain¶
Hugging Face Prompt Injection Identification
Serialization
Loading from LangChainHub