utilitas 1995.2.38 → 1995.2.39
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 +3 -12
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/index.mjs +2 -3
- package/lib/alan.mjs +66 -19
- package/lib/manifest.mjs +1 -2
- package/package.json +1 -2
- package/lib/hal.mjs +0 -139
package/README.md
CHANGED
|
@@ -42,6 +42,7 @@ Works in Node.js and modern browsers.
|
|
|
42
42
|
| buildGptTrainingCase | Function | prompt, response, options |
|
|
43
43
|
| buildGptTrainingCases | Function | cases, opts |
|
|
44
44
|
| cancelGptFineTuningJob | AsyncFunction | job_id, options |
|
|
45
|
+
| countTokens | Function | |
|
|
45
46
|
| createAssistant | AsyncFunction | options |
|
|
46
47
|
| createGeminiEmbedding | AsyncFunction | input, options |
|
|
47
48
|
| createGptFineTuningJob | AsyncFunction | training_file, options |
|
|
@@ -59,6 +60,7 @@ Works in Node.js and modern browsers.
|
|
|
59
60
|
| getAssistant | AsyncFunction | assistantId, options |
|
|
60
61
|
| getGptFineTuningJob | AsyncFunction | job_id, options |
|
|
61
62
|
| getLatestMessage | AsyncFunction | threadId, options |
|
|
63
|
+
| getMaxChatPromptLimit | Function | options |
|
|
62
64
|
| getRun | AsyncFunction | threadId, runId, options |
|
|
63
65
|
| getThread | AsyncFunction | threadId, options |
|
|
64
66
|
| init | AsyncFunction | options |
|
|
@@ -75,6 +77,7 @@ Works in Node.js and modern browsers.
|
|
|
75
77
|
| promptChatGPT | AsyncFunction | content, options |
|
|
76
78
|
| promptGemini | AsyncFunction | content, options |
|
|
77
79
|
| promptVertex | AsyncFunction | content, options |
|
|
80
|
+
| resetSession | AsyncFunction | sessionId, options |
|
|
78
81
|
| run | AsyncFunction | assistantId, threadId, options |
|
|
79
82
|
| tailGptFineTuningEvents | AsyncFunction | job_id, options |
|
|
80
83
|
| talk | AsyncFunction | input, options |
|
|
@@ -260,18 +263,6 @@ Works in Node.js and modern browsers.
|
|
|
260
263
|
| load | AsyncFunction | module, options |
|
|
261
264
|
| loop | AsyncFunction | func, interval, tout, delay, name, options |
|
|
262
265
|
|
|
263
|
-
### [hal](./lib/hal.mjs)
|
|
264
|
-
|
|
265
|
-
| symbol | type | params / value |
|
|
266
|
-
| :--- | :--- | :--- |
|
|
267
|
-
| _NEED | Array | @waylaidwanderer/chatgpt-api |
|
|
268
|
-
| default | AsyncFunction | |
|
|
269
|
-
| MAX_CONTEXT_TOKENS | Number | 4096 |
|
|
270
|
-
| MAX_PROMPT_TOKENS | Number | 2457 |
|
|
271
|
-
| MAX_RESPONSE_TOKENS | Number | 1639 |
|
|
272
|
-
| countTokens | Function | t |
|
|
273
|
-
| init | AsyncFunction | |
|
|
274
|
-
|
|
275
266
|
### [horizon](./lib/horizon.mjs)
|
|
276
267
|
|
|
277
268
|
| symbol | type | params / value |
|