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
A required argument specifying the text prompt for generating text.
256
264
```
257
265
258
-
`\stats` Must be enabled in `config.ini`. Also, you must set a [Steam Web API Key](https://steamcommunity.com/dev/apikey).
259
-
266
+
`\stats` Must be enabled in `config.ini`. Also, you must set
267
+
a [Steam Web API Key](https://steamcommunity.com/dev/apikey).
260
268
261
269
#### !cgpt Usage examples
262
270
@@ -276,8 +284,15 @@ Command: !clear
276
284
277
285
Description: Clears the chat history.
278
286
279
-
This command takes no arguments or options. Simply type !clear in the chat to clear the history. Be careful, this action
280
-
cannot be undone.
287
+
Options are not required and can be used in any combination.
288
+
289
+
Calling without arguments clears own private chat history for any user.
290
+
291
+
Global Option (admin only):
292
+
\global Clears global chat history.
293
+
294
+
User Option (admin only):
295
+
\user='username' Clears private chat history for the specified user.
281
296
```
282
297
283
298
#### !rtd
@@ -306,22 +321,25 @@ Mode 2: Sends a random link to a YouTube meme.
306
321
307
322
### Custom language models (oobabooga / text-generation-webui)
308
323
309
-
Please follow these steps to set up a custom model for text generation using the [oobabooga/text-generation-webui](https://github.com/oobabooga/text-generation-webui) project:
324
+
Please follow these steps to set up a custom model for text generation using
325
+
the [oobabooga/text-generation-webui](https://github.com/oobabooga/text-generation-webui) project:
310
326
311
327
1. Open the `config.ini` file and set the `ENABLE_CUSTOM_MODEL` variable to `1`.
312
328
313
-
2. Next, install the `oobabooga/text-generation-webui` using installer. You can find the installation instructions
329
+
2. Next, install the `oobabooga/text-generation-webui` using installer. You can find the installation instructions
314
330
easily in the README.md file of that repository.
315
331
316
332
3. Download the model of your choice for text generation.
317
333
318
-
4. Launch the `text-generation-webui` application, ensuring that you include the `--api` option in the launch settings (`CMD_FLAGS.txt` file).
334
+
4. Launch the `text-generation-webui` application, ensuring that you include the `--api` option in the launch
335
+
settings (`CMD_FLAGS.txt` file).
319
336
320
337
> **NOTE**: If you're running the api on a remote server you might try `--public-api` option.
321
338
322
339
5. After the application starts, copy the **OpenAI-compatible API URL** provided by the application.
323
340
324
-
6. Open the `config.ini` file once more and find the `CUSTOM_MODEL_HOST` variable. Paste the previously copied URL as the value for this variable.
341
+
6. Open the `config.ini` file once more and find the `CUSTOM_MODEL_HOST` variable. Paste the previously copied URL as
342
+
the value for this variable.
325
343
326
344
7. Save the changes made to the `config.ini` file.
327
345
@@ -371,14 +389,14 @@ Hi chatGPT, you are going to pretend to be MEDIC from Team Fortress 2. You can d
371
389
If you want to know more here are listed some things that were left unexplained, and some tips and tricks:
0 commit comments