[6.x] Add folder based starter kit modules#11104
Draft
jesseleite wants to merge 32 commits into6.xfrom
Draft
Conversation
…t-module-folders
…t-module-folders
…rds compatibility.
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.
This PR adds folder based starter kit modules.
For example, you can extract a whole module config to a folder...
Or control
promptflow config in your starter-kit.yaml, but import the rest from a module folder...The installer will implicitly attempt to import from a
module.yamlconfig within yourmodulesfolder, again following the same hierarchy defined in your parentstarter-kit.yamlconfig. These configs are merged when imported, with the parent config taking precedence.I've also separated out module instantiation logic from the installer's prompt & filtering logic, for the purpose of some dev helper commands that @JohnathonKoster and I might be working on together 👀, to make flipping between modules during testing an easier thing 😎
Todo:
flatten()&installableFiles()helpers