Closed jakubjezek001 closed 3 months ago
Thanks for doing this! Had it in my backlog for some time to switch to gpt-3.5-turbo-instruct
.
I have included here also enhancements of the Edit text tool. Do you want me to split it into another PR?
It's a real bummer that the Joplin API for plugin user experience is so limited. It's super annoying when the dialogue popup disappears every time you send a request to Jarvis. I've looked everywhere but can't find a way to keep the box open or even show a message asking the user to hang tight and wait.
I'll have a closer look at the latest commits later this week. For now, there's no need to split the PRs. As for Joplin UX, using panels instead of dialogs keeps all elements in view at the expense of screen space. If you have revolutionary UX ideas (beyond updating the current dialogs, which is cool) I'd be happy to hear, but prefer that we discuss them in a separate PR.
Thanks @jakubjezek001, this looks great, and makes the edit feature really useful again. The only thing I'm going to change, is that since editing is no longer limited to a specific API I would like to try to make this work with any model selected by the user, such as locally-hosted LLMs. This means using a model class like everywhere else in the code.
Reason for changes
Following models are deprecated:
text-davinci-001
- Successor modelgpt-3.5-turbo-instruct
was implemented.text-davinci-003
- Successor modelgpt-3.5-turbo-instruct
was implemented.Refactory of Edit with Jarvis: