langchain_core.prompts.loading
.load_prompt¶
- langchain_core.prompts.loading.load_prompt(path: Union[str, Path]) BasePromptTemplate [source]¶
Unified method for loading a prompt from LangChainHub or local fs.