-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Re-implement prompt builder, make it public, publish
3.0.0
core mod…
…ule (#292) * feat(PromptBuilder): re-implement `PromptBuilder` Make `PromptBuilder` assert that the client inserts all mandatory keywords. * Remove commented code & move `PromptKeyword`'s prop into its file * Write tests for `PromptBuilder` * Check the inserted keyword present in the prompt template + test it * feat(publish): Publish the updated version of `PromptBuilder` * refactor: Update check condition in `PromptBuilder.insert` method * publish: Publish core module with version 2.0.7 This version includes all the changes of `PromptBuilder` on commit 1284ab4. * refactor: remove commented and redundant code in `PromptBuilder` * refactor: replace manual keyword variable creation with a prop * refactor: remove `text` prop of `PromptKeyword` since it duplicates `name` * feat: generate docs via AI for `PromptBuilder` * refactor: add newline into the prompt in `PromptBuilder` * feat: cover method info and polymorphism insertions with tests * fix: apply klint * fix: use `StringBuilder` for `fullText` assembling * publish: publish `testspark-core` with version `3.0.0` --------- Co-authored-by: Vladislav Artiukhov <[email protected]>
- Loading branch information
1 parent
0ba555f
commit 3f0a1b3
Showing
6 changed files
with
409 additions
and
121 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
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.