#node-chatgpt-api (for developers)

27 messages · Page 1 of 1 (latest)

steel whale
#

node-chatgpt-api is a client implementation for ChatGPT. Available as a Node.js module, REST API server, and CLI app.

https://github.com/waylaidwanderer/node-chatgpt-api

I also made a web client you can use with the library.
https://github.com/waylaidwanderer/PandoraAI

https://cdn.discordapp.com/attachments/1051681202626642003/1084604461458145362/client.png

GitHub

A client implementation for ChatGPT and Bing AI. Available as a Node.js module, REST API server, and CLI app. - GitHub - waylaidwanderer/node-chatgpt-api: A client implementation for ChatGPT and Bi...

heavy sphinx
#

Works perfectly. Thanks for sharing both the api and client!

steel whale
heavy sphinx
#

It’s really sad that they kept all of the annoying whining and complaining about ethics in the turbo model 😂

Probably going to stick with dv-003

steel whale
heavy sphinx
#

@steel whale great idea. I’m already poking around the api code to add a model switching drop down as well

solemn island
#

I'm getting into JS again and gonna use this!

#

Nice work

steel whale
#

Thanks!

ember sky
#

Thanks \w

steel whale
steel whale
#

Coming soon to the web client 👀

#

Just to be absolutely clear, automating Bing isn't against their TOS, but doing so with ChatGPT is.

I'm only supporting it for legacy reasons, so I would advise anyone using this library with the ChatGPTBrowserClient to use the ChatGPT API (with ChatGPTClient) moving forward 🙂

steel whale
#

I made a large update to my web client:

  • Chat with all the AI that node-chatgpt-api supports, including gpt-3.5-turbo, text-davinci-003, ChatGPT, and Bing.
  • Supports creating multiple presets for each client.
  • Choose between different clients or custom presets.
  • Everything is stored in local storage, so you can use this client without an account, and it can be imported or exported to other devices.

It's now available in the main branch: https://github.com/waylaidwanderer/chatgpt-web-client

gloomy kernel
steel whale
gloomy kernel
steel whale
inland monolith
#

Does this remember conversation better than the web version?

steel whale
#

New thread at #1084606153650098186.

This thread will only be used for updates on node-chatgpt-api moving forward.

heavy sphinx
#

Hi! Are you going to update this to include the "system" role for GPT-4?

#

"messages": [ {"role": "system", "content": "Set the behavior"}, {"role": "assistant", "content": "Provide examples"}, {"role": "user", "content": "Set the instructions"} ],

steel whale
#

I should probably rename that so it makes more sense

heavy sphinx
#

@steel whale excellent thanks! I got the sense that was just pre-injecting into the beginning of the prompt