langchain_core.utils.loading.try_load_from_hub¶

langchain_core.utils.loading.try_load_from_hub(path: Union[str, Path], loader: Callable[[str], T], valid_prefix: str, valid_suffixes: Set[str], **kwargs: Any) Optional[T][source]¶

Load configuration from hub. Returns None if path is not a hub path.