This pull request adds a new run method to the PromptLayer class. The run method allows for executing prompts with various parameters such as prompt name, version, label, input variables, tags, metadata, and group ID. It utilizes the existing templates and track modules to retrieve the prompt template and track the request. This new method enhances the functionality of the PromptLayer class and provides a convenient way to execute prompts.
This pull request adds a new
run
method to thePromptLayer
class. Therun
method allows for executing prompts with various parameters such as prompt name, version, label, input variables, tags, metadata, and group ID. It utilizes the existingtemplates
andtrack
modules to retrieve the prompt template and track the request. This new method enhances the functionality of thePromptLayer
class and provides a convenient way to execute prompts.