Skip to content

Conversation

@ealmloff
Copy link
Member

@ealmloff ealmloff commented Jul 22, 2025

Adds two different versions of prompts that work well with dioxus to the template under a default off option. The small template is <8000 characters and the large template is <4000 characters which are the limits for chatgpt and copilot prompts respectively

The context is very constrained because of these limits so we skip a lot of the details the models I tested tend to guess correctly. Eg. we don't include any examples of the EventHandler type, but language models guess its name correctly

@ealmloff ealmloff marked this pull request as ready for review July 22, 2025 17:55
@jkelleyrtp
Copy link
Member

Yay! Perfect, excited to build something with the new template + context!

@jkelleyrtp jkelleyrtp merged commit fb16715 into DioxusLabs:v0.7 Jul 22, 2025
1 check 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.

2 participants