Merged
Conversation
Replace text-based templates with structured YAML prompts following GitHub's schema. UI now loads model parameters directly from YAML files. Updates UI initialization to sync with YAML model parameters.
- CLI: vtk-prompt --prompt-file custom.yml - UI: vtk-prompt-ui --prompt-file custom.yml - Parameter hierarchy: CLI > custom prompt > defaults - Add RAG + UI integration with smart prompt selection
Signed-off-by: Brianna Major <brianna.major@kitware.com>
Signed-off-by: Brianna Major <brianna.major@kitware.com>
Signed-off-by: Brianna Major <brianna.major@kitware.com>
Signed-off-by: Brianna Major <brianna.major@kitware.com>
Signed-off-by: Brianna Major <brianna.major@kitware.com>
Member
|
@bnmajor let me me know when is ready for review. lets also setup a staging deployment to further help with the review |
Closed
Merged
vicentebolea
approved these changes
Mar 8, 2026
Member
vicentebolea
left a comment
There was a problem hiding this comment.
Awesome, this will allow us to further debug our prompts in the github tab.
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.
Migrates
VTK Promptfrom legacy text-based templates to aYAMLprompt system following GitHub's prompt schema, with support for custom user-definedYAMLprompt files.YAMLPromptLoader: Singleton pattern for loading, validating, and processingYAMLprompts{{variable}}placeholder systemYAMLstructure withname,description,model,modelParameters,messages.txttemplates to structuredYAMLfilesvtk_python_generation.prompt.yml- Standard CLI code generationvtk_python_generation_ui.prompt.yml- UI-specific with renderer instructionsvtk_python_rag.prompt.yml- RAG-enhanced CLI promptsvtk_python_rag_ui.prompt.yml- RAG-enhanced UI promptsvtk_xml_generation.prompt.yml- XML file generationrag_chat.prompt.yml- RAG chat assistant--prompt-fileargument for customYAMLpromptsTesting
CLIcustom prompt loading and parameter validationYAMLloader, variable substitution, and error handling