Add LLM-driven nested grouping and ordered parts rendering#264
Open
elasticsounds wants to merge 1 commit intomainfrom
Open
Add LLM-driven nested grouping and ordered parts rendering#264elasticsounds wants to merge 1 commit intomainfrom
elasticsounds wants to merge 1 commit intomainfrom
Conversation
…rendering Replace flat part_ids with structured parts schema in page sectioning, allowing the LLM to output nested groups (option_group > option > text+image) directly. Use ordered_parts as the single canonical representation for rendering, removing redundant flat texts/images/groups arrays. Preserve nested group structure through web rendering pipeline instead of flattening. Update all 16 prompt templates to use ordered_parts with nested group support. Add JSON inspection tab to section data panel and unified content view to storyboard overview.
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.
Summary
part_idswith apartsunion schema (string | PartGroup) so the LLM can output nested groups directly (e.g.,option_group > option > text + image), eliminating the heuristicstructureActivityParts()post-processingordered_partsas the single source of truth for rendering, removing redundant flattexts,images,groupsarrays from the LLM rendering context. All 16 prompt templates updated to consumeordered_partswith nested group supportNestedGroupPartin web rendering to carry group structure through to the LLM renderer instead of flattening itpg014_gp009_tx001) to the sectioning LLM so it can pair specific texts with images in structured groupsTest plan