0.1.1 • Published 11 months ago

@kazuhitoyokoi/node-red-contrib-plugin-codecompletion v0.1.1

Weekly downloads
-
License
Apache-2.0
Repository
github
Last release
11 months ago

node-red-contrib-plugin-codecompletion

This plugin enables the code completion in the code editor of function nodes. Local LLM, Granite Code Model is used in the backend to generate JavaScript code. While typing the code manually, the editor will automatically suggest the generated code based on the existing code. The user can accept and insert the suggested code by simply pressing the Tab key.

Setting up

Since this plugin uses Ollama, users need to install it in advance.

  • For Windows and macOS

    To set up the Ollama environment, you can use the installer provided on the following website.

    https://ollama.com/download

  • For Linux

    Run the following command in the terminal.

    curl -fsSL https://ollama.com/install.sh | sh
    ollama serve

Demonstration

Generating FizzBuzz code

https://github.com/user-attachments/assets/4d13a1a2-1167-479d-9dd0-109c89e29158

0.1.1

11 months ago

0.1.0

11 months ago

0.0.6

11 months ago

0.0.5

11 months ago

0.0.4

11 months ago

0.0.3

11 months ago

0.0.2

11 months ago

0.0.1

11 months ago