A client implementation for ChatGPT and Bing AI. Available as a Node.js module, REST API server, and CLI app. Support for the official ChatGPT model has been added! You can now use the gpt-3.5-turbo model with the official OpenAI API, using ChatGPTClient. This is the same model that ChatGPT uses, and it's the most powerful model available right now. Usage of this model is not free, however it is 10x cheaper than text-davinci-003. The default model used in ChatGPTClient is now gpt-3.5-turbo. You can still set userLabel, chatGptLabel and promptPrefix (system instructions) as usual. Support for the official ChatGPT underlying model, gpt-3.5-turbo, via OpenAI's API. Replicates chat threads from the official ChatGPT website (with conversation IDs and message IDs), with persistent conversations using Keyv. Conversations are stored in memory by default, but you can optionally install a storage adapter to persist conversations to a database.

Features

  • Includes an API server (with Docker support) you can run to use ChatGPT in non-Node.js applications
  • Includes a CLI interface where you can chat with ChatGPT
  • Includes clients that you can use in your own Node.js applications
  • Supports configurable prompt prefixes, and custom names for the user and ChatGPT
  • Retains support for models like text-davinci-003
  • Support for the official ChatGPT website, using a reverse proxy server for a Cloudflare bypass

Project Samples

Project Activity

See All Activity >

License

MIT License

Follow Node ChatGPT API

Node ChatGPT API Web Site

Other Useful Business Software
Our Free Plans just got better! | Auth0 Icon
Our Free Plans just got better! | Auth0

With up to 25k MAUs and unlimited Okta connections, our Free Plan lets you focus on what you do best—building great apps.

You asked, we delivered! Auth0 is excited to expand our Free and Paid plans to include more options so you can focus on building, deploying, and scaling applications without having to worry about your security. Auth0 now, thank yourself later.
Try free now
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of Node ChatGPT API!

Additional Project Details

Programming Language

JavaScript

Related Categories

JavaScript ChatGPT Clients, JavaScript Generative AI

Registered

2023-03-28