halbot 1990.1.94 → 1990.1.96
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/README.md +15 -7
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -12,6 +12,7 @@ alt="Halbot live demo" width="240" height="180" border="10" /></a>
|
|
|
12
12
|
|
|
13
13
|
<details>
|
|
14
14
|
<summary>Screenshots: 👈 Click here to see screenshots</summary>
|
|
15
|
+
<img width="768" alt="Screenshot 2023-11-10 at 8 37 31 AM" src="https://github.com/Leask/halbot/assets/233022/4d70aa04-49a4-4194-98f9-1a9a7c58b33c">
|
|
15
16
|
<img width="768" alt="Screenshot 1" src="https://user-images.githubusercontent.com/233022/224584278-9c3e3374-6ac2-44ca-8d35-df7747b9c1be.png">
|
|
16
17
|
<img width="768" alt="Screenshot 2" src="https://user-images.githubusercontent.com/233022/224584280-113c03af-54b8-4724-86c7-3aa975f53c9c.png">
|
|
17
18
|
<img width="768" alt="Screenshot 3" src="https://user-images.githubusercontent.com/233022/224584281-526578f9-3f0f-4bf6-a89c-56b07f97beae.png">
|
|
@@ -27,8 +28,9 @@ alt="Halbot live demo" width="240" height="180" border="10" /></a>
|
|
|
27
28
|
- [Telegram](https://telegram.org/) Bot (`Telegram Bot` token required)
|
|
28
29
|
- [ChatGPT](https://openai.com/blog/chatgpt) (`OpenAI` API key required)
|
|
29
30
|
- [Bing Chat](https://www.bing.com/) (`Bing Chat` user token required)
|
|
30
|
-
- Speech-to-text (`Google Cloud` API key required, or your own engine)
|
|
31
|
-
- Text-to-speech (`Google Cloud` API key required, or your own engine)
|
|
31
|
+
- Speech-to-text (`OpenAI` or `Google Cloud` API key required, or your own engine)
|
|
32
|
+
- Text-to-speech (`OpenAI` or `Google Cloud` API key required, or your own engine)
|
|
33
|
+
- Text-to-image by DALL·E (`OpenAI` API key required, or your own engine)
|
|
32
34
|
- OCR/OBJECT_DETECT (`Google Cloud` API key required, or your own engine)
|
|
33
35
|
- Feeding webpage and [YouTube](https://www.youtube.com/) to enhance your prompt
|
|
34
36
|
- Custom prompt and [🧠 Awesome ChatGPT Prompts](https://github.com/f/awesome-chatgpt-prompts) at your fingertips
|
|
@@ -68,7 +70,7 @@ Basic config demo:
|
|
|
68
70
|
```json
|
|
69
71
|
{
|
|
70
72
|
"telegramToken": "[[Telegram Bot API Token]]",
|
|
71
|
-
"
|
|
73
|
+
"openaiApiKey": "[[OpenAI API Key]]"
|
|
72
74
|
}
|
|
73
75
|
```
|
|
74
76
|
|
|
@@ -81,12 +83,12 @@ All supported configuration fields:
|
|
|
81
83
|
"telegramToken": "[[Telegram Bot API Token]]",
|
|
82
84
|
|
|
83
85
|
// OPTIONAL, string.
|
|
84
|
-
// One of the
|
|
85
|
-
"
|
|
86
|
+
// One of the openaiApiKey or bingToken is required.
|
|
87
|
+
"openaiApiKey": "[[OpenAI API Key]]"
|
|
86
88
|
|
|
87
89
|
// OPTIONAL, string.
|
|
88
90
|
// How to get your bing user token: https://github.com/Leask/halbot/issues/13
|
|
89
|
-
// One of the
|
|
91
|
+
// One of the openaiApiKey or bingToken is required.
|
|
90
92
|
"bingToken": "[[Bing Usertoken from cookies]]",
|
|
91
93
|
|
|
92
94
|
// OPTIONAL, string.
|
|
@@ -198,11 +200,17 @@ const config = {
|
|
|
198
200
|
|
|
199
201
|
// OPTIONAL, object.
|
|
200
202
|
// Your own computer-vision engine.
|
|
201
|
-
vision {
|
|
203
|
+
vision: {
|
|
202
204
|
see: [[ocrAndObjectDetectApi]],
|
|
203
205
|
read: [[documentAnnotateApi]],
|
|
204
206
|
},
|
|
205
207
|
|
|
208
|
+
// OPTIONAL, object.
|
|
209
|
+
// Your own image-generator engine.
|
|
210
|
+
image: {
|
|
211
|
+
generate: [[textToImageApi]],
|
|
212
|
+
},
|
|
213
|
+
|
|
206
214
|
// OPTIONAL, string.
|
|
207
215
|
// Path to your own middlewares.
|
|
208
216
|
// ./skills
|
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.96",
|
|
5
5
|
"private": false,
|
|
6
6
|
"homepage": "https://github.com/Leask/halbot",
|
|
7
7
|
"type": "module",
|