Ask a question to get started
Enter to send•Shift+Enter new line
Unified method for loading a prompt from LangChainHub or local filesystem.
load_prompt( path: str | Path, encoding: str | None = None, ) -> BasePromptTemplate
path
str | Path
Path to the prompt file.
encoding
str | None
None
Encoding of the file.