Version Control

Prompt Hub allows you to create and store multiple versions of the same prompt object.

Let's say we have a prompt saved stored in Prompt Hub. Click Edit in Prompt Playground in the top right, to edit this prompt and save our edit as a new version.

Make edits to any of the prompt configs. For example here, the text was changed, one more function was added and the LLM was changed.

After making edits, click save. Click "Save new version to [prompt name]". Optionally provide a description for your new prompt version, and then hit save.

Now, you can view your new prompt version, attached to your original prompt, in the Prompt Hub!

Last updated

Was this helpful?