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

Editor support to catch typos in role keywords like USERS: vs. USER: #234

Open
willbakst opened this issue May 10, 2024 · 0 comments
Open
Labels
Feature Request New feature or request

Comments

@willbakst
Copy link
Contributor

Is your feature request related to a problem? Please describe.
When writing prompt templates, there's potential for annoying, silent bugs when there's a typo in a role keyword (i.e. writing USERS: won't get parsed properly and there's no indication that this is happening.

Of course, users can always opt-out of the prompt template and write the messages themselves, but it would be better to instead provide better support for prompt templates to avoid these bugs without having to opt-out.

Describe the solution you'd like
Something like a VSCode or mypy or ruff extension that can check for common typos/mispellings and notify the user in their editor to help avoid these bugs.

Describe alternatives you've considered
Previously errors would be thrown for incorrect keywords, but this prevented full user control, which is against mirascope's principles.

@willbakst willbakst added the Feature Request New feature or request label May 10, 2024
@willbakst willbakst changed the title [FEATURE REQUEST] Editor support to catch typos in role keywords like USERS: vs. USER: Editor support to catch typos in role keywords like USERS: vs. USER: May 10, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature Request New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant