[New Plugin] NppOpenAI
-
Hello @mkupper and all
It doesn’t look like a sidebar but it does listen for its shortcuts in order to fully launch
As for your other question, we have our background in the translation industry but you can use any prompt for editing, transformation, explanations, or even for creating regular expressions (we provide a very smart prompt for this, which you can further edit)
And as I said in my original post, the program runs with any text program, so NotePad ++ users are not limited to using it in NotePad++
That’s why we wanted to talk about this program at least once on this forum.
Regards
-
@Safe-Tex said in [New Plugin] NppOpenAI:
And as I said in my original post, the program runs with any text program, so NotePad ++ users are not limited to using it in NotePad++
Hence, it’s off topic for a forum about Notepad++.
That’s why we wanted to talk about this program at least once on this forum.
Being not specific to Notepad++ is exactly why I explained that it’s not appropriate for a Notepad++ forum. This forum is not about every possible tool that might be running on your computer alongside Notepad++. If it’s not about Notepad++ or its plugins, it’s not on topic for this forum.
–
What part of “the standalone CotranlsatorAI product is official “off topic” for this forum” do you not understand? What part of “do not post anything more about CotranslatorAI here in the Notepad++ forum” do you not understand? What part of “the best and safest response from you at this point is to not talk about this any more” do you not understand?
Because you chose to ignore those warnings, You have been temporarily banned. Once that temporary is lifted, if you continue to argue about this or post off-topic discussions, you will be permanently banned. Accept that you lost this argument, and move on.
-
Re: [New Plugin] NppOpenAI
Great effort!! … but It would be really nice if I could use remote access to Ollama server. Similar to this:
“Continue” for VS Code.where I can provide a link to ollama server and model to use in settings file like this for example:
“tabAutocompleteModel”: {
“title”: “Codestral 22B”,
“provider”: “ollama”,
“model”: “codestral:22b-v0.1-q6_K”,
“apiBase”: “http://<IP of the sever>:11434”
}Best,
Marek—
moderator moved it from a standalone topic back to a reply to here; there was no reason for a new topic -
@mmb78 Hi! I removed the support for legacy models from the latest releases (e.g. text-davinci-003, text-davinci-002, davinci, curie, babbage, ada; they caused more problems than they solved), and now the plugin supports the up-to-date models, including Llama (tested via Groq and localhost). ^^
Additionally proxy support has been added, so you can try out DeepSeek if you want. ;)
I hope it will available in the Plugin Manager soon (my PR has been accepted yesterday), but if you want to update manually, you can find useful info in this FAQ:
https://github.com/Krazal/nppopenai/wiki/FAQ#question-ive-an-old-buggy-nppopenai-release-how-should-i-update -
Hi @Richárd Stockinger,
I would like to test your plug-in, I configured my API secret_key in the ini file, and reloaded it, but the plugin doesn’t work, and responses this error string:
“Incorrect API key provided …”
My API key is definitely working good, because I created a test php code with using cURL library, and with it, the response created successfully.
Do you have any idea, what went wrong? -
Hi @Tibor-Baráth,
You may be using an older version of NppOpenAI (e.g. v0.4.0.0) that does not yet support long API keys. :(
Please check for updates, or try updating the plugin manually. You can find more details about these in this issue:
The problem with the gpt chat keys (#32) -
deepseek For NppOpenAI.ini
[API]
secret_key=xxx
model=deepseek-chat
temperature=0.7
max_tokens=0
top_p=0.8
frequency_penalty=0
presence_penalty=0
api_url=https://api.deepseek.com/beta
[PLUGIN]
keep_question=1
total_tokens_used=22374
is_chat=0
chat_limit=10 -
wow, this sounds like a great tool, cant wait to use it.
i wonder if it will be possible to add support for google code assist, they have just opened up free access for individual developers.
also abillity to use the latest grok (3) would be cool too.
-
Hello everyone,
I recently came across this plugin and found it promising for my typical workflow. However, I encountered a blocking bug: a 2 000-character limit on the selection imposed by Notepad++. Additionally, relying on a single system prompt for every scenario proved insufficiently flexible.
I investigated and discovered that the bug had been reported some time ago, and the project was effectively stalled due to other commitments within the community.
Accordingly, I forked the repository, fixed the bug, and submitted a pull request to the original project. I then restructured the code and developed a new feature to support multiple system prompts. Since the latter is not strictly a bug fix, I did not submit a pull request for that change.
I hope the community finds my repository useful:
https://github.com/andrea-tomassi/nppopenai -
@andrea-tomassi said in [New Plugin] NppOpenAI:
Hello everyone,
I recently came across this plugin and found it promising for my typical workflow. However, I encountered a blocking bug: a 2 000-character limit on the selection imposed by Notepad++. Additionally, relying on a single system prompt for every scenario proved insufficiently flexible.
I investigated and discovered that the bug had been reported some time ago, and the project was effectively stalled due to other commitments within the community.
Accordingly, I forked the repository, fixed the bug, and submitted a pull request to the original project. I then restructured the code and developed a new feature to support multiple system prompts. Since the latter is not strictly a bug fix, I did not submit a pull request for that change.
I hope the community finds my repository useful:
https://github.com/andrea-tomassi/nppopenaiEDIT: the PR has been merged into the original project, no need for using my fork