• Login
Community
  • Login

[New Plugin] NppOpenAI

Scheduled Pinned Locked Moved Notepad++ & Plugin Development
45 Posts 18 Posters 41.3k Views
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • P
    PeterJones @Safe Tex
    last edited by PeterJones Oct 17, 2024, 1:48 PM Oct 17, 2024, 1:22 PM

    @Safe-Tex said in [New Plugin] NppOpenAI:

    The truth is that we did NOT want to post on the forum at all without prior permission and I emailed Don twice to try to make contact, but got no reply.

    So I decided to go with a post,

    If you didn’t want to post without permission, then you probably shouldn’t have chosen to do the opposite after you didn’t get permission.

    I also decided to only mention the Starter version, which is free, and not the paid versions.
    … CotranslatorAI Starter is free and there are no other strings attached. We hope to achieve sales of the other versions

    Advertising a free product, whether or not you are hoping to “hook” people with your product and later upsell, is still advertising.

    Of course, the user would need an OpenAI key, which is a paid service,

    Okay, then your product gives zero benefit to the Notepad++ community compared to the plugin that already exists; good to know. And since it’s a completely separate product, with no relationship at all with Notepad++, I am not sure why – other than free advertising – you would try to talk about it in the Notepad++ forum. (Note: I am not asking you to justify your reasons. At this point, my post is just a detailed description from the moderator why your posts have been deemed off-topic.)

    The programmer is Stanislav Okhvat, who also created TransTools and TransTools +, He is well known among translators and has an impeccable record.

    And Notepad++ is a text editor. And the people here are not likely to have heard of you or Stanislav Okhvat, so that does nothing. And advertising is advertising, even if we had heard of the author/developer.

    So if you have any advice how we can move forward with NotePad++, I’m all ears.

    If you were to make a plugin specifically for Notepad++, you would be on-topic here. Otherwise, your posts about CotranslatorAI actually have nothing to do with Notepad++.

    I gave your first post the benefit of the doubt, because your first post in the forum, six years ago, was completely on-topic, so I was hoping that you were just a slightly overzealous Notepad++ user who also found another tool. But nothing that you have said in your reply indicates to me that you were really trying to help the Notepad++ Community, and instead it appears to me (and others – based on the complains I’ve been getting) that you were primarily trying to help CotranslatorAI (essentially, advertise). Which makes your post more than just “borderline” off topic, but completely off topic, for a Notepad++ discussion forum.

    PS. I did not really understand your remark about VS code or any other text editor and the difference this might have made to the post. Can you elaborate on this?

    It’s not really that complicated: your tool doesn’t care what text editor is used to put the text into the clipboard – it doesn’t care whether it’s Notepad++, or VSCode, or Atom, or Sublime Text, or vim, or Microsoft notepad.exe: your tool is completely agnostic to the text editor; thus, just because you picked “Notepad++” as the text editor to spam your advertisement to doesn’t make it On Topic for a Notepad++ forum (or any other text editor forum).

    If you want to come here and talk about Notepad++, or ask questions about how to use Notepad++; or if you want to come as a plugin developer, and develop a new plugin for Notepad++ that interfaces with your external product, that’s fine. But you are not allowed to come and try to advertise some other product in our Notepad++ Forum – so, to be clear, the standalone CotranslatorAI product is officially “off topic” for this forum; do not post anything more about CotranslatorAI here in the Notepad++ forum unless you are coming to announce a Notepad++ plugin that gives some benefit to Notepad++ users.

    You have already been given more leeway than most advertisers, who are usually banned immediately and have their posts immediately deleted. But your grace period is over.

    I hope this is clear enough to you.

    (No response is necessary: the best and safest response from you at this point is to not talk about this any more.)

    1 Reply Last reply Reply Quote 5
    • S
      Safe Tex @mkupper
      last edited by Oct 18, 2024, 4:44 PM

      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

      P 1 Reply Last reply Oct 18, 2024, 5:15 PM Reply Quote -2
      • P
        PeterJones @Safe Tex
        last edited by PeterJones Oct 18, 2024, 5:20 PM Oct 18, 2024, 5:15 PM

        @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.

        1 Reply Last reply Reply Quote 3
        • M
          mmb78
          last edited by PeterJones Oct 23, 2024, 10:22 PM Oct 23, 2024, 10:17 PM

          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

          Y R 2 Replies Last reply Jan 28, 2025, 6:13 PM Reply Quote 0
          • R
            Richárd Stockinger @mmb78
            last edited by Jan 30, 2025, 8:00 AM

            @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

            1 Reply Last reply Reply Quote 2
            • T
              Tibor Baráth
              last edited by Feb 5, 2025, 9:02 PM

              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?

              R 1 Reply Last reply Feb 6, 2025, 1:30 AM Reply Quote 0
              • R
                Richárd Stockinger @Tibor Baráth
                last edited by Feb 6, 2025, 1:30 AM

                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)

                1 Reply Last reply Reply Quote 1
                • A
                  Alexandr
                  last edited by Feb 22, 2025, 5:42 AM

                  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

                  1 Reply Last reply Reply Quote 2
                  • S
                    st333v
                    last edited by Feb 26, 2025, 2:49 PM

                    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.

                    1 Reply Last reply Reply Quote 1
                    • A
                      andrea-tomassi
                      last edited by May 20, 2025, 7:06 AM

                      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

                      A 1 Reply Last reply May 20, 2025, 7:30 PM Reply Quote 4
                      • A
                        andrea-tomassi @andrea-tomassi
                        last edited by May 20, 2025, 7:30 PM

                        @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/nppopenai

                        EDIT: the PR has been merged into the original project, no need for using my fork

                        1 Reply Last reply Reply Quote 2
                        • R
                          Richárd Stockinger
                          last edited by May 22, 2025, 7:27 AM

                          Hi everyone,

                          @andrea-tomassi’s PR was really helpful, and it was accepted of course, moreover this gave the project a great shake-up! Of course, the update has also been added to the nppPluginList repository and was recently accepted.

                          If someone doesn’t want to wait, manual installation is available as usual with the v0.5 release (unzip the appropriate ZIP file to the plugins/NppOpenAI folder):
                          https://github.com/Krazal/nppopenai/releases/tag/v0.5.0

                          The last few months have been very stressful for me (there was a nationwide update in the Hungarian .HU domain name registry, which also affected our developments too), but now things are starting to calm down and I hope to have more time for the plugin. ✨

                          Once again, thank you to those of you who are trying out the plugin, and I am very grateful for all the contributions!

                          1 Reply Last reply Reply Quote 1
                          • First post
                            Last post
                          The Community of users of the Notepad++ text editor.
                          Powered by NodeBB | Contributors