Commit e16d58de authored by Travis Fischer's avatar Travis Fischer

docs: tweak readme

parent e0c7c846
...@@ -16,15 +16,18 @@ ...@@ -16,15 +16,18 @@
## Intro ## Intro
This package is a Node.js TypeScript wrapper around [ChatGPT](https://openai.com/blog/chatgpt) by [OpenAI](https://openai.com). This package is a Node.js wrapper around [ChatGPT](https://openai.com/blog/chatgpt) by [OpenAI](https://openai.com). TS batteries included. ✨
You can use it to start experimenting with ChatGPT by integrating it into websites, chatbots, etc... You can use it to start experimenting with ChatGPT by integrating it into websites, chatbots, etc...
> **Note**
> This package will be replaced to use the official API once it is released by OpenAI.
## Auth ## Auth
It uses headless Chromium via [Playwright](https://playwright.dev), so **you still need to have access to ChatGPT**, but it makes it much easier to access programatically. We use headless Chromium via [Playwright](https://playwright.dev), so **you still need to have access to ChatGPT** — it just makes things much easier to access programatically.
Chromium is opened in non-headless mode by default, which is important because the first time you run `ChatGPTAPI.init()`, you'll need to log in manually. We launch Chromium with a persistent context, so you shouldn't need to keep re-logging in after the first time. Chromium will be opened in non-headless mode by default, which is important because the first time you run `ChatGPTAPI.init()`, you'll need to log in manually. We launch Chromium with a persistent context, however, so you shouldn't need to keep re-logging in after the first time.
## Install ## Install
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment