utilitas 1995.2.27 → 1995.2.29

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 CHANGED
@@ -22,12 +22,12 @@ Works in Node.js and modern browsers.
22
22
  | :--- | :--- | :--- |
23
23
  | _NEED | Array | OpenAI |
24
24
  | default | AsyncFunction | options |
25
- | complete | AsyncFunction | content, options |
26
25
  | createAssistant | AsyncFunction | options |
27
26
  | createMessage | AsyncFunction | threadId, content, options |
28
27
  | deleteAllFilesFromAssistant | AsyncFunction | assistantId, options |
29
28
  | deleteFile | AsyncFunction | file_id, options |
30
29
  | deleteFileFromAssistant | AsyncFunction | assistantId, file_id, options |
30
+ | deleteThread | AsyncFunction | threadId, options |
31
31
  | detachFileFromAssistant | AsyncFunction | assistantId, file_id, options |
32
32
  | ensureAssistant | AsyncFunction | options |
33
33
  | ensureThread | AsyncFunction | |
@@ -39,7 +39,8 @@ Works in Node.js and modern browsers.
39
39
  | listAssistantFiles | AsyncFunction | assistant_id, options |
40
40
  | listFiles | AsyncFunction | options |
41
41
  | listMessages | AsyncFunction | threadId, o |
42
- | prompt | AsyncFunction | content, options |
42
+ | promptAssistant | AsyncFunction | content, options |
43
+ | promptChatGPT | AsyncFunction | content, options |
43
44
  | run | AsyncFunction | assistantId, threadId, options |
44
45
  | uploadFile | AsyncFunction | input, options |
45
46
  | uploadFileForAssistants | AsyncFunction | content, options |
@@ -231,7 +232,7 @@ Works in Node.js and modern browsers.
231
232
  | MAX_CONTEXT_TOKENS | Number | 4096 |
232
233
  | MAX_PROMPT_TOKENS | Number | 2457 |
233
234
  | MAX_RESPONSE_TOKENS | Number | 1639 |
234
- | countTokens | Function | txt |
235
+ | countTokens | Function | t |
235
236
  | createEmbedding | AsyncFunction | input, options |
236
237
  | init | AsyncFunction | |
237
238
  | initOpenAI | AsyncFunction | options |