Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: commit diff #596

Merged
merged 2 commits into from
Dec 17, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 4 additions & 3 deletions docs/prompt_engineering/concepts/index.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -87,9 +87,10 @@ Verisioning is a key part of iterating and collaborating on your different promp

### Commits

Every time you save a new version of a prompt, it is saved with a new commit.
You can view old commit, allowing you to easily see previous prompt versions in case you need to revert to previous functionality.
You can access a specific commit of the prompt in the SDK by specifying a commit alongside the prompt name.
Every saved update to a prompt creates a new commit. You can view previous commits, making it easy to review earlier prompt versions or revert to a previous state if needed. In the SDK, you can access a specific commit of a prompt by specifying the commit hash along with the prompt name (e.g. `prompt_name:commit_hash`).

In the UI, you can compare a commit with its previous version by toggling the "diff" button in the top-right corner of the Commits tab.
![](./static/commit_diff.png)

### Tags

Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
9 changes: 4 additions & 5 deletions docs/reference/evaluation/_category_.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"label": "Evaluation",
"collapsed": false,
"collapsible": true
}

"label": "Evaluation",
"collapsed": false,
"collapsible": true
}
Loading