utilitas 1995.2.22 → 1995.2.24
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 +20 -2
- package/dist/utilitas.lite.mjs +1 -1
- package/dist/utilitas.lite.mjs.map +1 -1
- package/index.mjs +4 -3
- package/lib/alan.mjs +109 -0
- package/lib/email.mjs +13 -2
- package/lib/manifest.mjs +2 -1
- package/lib/vision.mjs +14 -8
- package/lib/web.mjs +6 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -16,6 +16,23 @@ Works in Node.js and modern browsers.
|
|
|
16
16
|
|
|
17
17
|
## APIs
|
|
18
18
|
|
|
19
|
+
### [alan](./lib/alan.mjs)
|
|
20
|
+
|
|
21
|
+
| symbol | type | params / value |
|
|
22
|
+
| :--- | :--- | :--- |
|
|
23
|
+
| _NEED | Array | OpenAI |
|
|
24
|
+
| default | AsyncFunction | options |
|
|
25
|
+
| createAssistant | AsyncFunction | options |
|
|
26
|
+
| createMessage | AsyncFunction | threadId, message, options |
|
|
27
|
+
| ensureAssistant | AsyncFunction | options |
|
|
28
|
+
| ensureThread | AsyncFunction | options |
|
|
29
|
+
| getRun | AsyncFunction | threadId, runId |
|
|
30
|
+
| getThread | AsyncFunction | threadId |
|
|
31
|
+
| init | AsyncFunction | options |
|
|
32
|
+
| listAssistant | AsyncFunction | options |
|
|
33
|
+
| listMessages | AsyncFunction | threadId, options |
|
|
34
|
+
| run | AsyncFunction | assistantId, threadId, options |
|
|
35
|
+
|
|
19
36
|
### [bot](./lib/bot.mjs)
|
|
20
37
|
|
|
21
38
|
| symbol | type | params / value |
|
|
@@ -150,10 +167,11 @@ Works in Node.js and modern browsers.
|
|
|
150
167
|
|
|
151
168
|
| symbol | type | params / value |
|
|
152
169
|
| :--- | :--- | :--- |
|
|
153
|
-
| _NEED | Array | form-data,mailgun.js,node-mailjet |
|
|
170
|
+
| _NEED | Array | form-data,mailgun.js,mailparser,node-mailjet |
|
|
154
171
|
| default | AsyncFunction | options |
|
|
155
172
|
| getSenderName | Function | |
|
|
156
173
|
| init | AsyncFunction | options |
|
|
174
|
+
| parse | AsyncFunction | input, options |
|
|
157
175
|
| rawSend | AsyncFunction | data |
|
|
158
176
|
| send | AsyncFunction | email, subject, text, html, args, options |
|
|
159
177
|
|
|
@@ -535,7 +553,7 @@ Works in Node.js and modern browsers.
|
|
|
535
553
|
| _NEED | Array | jsdom,youtube-transcript,@mozilla/readability,@ngrok/ngrok |
|
|
536
554
|
| assertYoutubeUrl | Function | |
|
|
537
555
|
| distill | AsyncFunction | |
|
|
538
|
-
| distillHtml | AsyncFunction |
|
|
556
|
+
| distillHtml | AsyncFunction | input, options |
|
|
539
557
|
| distillPage | AsyncFunction | url, op |
|
|
540
558
|
| distillYoutube | AsyncFunction | |
|
|
541
559
|
| forward | AsyncFunction | options |
|