halbot 1993.2.50 → 1993.2.52

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 +30 -12
  2. package/package.json +4 -4
package/README.md CHANGED
@@ -73,14 +73,6 @@ All supported configuration fields:
73
73
  // REQUIRED, string.
74
74
  "telegramToken": "[[Telegram Bot API Token]]",
75
75
 
76
- // Set some of these fields if you need Google's Gemini, TTS, STT, OCR, OBJECT_DETECT, Embedding features.
77
- // OPTIONAL, string.
78
- "googleApiKey": "[[Google Cloud / Gemini API Key]]",
79
- // OPTIONAL, string, default: "gemini-pro-vision".
80
- "geminiModel": "[[Custom Gemini Model ID]]",
81
- // OPTIONAL, integer, default: 0.
82
- "geminiPriority": "[[Custom Gemini Priority]]",
83
-
84
76
  // Set some of these fields if you need OpenAI's ChatGPT, Whisper, Embedding features.
85
77
  // OPTIONAL, string.
86
78
  "openaiApiKey": "[[OpenAI API Key]]",
@@ -88,17 +80,39 @@ All supported configuration fields:
88
80
  "openaiEndpoint": "[[Custom OpenAI API endpoint]]",
89
81
  // OPTIONAL, string, default: "gpt-3.5-turbo".
90
82
  "chatGptModel": "[[Custom ChatGPT Model ID]]",
91
- // OPTIONAL, integer, default: 1.
83
+ // OPTIONAL, integer.
92
84
  "chatGptPriority": "[[Custom ChatGPT Priority]]",
93
85
 
86
+ // Set some of these fields if you need Google's Gemini, TTS, STT, OCR, OBJECT_DETECT, Embedding features.
87
+ // OPTIONAL, string.
88
+ "googleApiKey": "[[Google Cloud / Gemini API Key]]",
89
+ // OPTIONAL, string, default: "gemini-pro-vision".
90
+ "geminiModel": "[[Custom Gemini Model ID]]",
91
+ // OPTIONAL, integer
92
+ "geminiPriority": "[[Custom Gemini Priority]]",
93
+
94
94
  // Set some of these fields if you need Anthropic's Claude features.
95
95
  // OPTIONAL, string.
96
96
  "claudeApiKey": "[[Anthropic API Key]]",
97
- // OPTIONAL, string, default: "claude".
97
+ // OPTIONAL, string.
98
+ "credentials": "[[Vertex Anthropic Credentials]]",
99
+ // OPTIONAL, string.
100
+ "projectId": "[[Vertex Anthropic Credentials]]",
101
+ // OPTIONAL, string, default: `latest claude model`.
98
102
  "claudeModel": "[[Custom Claude Model ID]]",
99
- // OPTIONAL, integer, default: 2.
103
+ // OPTIONAL, integer.
100
104
  "claudePriority": "[[Custom Claude Priority]]",
101
105
 
106
+ // Set some of these fields if you need Azure's AI features.
107
+ // OPTIONAL, string.
108
+ "azureApiKey": "[[Azure API Key]]",
109
+ // OPTIONAL, string.
110
+ "azureEndpoint": "[[Azure API Endpoint]]",
111
+ // OPTIONAL, string.
112
+ "azureModel": "[[Custom Azure Model ID]]",
113
+ // OPTIONAL, integer.
114
+ "azurePriority": "[[Custom Azure Priority]]",
115
+
102
116
  // Set some of these fields if you need Ollama features.
103
117
  // OPTIONAL, boolean.
104
118
  "ollamaEnabled": "[[Enable Ollama API]]",
@@ -106,9 +120,13 @@ All supported configuration fields:
106
120
  "ollamaEndpoint": "[[Custom Ollama API endpoint]]",
107
121
  // OPTIONAL, string, default: "DeepSeek-R1" (DeepSeek-R1 7B).
108
122
  "ollamaModel": "[[Custom Ollama Model ID]]",
109
- // OPTIONAL, integer, default: 3.
123
+ // OPTIONAL, integer.
110
124
  "ollamaPriority": "[[Custom Ollama Priority]]",
111
125
 
126
+ // OPTIONAL, string.
127
+ // Using this option along with `googleApiKey` to enable Google Search as a tool.
128
+ "googleCx": "[[Google Search Engine ID]]",
129
+
112
130
  // OPTIONAL, undefined || array of string.
113
131
  // To open the bot to PUBLIC, DO NOT set this field;
114
132
  // To restrict the bot to PRIVATE, set chat/group/channel ids in this array.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "halbot",
3
3
  "description": "Just another `ChatGPT` / `Gemini` / `Ollama` Telegram bob, which is simple design, easy to use, extendable and fun.",
4
- "version": "1993.2.50",
4
+ "version": "1993.2.52",
5
5
  "private": false,
6
6
  "homepage": "https://github.com/Leask/halbot",
7
7
  "type": "module",
@@ -48,12 +48,12 @@
48
48
  "mysql2": "^3.13.0",
49
49
  "office-text-extractor": "^3.0.3",
50
50
  "ollama": "^0.5.14",
51
- "openai": "^4.86.2",
52
- "pg": "^8.13.3",
51
+ "openai": "^4.87.3",
52
+ "pg": "^8.14.0",
53
53
  "pgvector": "^0.2.0",
54
54
  "telegraf": "^4.16.3",
55
55
  "tesseract.js": "^6.0.0",
56
- "utilitas": "^1998.2.50",
56
+ "utilitas": "^1998.2.51",
57
57
  "youtube-transcript": "^1.2.1"
58
58
  }
59
59
  }