Code completion plugin for Node-RED's function nodes
npm install @kazuhitoyokoi/node-red-contrib-plugin-codecompletionThis 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.
- 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
https://github.com/user-attachments/assets/4d13a1a2-1167-479d-9dd0-109c89e29158