Closed anmsh closed 1 month ago
This sounds like something I did with https://github.com/qownnotes/scripts/blob/master/ai-text-tool/ai-text-tool.qml, but just with a custom action and a select box to choose what action you want to apply.
I overlooked this script. I played with for a while and it seems to work well with both LLMs. It does what I need at the moment. Feel free to ignore this but a suggestion on top of my head is to offer a preview / diff within the result window to understand what changed.
Do you mean a diff between the selected text and the text of the dialog... Hm, depends on the size of the selected text. You could consult an external diff tool and output the text somewhere for the script. ️🤷🏻
Question
Hello again after a while. Thank you for AI integration. I was able to do some auto complete and also get it to write some code for some boilerplate code. I am wondering if it is possible to improve the text content of a document.
Let's say I have this piece of text:
I want to improve this with better grammar and structure. Things I tried:
ctrl-space
— it either repeats the same text or adds more text which it thinks will be a logical continuation.ctrl-space
on it — which just rewrites it to say something to the effect of Enhance the clarity of the documentWhen I used groq/mixtral, it did give me points on how I could achieve without actually changing any content.