Skip to content

Commit

Permalink
docs: commit diff (#596)
Browse files Browse the repository at this point in the history
  • Loading branch information
madams0013 authored Dec 17, 2024
2 parents 3973abe + 3fc28ba commit 0efe056
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
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
}

0 comments on commit 0efe056

Please sign in to comment.