Repository navigation
FEAT: Adding Temporary Instance Creation from the Registry - #3030
Open
Richard Lundeen (richlundeen) wants to merge 5 commits into
Open
Richard Lundeen (richlundeen) wants to merge 5 commits into
Richard Lundeen (richlundeen) wants to merge 5 commits into
Conversation
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Correct declared constructor capture, clear temporary overrides, and guard runtime readiness during target preparation. Refine converter controls and move chat settings into a separate ribbon. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Constrain target mocks to PromptTarget so optional source attributes are not created implicitly. Cover shared-source request pacing and lock replacement across event loops. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Keep temporary component lifecycle and upstream dynamic target parameter metadata. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: d9a40875-faa1-48ad-bf6b-8d49a4ad7eb8
Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com> Copilot-Session: d9a40875-faa1-48ad-bf6b-8d49a4ad7eb8
This branch has not been deployed
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
This PR adds support for creating targets, converters, and scorers without adding them to a registry.
For example, say a user wants to change settings for one conversation or conversion without changing shared registry entries. Temporary instances support those changes without adding a registry entry for every variant.
I added two changes to the GUI of when this is useful already (but have some bigger arcs in mind)
Example 1: When starting a new attack, you can modify the temperature without modify the registered target
Example 2: You can modify an existing converter without adding it into the registry. E.g. change a language from Spanish to French without adding a whole other converter
The backend adds support by using the existing "create" endpoints accept
register: falseand use registry construction without registration. Source-based overrides, saved target recipes, and scoped converter previews reuse this path.