-
Notifications
You must be signed in to change notification settings - Fork 75
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: Add method to add multiple outputs to a prompt in AIConfig (#689)
Summary: This pull request adds ability to add multiple outputs to prompt for Python SDK. Changes Made: Added the add_outputs method to add multiple outputs to a prompt. Related Issues: Closes #153 Test Plan: - [x] Test to check that multiple outputs can be added to prompt `test_add_outputs_existing_prompt_no_overwrite`. - [x] Test to check that `add_outputs` support prompt output overwriting `test_add_outputs_existing_prompt_overwrite`. - [x] Test to check that exception is raised if `add_outputs` is invoked with empty list or no outputs `test_add_empty_outputs_to_prompt`.
- Loading branch information
Showing
2 changed files
with
126 additions
and
0 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
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