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

Use LLM for simple, narrow tasks, like detecting typographic or grammar issues in documentation and comments? #36

Open
maflcko opened this issue Aug 12, 2024 · 0 comments

Comments

@maflcko
Copy link
Owner

maflcko commented Aug 12, 2024

Given that most contributors are not native English speakers, some quick feedback about any typos in their language may be useful. Quick feedback here may reduce force-pushes and re-review due to typo fixes. There is stuff like codespell, but it only works on a curated hard-coded list of common typos.

So I tried to use an LLM for this, by passing the git diff of the pull request to it with a system prompt to report typos (and only typos).

However, it often couldn't contain itself and hallucinated other suggestions, which were not helpful in this context, so I reverted the experiment in 4f566be.

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

1 participant