utilitas 1995.2.6 → 1995.2.8

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
@@ -192,9 +192,9 @@ Works in Node.js and modern browsers.
192
192
  | :--- | :--- | :--- |
193
193
  | _NEED | Array | @waylaidwanderer/chatgpt-api |
194
194
  | default | AsyncFunction | |
195
- | MAX_CONTEXT_TOKENS | Number | 8192 |
196
- | MAX_PROMPT_TOKENS | Number | 4915 |
197
- | MAX_RESPONSE_TOKENS | Number | 3277 |
195
+ | MAX_CONTEXT_TOKENS | Number | 4096 |
196
+ | MAX_PROMPT_TOKENS | Number | 2457 |
197
+ | MAX_RESPONSE_TOKENS | Number | 1639 |
198
198
  | countTokens | Function | txt |
199
199
  | init | AsyncFunction | |
200
200
 
@@ -506,8 +506,11 @@ Works in Node.js and modern browsers.
506
506
 
507
507
  | symbol | type | params / value |
508
508
  | :--- | :--- | :--- |
509
- | _NEED | Array | @google-cloud/vision,tesseract.js |
509
+ | _NEED | Array | @google-cloud/vision,pdfjs-dist,tesseract.js |
510
510
  | annotateImage | AsyncFunction | image, options |
511
+ | getPdfInfo | AsyncFunction | file, options |
512
+ | getPdfPage | AsyncFunction | doc, pageNum |
513
+ | getPdfPages | AsyncFunction | doc |
511
514
  | init | AsyncFunction | options |
512
515
  | ocrImage | AsyncFunction | image, options |
513
516
  | ocrImageGoogle | AsyncFunction | image, options |