halbot 1990.1.99 → 1990.1.101

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "halbot",
3
3
  "description": "Just another ChatGPT/Bing Chat Telegram bob, which is simple design, easy to use, extendable and fun.",
4
- "version": "1990.1.99",
4
+ "version": "1990.1.101",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",
@@ -42,10 +42,10 @@
42
42
  "jsdom": "^22.1.0",
43
43
  "mysql2": "^3.6.3",
44
44
  "office-text-extractor": "^3.0.2",
45
- "openai": "^4.17.3",
45
+ "openai": "^4.17.4",
46
46
  "telegraf": "^4.15.0",
47
47
  "tesseract.js": "^5.0.3",
48
- "utilitas": "^1995.1.15",
48
+ "utilitas": "^1995.1.18",
49
49
  "youtube-transcript": "^1.0.6"
50
50
  }
51
51
  }
@@ -43,7 +43,7 @@ const validateTone = val => {
43
43
  export const { name, run, priority, func, help, args } = {
44
44
  name: 'Engine',
45
45
  run: true,
46
- priority: 20,
46
+ priority: 10,
47
47
  func: action,
48
48
  help: bot.lines([
49
49
  '¶ Set initial prompt to the AI engine.',
@@ -57,8 +57,8 @@ export const { name, run, priority, func, help, args } = {
57
57
  // '¶ Select between [OpenAI models](https://platform.openai.com/docs/models).',
58
58
  // "Tip !!!4!!!: Set `gptmodel=''` to use default OpenAI model.",
59
59
  // 'Popular models:',
60
- // '- [gpt-4](https://platform.openai.com/docs/models/gpt-4): 8192 tokens, trained Sep 2021 (Limited beta).',
61
- // '- [gpt-4-32k](https://platform.openai.com/docs/models/gpt-4): 32768 tokens, trained Sep 2021 (Limited beta).',
60
+ // '- [gpt-4](https://platform.openai.com/docs/models/gpt-4): 8192 tokens, trained Sep 2021.',
61
+ // '- [gpt-4-32k](https://platform.openai.com/docs/models/gpt-4): 32768 tokens, trained Sep 2021.',
62
62
  // '- [gpt-3.5-turbo](https://platform.openai.com/docs/models/gpt-3-5): 4096 tokens, trained Sep 2021.',
63
63
  // '- [text-davinci-003](https://platform.openai.com/docs/models/gpt-3-5): 4097 tokens, trained Sep 2021.',
64
64
  // '- [text-davinci-002](https://platform.openai.com/docs/models/gpt-3-5): 4097 tokens, trained Sep 2021.',
@@ -25,7 +25,7 @@ const action = async (ctx, next) => {
25
25
  export const { name, run, priority, func, help, cmds } = {
26
26
  name: 'Instant',
27
27
  run: true,
28
- priority: 30,
28
+ priority: 20,
29
29
  func: action,
30
30
  help: bot.lines([
31
31
  'Use an AI engine `temporary` without touching your settings.',
@@ -50,7 +50,7 @@ const action = async (ctx, next) => {
50
50
  export const { name, run, priority, func, cmds, help } = {
51
51
  name: 'Wording',
52
52
  run: true,
53
- priority: 40,
53
+ priority: 30,
54
54
  func: action,
55
55
  help: bot.lines([
56
56
  '¶ Set your default language.',
@@ -16,10 +16,10 @@ const action = async (ctx, next) => {
16
16
  export const { name, run, priority, func, cmds, help } = {
17
17
  name: 'Image',
18
18
  run: true,
19
- priority: 50,
19
+ priority: 40,
20
20
  func: action,
21
21
  help: bot.lines([
22
- 'Use DALL-E to generate images.',
22
+ 'Use DALL-E to generate images.',
23
23
  'Example 1: /image a cat',
24
24
  ]),
25
25
  cmds: {
@@ -62,7 +62,7 @@ const action = async (ctx, next) => {
62
62
  export const { name, run, priority, func, help, cmds, cmdx } = {
63
63
  name: 'Prompt',
64
64
  run: true,
65
- priority: 60,
65
+ priority: 50,
66
66
  func: action,
67
67
  help: bot.lines([
68
68
  '¶ Maintain custom prompts.',
@@ -37,6 +37,6 @@ const action = async (ctx, next) => {
37
37
  export const { name, run, priority, func } = {
38
38
  name: 'Prepare',
39
39
  run: true,
40
- priority: 70,
40
+ priority: 60,
41
41
  func: action,
42
42
  };
@@ -69,6 +69,6 @@ const action = async (ctx, next) => {
69
69
  export const { name, run, priority, func } = {
70
70
  name: 'Chat',
71
71
  run: true,
72
- priority: 80,
72
+ priority: 70,
73
73
  func: action,
74
74
  };