utilitas 1995.2.30 → 1995.2.31

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
@@ -20,7 +20,7 @@ Works in Node.js and modern browsers.
20
20
 
21
21
  | symbol | type | params / value |
22
22
  | :--- | :--- | :--- |
23
- | _NEED | Array | OpenAI |
23
+ | _NEED | Array | OpenAI,@google-cloud/vertexai,@google/generative-ai |
24
24
  | default | AsyncFunction | options |
25
25
  | CODE_INTERPRETER | Object | {"type":"code_interpreter"} |
26
26
  | FUNCTION | Object | {"type":"function"} |
@@ -29,6 +29,7 @@ Works in Node.js and modern browsers.
29
29
  | RETRIEVAL | Object | {"type":"retrieval"} |
30
30
  | createAssistant | AsyncFunction | options |
31
31
  | createMessage | AsyncFunction | threadId, content, options |
32
+ | createOpenAIEmbedding | AsyncFunction | input, options |
32
33
  | deleteAllFilesFromAssistant | AsyncFunction | assistantId, options |
33
34
  | deleteAssistant | AsyncFunction | assistantId, options |
34
35
  | deleteFile | AsyncFunction | file_id, options |
@@ -49,6 +50,8 @@ Works in Node.js and modern browsers.
49
50
  | modifyAssistant | AsyncFunction | assistantId, assistant, options |
50
51
  | promptAssistant | AsyncFunction | content, options |
51
52
  | promptChatGPT | AsyncFunction | content, options |
53
+ | promptGemini | AsyncFunction | content, options |
54
+ | promptVertex | AsyncFunction | content, options |
52
55
  | run | AsyncFunction | assistantId, threadId, options |
53
56
  | uploadFile | AsyncFunction | input, options |
54
57
  | uploadFileForAssistants | AsyncFunction | content, options |
@@ -235,15 +238,13 @@ Works in Node.js and modern browsers.
235
238
 
236
239
  | symbol | type | params / value |
237
240
  | :--- | :--- | :--- |
238
- | _NEED | Array | openai,@waylaidwanderer/chatgpt-api |
241
+ | _NEED | Array | @waylaidwanderer/chatgpt-api |
239
242
  | default | AsyncFunction | |
240
243
  | MAX_CONTEXT_TOKENS | Number | 4096 |
241
244
  | MAX_PROMPT_TOKENS | Number | 2457 |
242
245
  | MAX_RESPONSE_TOKENS | Number | 1639 |
243
246
  | countTokens | Function | t |
244
- | createEmbedding | AsyncFunction | input, options |
245
247
  | init | AsyncFunction | |
246
- | initOpenAI | AsyncFunction | options |
247
248
 
248
249
  ### [horizon](./lib/horizon.mjs)
249
250