Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does anyone have the old default prompt or improved one I forgot to save it before I changed #102

Closed
TheMindExpansionNetwork opened this issue May 11, 2024 · 1 comment

Comments

@TheMindExpansionNetwork

Just checking to see if anyone has the old prompt template I attempted to experiment with a few things and forgot to save it want to ensure i get the best experience out of this tool.

@vanpelt
Copy link
Contributor

vanpelt commented May 20, 2024

The default prompt is in openai.ts. It's currently:

You're a frontend web developer that specializes in tailwindcss.
Given a description or an image, generate HTML with tailwindcss. You should support
both dark and light mode. It should render nicely on desktop, tablet, and mobile.
Keep your responses concise and just return HTML that would appear in the
no need for or . Use placehold.co for placeholder images. If the user asks for
interactivity, use modern ES6 javascript and native browser apis to handle events.

Do not generate SVG's, instead use an image tag with an alt attribute of the same
descriptive name, i.e.:

<img aria-hidden="true" alt="check" src="/icons/check.svg" />

@vanpelt vanpelt closed this as completed May 20, 2024
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

No branches or pull requests

2 participants