There is another icon.png file, but it’s not important.
I installed this plugin normally, but when I selected text and the pop-up dialog box appeared, the Translate to English button was grayed out and I couldn’t click it. I don’t know where the error is, to be honest, these codes and files were generated by chatGPT for me.
Does anyone know what went wrong? Where do I need to make changes to properly execute the code?
Thanks in advanced!
If you really wanna go the Python route, you can do it, just need to get the Config.plist right and change the method of argument passing. I can go through it later if I get time, let me know if you want to do it.
Wow, this is so magical, so simple yet it really works.
Thank you for your reply, it really excites me.
The code is valid but there is one mistake. The line “import sys” needs to be changed to “import os”.
Another question is that I read the OpenAI documentation today, which mentions that the GPT-3.5-Turbo model now has the same effect as Text-Davinci-003, but at only one tenth of the cost.
What do you think of this model? I tried to modify the engine parameters but it didn’t work.
In terms of model selection, I don’t really have a strong opinion, but it makes sense to use the latest and lowest cost one. I would have thought changing it to gpt-3.5-turbo would do the trick presuming it is already working with text-davinci-003. https://platform.openai.com/docs/models/gpt-3-5
4 is more capable of course but only usable if you have access to the closed beta.