-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: Add TextControl for Instruct and Chat models (#1104)
* feat: Add text control to to_instruct_prompt TASK: PHS-728 * Refactor: Refactor to_instruct_prompt and add test on non-text prompt with controls TASK: PHS-728 * Refactor: Assert on length of prompt ranges per control type. TASK: PHS-728 * refactor: helper functions to only use one for `index shifts --------- Co-authored-by: Johannes Wesch <[email protected]> Co-authored-by: Sebastian Niehus <[email protected]> Co-authored-by: Sebastian Niehus <[email protected]>
- Loading branch information
1 parent
f5ee1bc
commit 6e67df4
Showing
3 changed files
with
228 additions
and
18 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
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