You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+16-9Lines changed: 16 additions & 9 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,9 +10,11 @@
10
10
11
11
See OpenAI's post, [Introducing ChatGPT and Whisper APIs](https://openai.com/blog/introducing-chatgpt-and-whisper-apis) for more information.
12
12
13
-
To use it, set `modelOptions.model` to `gpt-3.5-turbo`, and `ChatGPTClient` will handle the rest. You can still set `userLabel`, `chatGptLabel` and `promptPrefix` (system instructions) as usual.
13
+
~~To use it, set `modelOptions.model` to `gpt-3.5-turbo`, and `ChatGPTClient` will handle the rest.~~
14
+
The default model used in `ChatGPTClient` is now `gpt-3.5-turbo`.
15
+
You can still set `userLabel`, `chatGptLabel` and `promptPrefix` (system instructions) as usual.
14
16
15
-
**There may be a high chance of your account being banned if you continue to automate chat.openai.com.** Continue doing so at your own risk.
17
+
**There may be a higher chance of your account being banned if you continue to automate chat.openai.com.** Continue doing so at your own risk.
16
18
</details>
17
19
18
20
<details>
@@ -185,7 +187,8 @@ module.exports = {
185
187
// (Optional) Parameters as described in https://platform.openai.com/docs/api-reference/completions
186
188
modelOptions: {
187
189
// You can override the model name and any other parameters here.
188
-
// model: 'text-chat-davinci-002-20221122',
190
+
// The default model is `gpt-3.5-turbo`.
191
+
model:'gpt-3.5-turbo',
189
192
// Set max_tokens here to override the default max_tokens of 1000 for the completion.
190
193
// max_tokens: 1000,
191
194
},
@@ -195,11 +198,13 @@ module.exports = {
195
198
// Earlier messages will be dropped until the prompt is within the limit.
196
199
// maxPromptTokens: 3097,
197
200
// (Optional) Set custom instructions instead of "You are ChatGPT...".
198
-
// promptPrefix: 'You are Bob, a cowboy in Western times...',
199
201
// (Optional) Set a custom name for the user
200
202
// userLabel: 'User',
201
-
// (Optional) Set a custom name for ChatGPT
202
-
// chatGptLabel: 'ChatGPT',
203
+
// (Optional) Set a custom name for ChatGPT ("ChatGPT" by default)
204
+
// chatGptLabel: 'Bob',
205
+
// promptPrefix: 'You are Bob, a cowboy in Western times...',
206
+
// A proxy string like "http://<ip>:<port>"
207
+
proxy:'',
203
208
// (Optional) Set to true to enable `console.debug()` logging
204
209
debug:false,
205
210
},
@@ -224,21 +229,23 @@ module.exports = {
224
229
accessToken:'',
225
230
// Cookies from chat.openai.com (likely not required if using reverse proxy server).
226
231
cookies:'',
232
+
// A proxy string like "http://<ip>:<port>"
233
+
proxy:'',
227
234
// (Optional) Set to true to enable `console.debug()` logging
228
-
//debug: true,
235
+
debug:false,
229
236
},
230
237
// Options for the API server
231
238
apiOptions: {
232
239
port:process.env.API_PORT||3000,
233
240
host:process.env.API_HOST||'localhost',
234
241
// (Optional) Set to true to enable `console.debug()` logging
235
242
debug:false,
236
-
// (Optional) Set to "bing" to use `BingAIClient` instead of `ChatGPTClient`.
243
+
// (Optional) Possible options: "chatgpt", "chatgpt-browser", "bing".
237
244
// clientToUse: 'bing',
238
245
},
239
246
// Options for the CLI app
240
247
cliOptions: {
241
-
// (Optional) Set to "bing" to use `BingAIClient` instead of `ChatGPTClient`.
248
+
// (Optional) Possible options: "chatgpt", "bing".
0 commit comments