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 +3 -3
- package/skills/{20_engine.mjs → 10_engine.mjs} +3 -3
- package/skills/{30_instant.mjs → 20_instant.mjs} +1 -1
- package/skills/{40_wording.mjs → 30_wording.mjs} +1 -1
- package/skills/{50_image.mjs → 40_image.mjs} +2 -2
- package/skills/{60_prompt.mjs → 50_prompt.mjs} +1 -1
- package/skills/{70_prepare.mjs → 60_prepare.mjs} +1 -1
- package/skills/{80_chat.mjs → 70_chat.mjs} +1 -1
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.
|
|
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.
|
|
45
|
+
"openai": "^4.17.4",
|
|
46
46
|
"telegraf": "^4.15.0",
|
|
47
47
|
"tesseract.js": "^5.0.3",
|
|
48
|
-
"utilitas": "^1995.1.
|
|
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:
|
|
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
|
|
61
|
-
// '- [gpt-4-32k](https://platform.openai.com/docs/models/gpt-4): 32768 tokens, trained Sep 2021
|
|
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:
|
|
28
|
+
priority: 20,
|
|
29
29
|
func: action,
|
|
30
30
|
help: bot.lines([
|
|
31
31
|
'Use an AI engine `temporary` without touching your settings.',
|
|
@@ -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:
|
|
19
|
+
priority: 40,
|
|
20
20
|
func: action,
|
|
21
21
|
help: bot.lines([
|
|
22
|
-
'
|
|
22
|
+
'Use DALL-E to generate images.',
|
|
23
23
|
'Example 1: /image a cat',
|
|
24
24
|
]),
|
|
25
25
|
cmds: {
|