utilitas 1996.1.30 → 1996.1.32
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 +4 -0
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/alan.mjs +65 -7
- package/lib/bot.mjs +4 -4
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -39,6 +39,7 @@ Works in Node.js and modern browsers.
|
|
|
39
39
|
| MODELS | Object | {"gpt-4o-mini":{"contextWindow":128000,"imageCostTokens":1105,"maxOutputTokens":4096,"requestLimitsRPM":10000,"tokenLimitsTPD":1000000000,"tokenLimitsTPM":10000000,"trainingData":"Oct 2023","vision":true,"supportedMimeTypes":["image/png","image/jpeg","image/gif","image/webp"],"name":"gpt-4o-mini","maxInputTokens":123904,"requestLimitsRPD":14400000,"requestCapacityRPM":81},"gpt-4o":{"contextWindow":128000,"imageCostTokens":1105,"maxOutputTokens":4096,"requestLimitsRPM":10000,"tokenLimitsTPD":200000000,"tokenLimitsTPM":2000000,"trainingData":"Oct 2023","vision":true,"supportedMimeTypes":["image/png","image/jpeg","image/gif","image/webp"],"name":"gpt-4o","maxInputTokens":123904,"requestLimitsRPD":14400000,"requestCapacityRPM":17},"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
|
+
| analyzeSessions | AsyncFunction | sessionIds, options |
|
|
42
43
|
| buildGptTrainingCase | Function | prompt, response, options |
|
|
43
44
|
| buildGptTrainingCases | Function | cases, opts |
|
|
44
45
|
| cancelGptFineTuningJob | AsyncFunction | job_id, options |
|
|
@@ -63,6 +64,7 @@ Works in Node.js and modern browsers.
|
|
|
63
64
|
| getLatestMessage | AsyncFunction | threadId, options |
|
|
64
65
|
| getMaxChatPromptLimit | Function | options |
|
|
65
66
|
| getRun | AsyncFunction | threadId, runId, options |
|
|
67
|
+
| getSession | AsyncFunction | sessionId, options |
|
|
66
68
|
| getThread | AsyncFunction | threadId, options |
|
|
67
69
|
| init | AsyncFunction | options |
|
|
68
70
|
| initChat | AsyncFunction | options |
|
|
@@ -74,6 +76,7 @@ Works in Node.js and modern browsers.
|
|
|
74
76
|
| listMessages | AsyncFunction | threadId, options |
|
|
75
77
|
| listOpenAIModels | AsyncFunction | options |
|
|
76
78
|
| modifyAssistant | AsyncFunction | assistantId, assistant, options |
|
|
79
|
+
| prompt | AsyncFunction | input, options |
|
|
77
80
|
| promptAssistant | AsyncFunction | content, options |
|
|
78
81
|
| promptChatGPT | AsyncFunction | content, options |
|
|
79
82
|
| promptGemini | AsyncFunction | content, options |
|
|
@@ -83,6 +86,7 @@ Works in Node.js and modern browsers.
|
|
|
83
86
|
| run | AsyncFunction | assistantId, threadId, options |
|
|
84
87
|
| tailGptFineTuningEvents | AsyncFunction | job_id, options |
|
|
85
88
|
| talk | AsyncFunction | input, options |
|
|
89
|
+
| trimPrompt | AsyncFunction | getPrompt, trimFunc, contextWindow, options |
|
|
86
90
|
| uploadFile | AsyncFunction | input, options |
|
|
87
91
|
| uploadFileForAssistants | AsyncFunction | content, options |
|
|
88
92
|
| uploadFileForFineTuning | AsyncFunction | content, options |
|