utilitas 1995.3.40 → 1995.3.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.
- package/README.md +6 -1
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +2 -2
- package/lib/callosum.mjs +82 -34
- package/lib/manifest.mjs +9 -9
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -36,7 +36,7 @@ Works in Node.js and modern browsers.
|
|
|
36
36
|
| GPT_4O | String | gpt-4o |
|
|
37
37
|
| MAX_INPUT_TOKENS | Number | 12289 |
|
|
38
38
|
| MISTRAL | String | mistral |
|
|
39
|
-
| MODELS | Object | {"gpt-3.5-turbo":{"contextWindow":16385,"maxOutputTokens":4096,"requestLimitsRPM":5000,"tokenLimitsTPM":160000,"trainingData":"Sep 2021","name":"gpt-3.5-turbo","supportedMimeTypes":[],"maxInputTokens":12289,"tokenLimitsTPD":230400000,"requestLimitsRPD":7200000,"requestCapacityRPM":14},"gpt-4o":{"contextWindow":128000,"imageCostTokens":1105,"maxOutputTokens":4096,"requestLimitsRPM":
|
|
39
|
+
| MODELS | Object | {"gpt-3.5-turbo":{"contextWindow":16385,"maxOutputTokens":4096,"requestLimitsRPM":5000,"tokenLimitsTPM":160000,"trainingData":"Sep 2021","name":"gpt-3.5-turbo","supportedMimeTypes":[],"maxInputTokens":12289,"tokenLimitsTPD":230400000,"requestLimitsRPD":7200000,"requestCapacityRPM":14},"gpt-4o":{"contextWindow":128000,"imageCostTokens":1105,"maxOutputTokens":4096,"requestLimitsRPM":10000,"tokenLimitsTPD":40000000,"tokenLimitsTPM":800000,"trainingData":"Oct 2023","vision":true,"supportedMimeTypes":["image/png","image/jpeg","image/gif","image/webp"],"name":"gpt-4o","maxInputTokens":123904,"requestLimitsRPD":14400000,"requestCapacityRPM":7},"gemini-1.5-flash-latest":{"contextWindow":1048576,"maxOutputTokens":8192,"trainingData":"April 9, 2024","name":"gemini-1.5-flash-latest","supportedMimeTypes":[],"maxInputTokens":1040384,"tokenLimitsTPD":null,"requestLimitsRPD":null,"requestCapacityRPM":null},"gemini-1.5-flash-preview-0514":{"contextWindow":1048576,"imageCostTokens":258,"maxAudioLength":34200,"maxAudioPerPrompt":1,"maxFileSize":20971520,"maxImagePerPrompt":3600,"maxImageSize":null,"maxOutputTokens":8192,"maxUrlSize":2147483648,"maxVideoLength":3000,"maxVideoLengthWithAudio":3000,"maxVideoLengthWithoutAudio":3600,"maxVideoPerPrompt":10,"requestLimitsRPM":1000,"tokenLimitsTPM":2000000,"trainingData":"May, 2024","vision":true,"supportedMimeTypes":["image/png","image/jpeg","video/mov","video/mpeg","video/mp4","video/mpg","video/avi","video/wmv","video/mpegps","video/x-flv","application/pdf","audio/aac","audio/flac","audio/mp3","audio/m4a","audio/mpga","audio/opus","audio/pcm","audio/wav","audio/webm","video/3gpp"],"name":"gemini-1.5-flash-preview-0514","maxInputTokens":1040384,"tokenLimitsTPD":2880000000,"requestLimitsRPD":1440000,"requestCapacityRPM":2},"mistral":{"contextWindow":128000,"requestLimitsRPM":null,"tokenLimitsTPM":null,"name":"mistral","supportedMimeTypes":[],"maxOutputTokens":51200,"maxInputTokens":76800,"tokenLimitsTPD":null,"requestLimitsRPD":null,"requestCapacityRPM":null},"text-embedding-3-small":{"contextWindow":8191,"embedding":true,"outputDimension":1536,"requestLimitsRPM":500,"tokenLimitsTPM":1000000,"trainingData":"Sep 2021","name":"text-embedding-3-small","maxInputTokens":8191},"text-embedding-3-large":{"contextWindow":8191,"embedding":true,"outputDimension":3072,"requestLimitsRPM":500,"tokenLimitsTPM":1000000,"trainingData":"Sep 2021","name":"text-embedding-3-large","maxInputTokens":8191},"GEMINI_EMEDDING":{"contextWindow":3072,"embedding":true,"name":"GEMINI_EMEDDING","maxInputTokens":3072},"VERTEX_EMEDDING":{"contextWindow":3072,"embedding":true,"name":"VERTEX_EMEDDING","maxInputTokens":3072}} |
|
|
40
40
|
| RETRIEVAL | Object | {"type":"retrieval"} |
|
|
41
41
|
| TEXT_EMBEDDING_3_SMALL | String | text-embedding-3-small |
|
|
42
42
|
| buildGptTrainingCase | Function | prompt, response, options |
|
|
@@ -148,12 +148,15 @@ Works in Node.js and modern browsers.
|
|
|
148
148
|
| symbol | type | params / value |
|
|
149
149
|
| :--- | :--- | :--- |
|
|
150
150
|
| default | AsyncFunction | options |
|
|
151
|
+
| assertFunc | Function | |
|
|
151
152
|
| assign | Function | key, val, o |
|
|
152
153
|
| boardcast | Function | action, data |
|
|
154
|
+
| call | AsyncFunction | func, options |
|
|
153
155
|
| del | Function | k, s, o |
|
|
154
156
|
| end | AsyncFunction | |
|
|
155
157
|
| engage | Function | worker, action, data |
|
|
156
158
|
| get | AsyncFunction | ...key |
|
|
159
|
+
| getFunc | Function | name, options |
|
|
157
160
|
| getListeners | Function | i |
|
|
158
161
|
| ignore | Function | i |
|
|
159
162
|
| init | AsyncFunction | options |
|
|
@@ -163,8 +166,10 @@ Works in Node.js and modern browsers.
|
|
|
163
166
|
| once | Function | action, cbf, opts |
|
|
164
167
|
| push | Function | key, val, o |
|
|
165
168
|
| queue | Function | key, val, o |
|
|
169
|
+
| register | Function | name, func, options |
|
|
166
170
|
| report | Function | action, data |
|
|
167
171
|
| set | AsyncFunction | key, value, options |
|
|
172
|
+
| unregister | Function | name |
|
|
168
173
|
| unshift | Function | key, val, o |
|
|
169
174
|
| worker | Undefined | |
|
|
170
175
|
| workers | Object | {} |
|