-
Notifications
You must be signed in to change notification settings - Fork 344
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[OPIK-886] [SDK] Support for experiment multi-prompt version link (#1185
) * add helpers * update build_metadata_and_prompt_versions helper func * add new `prompts` argument to create_experiment() * add new `prompts` argument to evaluate() * fix linter warnings * add/fix tests * remove redundant code * rename `check_prompt_args` * print diff during assertion * rename tests
- Loading branch information
1 parent
4b5e746
commit 82abdfd
Showing
11 changed files
with
349 additions
and
100 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,8 @@ | ||
from .experiment import Experiment | ||
from .helpers import build_metadata_and_prompt_version | ||
from .helpers import build_metadata_and_prompt_versions, handle_prompt_args | ||
|
||
__all__ = ["Experiment", "build_metadata_and_prompt_version"] | ||
__all__ = [ | ||
"Experiment", | ||
"build_metadata_and_prompt_versions", | ||
"handle_prompt_args", | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.