utilitas 1995.0.11 → 1995.0.13

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 CHANGED
@@ -177,6 +177,10 @@ Works in Node.js and modern browsers.
177
177
  | :--- | :--- | :--- |
178
178
  | _NEED | Array | @waylaidwanderer/chatgpt-api |
179
179
  | default | AsyncFunction | |
180
+ | MAX_CONTEXT_TOKENS | Number | 8192 |
181
+ | MAX_PROMPT_TOKENS | Number | 4915 |
182
+ | MAX_RESPONSE_TOKENS | Number | 3277 |
183
+ | countTokens | Function | txt |
180
184
  | init | AsyncFunction | |
181
185
 
182
186
  ### [horizon](./lib/horizon.mjs)
@@ -256,8 +260,9 @@ Works in Node.js and modern browsers.
256
260
 
257
261
  | symbol | type | params / value |
258
262
  | :--- | :--- | :--- |
259
- | _NEED | Array | @google-cloud/speech,@google-cloud/text-to-speech |
263
+ | _NEED | Array | @google-cloud/speech,@google-cloud/text-to-speech,whisper-node |
260
264
  | default | AsyncFunction | options |
265
+ | googleStt | AsyncFunction | audio, options |
261
266
  | init | AsyncFunction | options |
262
267
  | stt | AsyncFunction | audio, options |
263
268
  | tts | AsyncFunction | text, options |
@@ -285,6 +290,7 @@ Works in Node.js and modern browsers.
285
290
  | getConfigFilename | AsyncFunction | options |
286
291
  | getTempPath | Function | options |
287
292
  | handleError | Function | err, opts |
293
+ | input | AsyncFunction | any, options |
288
294
  | isTextFile | AsyncFunction | file, options |
289
295
  | legalFilename | Function | filename |
290
296
  | mapFilename | Function | name |