Ali-Hussein-dev / KamousAI

https://kamous.noorai.io
11 stars 1 forks source link

Grammar Corrector: With explanation doesnt work #58

Closed damywise closed 10 months ago

damywise commented 11 months ago

Heya, the 'with explanation' button in the Grammar Corrector doesn't seem to work most of the time. The result of with and without toggling it is identical.

Ali-Hussein-dev commented 10 months ago

This is due to the LLM, the outcomes are inconsistent. I modified the prompt, but feel free to propose an alternative phrasing.

You can find the prompt here app/api/grammar-checker/route.ts

damywise commented 10 months ago

Thanks for the response! Hmm, it seems to still not work as expected. However, I noticed a change: The incorrect words are bold (with explanations enabled).

I'll make a pull request with experimental prompts if that's okay with you, since I don't have a subscription to gpt.