halbot 1990.1.40 → 1990.1.42

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.
Files changed (2) hide show
  1. package/README.md +9 -9
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -21,7 +21,7 @@ alt="Halbot live demo" width="240" height="180" border="10" /></a>
21
21
  ## Features
22
22
 
23
23
  - [Telegram](https://telegram.org/) Bot (`Telegram Bot` token required)
24
- - [ChatGPT]https://openai.com/blog/chatgpt) (`OpenAI` API key required)
24
+ - [ChatGPT](https://openai.com/blog/chatgpt) (`OpenAI` API key required)
25
25
  - [Bing Chat](https://www.bing.com/) (`Bing Chat` user token required)
26
26
  - Speech-to-text (`Google Cloud` API key required, or your own engine)
27
27
  - Text-to-speech (`Google Cloud` API key required, or your own engine)
@@ -164,21 +164,21 @@ const config = {
164
164
 
165
165
  // OPTIONAL, object (key renderd as name) or array (name ignored).
166
166
  ai: {
167
- [[aiNameA]]: [[aiClientA]]
167
+ [[aiNameA]]: [[aiClientA]],
168
168
  [[aiNameB]]: [[aiClientB]],
169
169
  },
170
170
 
171
171
  // OPTIONAL, object.
172
172
  // Your own speech-to-text and text-to-speech engine.
173
173
  speech: {
174
- stt: [[stt api]],
175
- tts: [[tts api]],
174
+ stt: [[sttApi]],
175
+ tts: [[ttsApi]],
176
176
  },
177
177
 
178
178
  // OPTIONAL, object.
179
179
  // Your own computer-vision engine.
180
180
  vision {
181
- see: [[ocr/object_detect api]]
181
+ see: [[OcrObjectDetectApi]],
182
182
  },
183
183
 
184
184
  // OPTIONAL, string.
@@ -219,14 +219,14 @@ const config = {
219
219
  args: {
220
220
  [[argA]]: {
221
221
  type: 'string',
222
- short: [[short cut]],
223
- default: [[default value]],
222
+ short: [[shortCut]],
223
+ default: [[defaultValue]],
224
224
  desc: [[description]],
225
225
  },
226
226
  [[argB]]: {
227
227
  type: 'binary',
228
- short: [[short cut]],
229
- default: [[default value]],
228
+ short: [[shortCut]],
229
+ default: [[defaultValue]],
230
230
  desc: [[description]],
231
231
  },
232
232
  ...[[OTHER ARGS]],
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.40",
4
+ "version": "1990.1.42",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",