load#
- langchain_prompty.utils.load(
- prompt_path: str,
- configuration: str = 'default',
Load a prompty file and return a Prompty object.
- Parameters:
prompt_path (str) – The path to the prompty file.
configuration (str) – The configuration to use. Defaults to
'default'
.
- Returns:
The Prompty object.
- Return type:
Examples using load