Git Product home page Git Product logo

node-red-function-gpt's Introduction

FlowFuse helps Node-RED developers deliver applications in a more reliable, collaborative and secure manner. Node-RED’s intuitive, low-code development environment is great for connecting together hardware devices, APIs and online services. FlowFuse adds to Node-RED collaborative development, management of remote deployments, support for DevOps deliver pipelines, and the ability to host Node-RED applications on FlowFuse Cloud. FlowFuse is the devops platform for Node-RED application development and delivery.

Key Features

  • FlowFuse adds team collaboration to Node-RED, allowing multiple developers to work together on a single instance.
  • Many organizations deploy Node-RED instances to remote servers or edge devices. FlowFuse automates this process by creating snapshots on Node-RED instances that can be deployed to multiple remote targets.
  • FlowFuse simplifies the software development lifecycle of Node-RED applications. You can now set up DevOps delivery pipelines to support development, test and production environments for Node-RED application delivery.
  • FlowFuse is available from FlowFuse Cloud, a managed cloud service, or a self-hosted solution.
  • FlowFuse offers professional technical support for FlowFuse and Node-RED.

Links

node-red-function-gpt's People

Contributors

dependabot[bot] avatar joepavitt avatar knolleary avatar pezmc avatar steve-mcl avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

vitaly-z m3rcyzzz

node-red-function-gpt's Issues

Retain Conversation History

Description

Each time a new prompt is provided by the Node-RED user, we send a fresh conversation to OpenAI, meaning that knowledge of previously asked questions are not retained.

Storing some context of the history of conversation would allow iterative edits on the content provided by ChatGPT.

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Client-side ChatGPT Config

Description

Currently, when you add a new "function-gpt" node you need to select the ChatGTP Config node and click "Deploy" before you can ask it a question.

Our ChatGPT interaction operates server-side (to protect your API key), so Node-RED needs that in the runtime first, before a call to ChatGPT can be made.

Ideally, we'd be smarter here and pass client-side creds along with the call such that we can use any changes made by the user at the time of the call.

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

common.notification.error

Current Behavior

I've just installed this node on my own NodeRed instance, not FlowForge (maybe it's the problem ?)

API key + OrgID configured (Keys used in other services so sure they're valid)
Model = code-davinci-002 or gpt-3.5-turbo

Click on "Ask ChatGPT" immediatly leads to a popup "common.notification.error"

image

Expected Behavior

No response

Steps To Reproduce

No response

Environment

  • NodeRed version: 3.0.1
  • Platform/OS: Linux Debian10
  • Browser: Firefox

Insert at Cursor

Description

Currently, the response from the API populates the entire active tab contents, overwriting anything already present. It would be nice to have a toggle option alongside the "Ask ChatGPT" button that permits the response to "insert", rather than replace. This should insert at the position of the active cursor, or at least, the last place the cursor was selected in that text box, given that browser focus will be in the CHatGT text input, or on the "Ask ChatGPT" button.

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

'Ask ChatGPT' button always disabled

Current Behavior

First of all: this Node is an excellent idea, KUDOS!

I wanted to try it immediately as it would be an excellent help to our customers, electricians not necessarily skilled in programming.

I have installed the node and configured the OpenAI API key. Not sure what I should put in the organization field, for now, I've set it to 'Personal'. And deployed.

However the 'Ask ChatGPT' button always disabled remains disabled.

Expected Behavior

No response

Steps To Reproduce

Install and configure as described.

Environment

  • FlowForge version: -
  • NodeRED 3.1
  • Node.js version: v18
  • npm version:
  • Platform/OS: Debian
  • Browser: Brave

Update PR Template

Story

No response

Description

We are going to be encouraging PRs and contributions, and we currently still have the standard FF PR template in use:

Screenshot 2023-04-27 at 16 58 49

Select code and "do xyz"

Description

I propose the ability to select part or all of the code in the function and add a few buttons like...

  • Explain this
  • check and fix
  • comment this code

Have you provided an initial effort estimate for this issue?

I have provided an initial effort estimate

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.