MagnivOrg / prompt-layer-library

🍰 PromptLayer - Maintain a log of your prompts and OpenAI API requests. Track, debug, and replay old completions.
https://www.promptlayer.com
Apache License 2.0
479 stars 42 forks source link

Prompt Registry run #45

Closed takeshicamilo closed 9 months ago

takeshicamilo commented 1 year ago

With this update basically I added a new function that let the user run their registries and test it in the way they want

promptlayer.prompts.run("runRegistry", False, ['funciona?', 'xD'], 2, 'text-ada-001')

and you need to use your promptLayer API and openai or anthropic It need 6 parameters