Skip to content

Conversation

@ctate
Copy link
Collaborator

@ctate ctate commented Feb 9, 2026

  • Dynamically generate prompt examples from the user's actual catalog instead of hardcoding component names like Stack, Column, Pressable
  • Add example field to ComponentDefinition and populate across all catalogs so prompt examples show realistic props instead of empty props: {}
  • Fall back to Zod schema introspection for components without explicit examples
  • Mention RFC 6902 in the output format section to leverage LLM training weights
  • Generalize platform default rules to reference component categories instead of specific names

Fixes #88

@vercel
Copy link
Contributor

vercel bot commented Feb 9, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
json-render Ready Ready Preview, Comment Feb 9, 2026 2:31pm
json-render-dashboard-demo Ready Ready Preview, Comment Feb 9, 2026 2:31pm
json-render-remotion-demo Ready Ready Preview, Comment Feb 9, 2026 2:31pm

@ctate ctate merged commit 0e16ca3 into main Feb 9, 2026
8 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

LLM hallucinations due to hardcoded components in system prompt

1 participant