halbot 1990.1.95 → 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 +14 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -21,7 +21,6 @@ alt="Halbot live demo" width="240" height="180" border="10" /></a>
|
|
|
21
21
|
<img width="768" alt="Screenshot 6" src="https://user-images.githubusercontent.com/233022/232613588-c0760c87-15fc-4da8-9e92-fecae8bc7bc4.jpg">
|
|
22
22
|
<img width="768" alt="Screenshot 7" src="https://user-images.githubusercontent.com/233022/232613591-8b863245-ebfb-4f1d-8cb2-7e84be1a34e4.jpg">
|
|
23
23
|
<img width="768" alt="Screenshot 8" src="https://user-images.githubusercontent.com/233022/232613594-86180676-c302-4d12-a79c-b01f61cf13d8.jpg">
|
|
24
|
-
|
|
25
24
|
</details>
|
|
26
25
|
|
|
27
26
|
## Features
|
|
@@ -29,8 +28,9 @@ alt="Halbot live demo" width="240" height="180" border="10" /></a>
|
|
|
29
28
|
- [Telegram](https://telegram.org/) Bot (`Telegram Bot` token required)
|
|
30
29
|
- [ChatGPT](https://openai.com/blog/chatgpt) (`OpenAI` API key required)
|
|
31
30
|
- [Bing Chat](https://www.bing.com/) (`Bing Chat` user token required)
|
|
32
|
-
- Speech-to-text (`Google Cloud` API key required, or your own engine)
|
|
33
|
-
- 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)
|
|
34
34
|
- OCR/OBJECT_DETECT (`Google Cloud` API key required, or your own engine)
|
|
35
35
|
- Feeding webpage and [YouTube](https://www.youtube.com/) to enhance your prompt
|
|
36
36
|
- Custom prompt and [🧠 Awesome ChatGPT Prompts](https://github.com/f/awesome-chatgpt-prompts) at your fingertips
|
|
@@ -70,7 +70,7 @@ Basic config demo:
|
|
|
70
70
|
```json
|
|
71
71
|
{
|
|
72
72
|
"telegramToken": "[[Telegram Bot API Token]]",
|
|
73
|
-
"
|
|
73
|
+
"openaiApiKey": "[[OpenAI API Key]]"
|
|
74
74
|
}
|
|
75
75
|
```
|
|
76
76
|
|
|
@@ -83,12 +83,12 @@ All supported configuration fields:
|
|
|
83
83
|
"telegramToken": "[[Telegram Bot API Token]]",
|
|
84
84
|
|
|
85
85
|
// OPTIONAL, string.
|
|
86
|
-
// One of the
|
|
87
|
-
"
|
|
86
|
+
// One of the openaiApiKey or bingToken is required.
|
|
87
|
+
"openaiApiKey": "[[OpenAI API Key]]"
|
|
88
88
|
|
|
89
89
|
// OPTIONAL, string.
|
|
90
90
|
// How to get your bing user token: https://github.com/Leask/halbot/issues/13
|
|
91
|
-
// One of the
|
|
91
|
+
// One of the openaiApiKey or bingToken is required.
|
|
92
92
|
"bingToken": "[[Bing Usertoken from cookies]]",
|
|
93
93
|
|
|
94
94
|
// OPTIONAL, string.
|
|
@@ -200,11 +200,17 @@ const config = {
|
|
|
200
200
|
|
|
201
201
|
// OPTIONAL, object.
|
|
202
202
|
// Your own computer-vision engine.
|
|
203
|
-
vision {
|
|
203
|
+
vision: {
|
|
204
204
|
see: [[ocrAndObjectDetectApi]],
|
|
205
205
|
read: [[documentAnnotateApi]],
|
|
206
206
|
},
|
|
207
207
|
|
|
208
|
+
// OPTIONAL, object.
|
|
209
|
+
// Your own image-generator engine.
|
|
210
|
+
image: {
|
|
211
|
+
generate: [[textToImageApi]],
|
|
212
|
+
},
|
|
213
|
+
|
|
208
214
|
// OPTIONAL, string.
|
|
209
215
|
// Path to your own middlewares.
|
|
210
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",
|