halbot 1990.1.111 → 1990.1.112

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 +10 -5
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -28,7 +28,7 @@ alt="Halbot live demo" width="240" height="180" border="10" /></a>
28
28
  - [Telegram](https://telegram.org/) Bot (`Telegram Bot` token required)
29
29
  - [ChatGPT](https://openai.com/blog/chatgpt) (`OpenAI` API key required)
30
30
  - [Gemini](https://cloud.google.com/vertex-ai/docs/generative-ai/multimodal/overview?hl=en) (`Google Vertex AI` credentials required)
31
- - [Mistral](https://mistral.ai/) (Install [ollama](https://github.com/jmorganca/ollama) and enable `Mistral`)
31
+ - [Mistral](https://mistral.ai/) (Install [Ollama](https://github.com/jmorganca/ollama) and enable `Mistral`)
32
32
  - Speech-to-Text (`OpenAI` or `Google Cloud` API key required, or your own engine)
33
33
  - Text-to-Speech (`OpenAI` or `Google Cloud` API key required, or your own engine)
34
34
  - Text-to-Image by DALL·E (`OpenAI` API key required, or your own engine)
@@ -68,13 +68,18 @@ All supported configuration fields:
68
68
  "telegramToken": "[[Telegram Bot API Token]]",
69
69
 
70
70
  // OPTIONAL, string.
71
- // One of the openaiApiKey or bingToken is required.
71
+ // Set this field if you need ChatGPT features.
72
72
  "openaiApiKey": "[[OpenAI API Key]]"
73
73
 
74
74
  // OPTIONAL, string.
75
- // How to get your bing user token: https://github.com/Leask/halbot/issues/13
76
- // One of the openaiApiKey or bingToken is required.
77
- "bingToken": "[[Bing Usertoken from cookies]]",
75
+ // Set this field if you need Gemini features.
76
+ "googleCredentials": "[[Google Cloud Credentials]]",
77
+ "googleProject": "[[Google Cloud Project ID]]",
78
+
79
+ // OPTIONAL, boolean.
80
+ // Set this field if you need Mistral features.
81
+ "mistralEnabled": "[[Enable Mistral hosted by Ollama]]",
82
+ "mistralEndpoint": "[[Custom Mistral API endpoint]]",
78
83
 
79
84
  // OPTIONAL, string.
80
85
  // Set this field if you need TTS/STT/OCR/OBJECT_DETECT features.
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.111",
4
+ "version": "1990.1.112",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",