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
$300 Free Credits for Your Google Cloud Projects Icon
$300 Free Credits for Your Google Cloud Projects

Start building on Google Cloud with $300 in free credits. No commitment, no credit card required until you're ready to scale.

Launch your next project with $300 in free Google Cloud credits—no strings attached. Test, build, and deploy without risk. Use your credits across the entire Google Cloud platform to find what works best for your needs. After your credits are used, continue with always-free tier services. Only pay when you're ready to scale. Sign up in minutes and start exploring.
Start Free Trial
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