load#
- langchain_prompty.utils.load(prompt_path: str, configuration: str = 'default') Prompty [source]#
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