scottfr
Joined 14 years ago
Joined 14 years ago
https://insightmaker.com/insight/2pCL5ePy8wWgr4SN8BQ4DD/The-...
Grammit uses the Prompt API for the local LLM, which currently uses a version of the Gemma 3n model on Chrome.
Grammit uses prompting instead of fine-tuning or custom training. Simplified, it has a system prompt along the lines of: "Rewrite this text, correcting any grammar or spelling mistakes," combined with a prefilled conversation containing a number of examples showing an input sentence and the corrected output.
As far as I know, the only browsers supporting it currently are Chrome [1] and Edge [2].
[0] https://github.com/webmachinelearning/prompt-api
[1] https://developer.chrome.com/docs/extensions/ai/prompt-api
[2] https://learn.microsoft.com/en-us/microsoft-edge/web-platfor...
https://github.com/MicrosoftEdge/MSEdgeExplainers/blob/main/...
The model is fully managed by the browser. It's currently the Gemini Nano model on Chrome, and they are testing a version of the Gemma 3n model in beta channels. Edge uses phi-4-mini.
More information is available here: https://github.com/webmachinelearning/prompt-api
You can try it out here:
https://chromewebstore.google.com/detail/grammit-the-ai-gram...
LLMs can also correct other sorts of mistakes, such as correcting "The first US President was _Ben Franklin_" to "George Washington".
Many of Apple's customers are also customers of Epic.
Apple is trying to prevent those shared customers from accessing Epic.
When creating a new DSL you should find the language that is most familiar to your users. That could be Python, Javascript, or SQL. There is a good chance though that it is spreadsheet formulas.
Whatever that language, align capabilities you add to your DSL with the syntax and function naming of that language only diverging where needed to add the custom capabilities which motivated the DSL.
The closer you align with what your users already know, the more easily they will be able to adopt it. An added benefit of this that emerged in the past year is GPT's will be able to write your DSL with less prompting.
"There is nothing, according to me, that deserves more to attract our regard than the intellectual and moral associations of America....
In democratic countries the science of association is the mother science; the progress of all the others depends on the progress of that one."
[0] https://press.uchicago.edu/Misc/Chicago/805328.html