utilitas 1995.2.14 → 1995.2.16
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 -1
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/lib/dbio.mjs +11 -2
- package/lib/hal.mjs +28 -4
- package/lib/manifest.mjs +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -124,6 +124,7 @@ Works in Node.js and modern browsers.
|
|
|
124
124
|
| deleteByKeyValue | AsyncFunction | table, key, value, options |
|
|
125
125
|
| desc | AsyncFunction | table, options |
|
|
126
126
|
| drop | AsyncFunction | table, options |
|
|
127
|
+
| enableVector | AsyncFunction | options |
|
|
127
128
|
| end | AsyncFunction | options |
|
|
128
129
|
| execute | AsyncFunction | ...args |
|
|
129
130
|
| getProvider | AsyncFunction | |
|
|
@@ -193,13 +194,15 @@ Works in Node.js and modern browsers.
|
|
|
193
194
|
|
|
194
195
|
| symbol | type | params / value |
|
|
195
196
|
| :--- | :--- | :--- |
|
|
196
|
-
| _NEED | Array |
|
|
197
|
+
| _NEED | Array | openai,@waylaidwanderer/chatgpt-api |
|
|
197
198
|
| default | AsyncFunction | |
|
|
198
199
|
| MAX_CONTEXT_TOKENS | Number | 4096 |
|
|
199
200
|
| MAX_PROMPT_TOKENS | Number | 2457 |
|
|
200
201
|
| MAX_RESPONSE_TOKENS | Number | 1639 |
|
|
201
202
|
| countTokens | Function | txt |
|
|
203
|
+
| createEmbedding | AsyncFunction | input, options |
|
|
202
204
|
| init | AsyncFunction | |
|
|
205
|
+
| initOpenAI | AsyncFunction | options |
|
|
203
206
|
|
|
204
207
|
### [horizon](./lib/horizon.mjs)
|
|
205
208
|
|