sa2kit 3.4.0 → 3.6.0
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/dist/{chunk-KVYHCGRY.js → chunk-7Z3XR2Y4.js} +552 -263
- package/dist/chunk-7Z3XR2Y4.js.map +1 -0
- package/dist/chunk-XPY45Y75.js +1143 -0
- package/dist/chunk-XPY45Y75.js.map +1 -0
- package/dist/{chunk-YIRPPMCN.mjs → chunk-XSTMLLJV.mjs} +474 -198
- package/dist/chunk-XSTMLLJV.mjs.map +1 -0
- package/dist/chunk-ZJLS5JU5.mjs +1090 -0
- package/dist/chunk-ZJLS5JU5.mjs.map +1 -0
- package/dist/common/aiApi/client/index.d.mts +71 -0
- package/dist/common/aiApi/client/index.d.ts +71 -0
- package/dist/common/aiApi/client/index.js +165 -0
- package/dist/common/aiApi/client/index.js.map +1 -0
- package/dist/common/aiApi/client/index.mjs +151 -0
- package/dist/common/aiApi/client/index.mjs.map +1 -0
- package/dist/common/aiApi/index.d.mts +184 -0
- package/dist/common/aiApi/index.d.ts +184 -0
- package/dist/common/aiApi/index.js +217 -0
- package/dist/common/aiApi/index.mjs +4 -0
- package/dist/common/aiApi/server/index.d.mts +3 -0
- package/dist/common/aiApi/server/index.d.ts +3 -0
- package/dist/common/aiApi/server/index.js +217 -0
- package/dist/common/aiApi/server/index.mjs +4 -0
- package/dist/common/components/index.js +176 -177
- package/dist/common/components/index.mjs +1 -2
- package/dist/common/index.js +2 -3
- package/dist/common/index.mjs +1 -2
- package/dist/index.d.mts +314 -154
- package/dist/index.d.ts +314 -154
- package/dist/index.js +1055 -369
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +1005 -360
- package/dist/index.mjs.map +1 -1
- package/dist/types-CiqMQ-uu.d.mts +166 -0
- package/dist/types-CiqMQ-uu.d.ts +166 -0
- package/package.json +15 -50
- package/dist/chunk-3R6JHA6D.js +0 -120
- package/dist/chunk-3R6JHA6D.js.map +0 -1
- package/dist/chunk-4PJM4752.js +0 -4
- package/dist/chunk-4PJM4752.js.map +0 -1
- package/dist/chunk-7PMT4L4I.js +0 -324
- package/dist/chunk-7PMT4L4I.js.map +0 -1
- package/dist/chunk-FY2X3LYR.mjs +0 -3
- package/dist/chunk-FY2X3LYR.mjs.map +0 -1
- package/dist/chunk-GS4SAW25.mjs +0 -116
- package/dist/chunk-GS4SAW25.mjs.map +0 -1
- package/dist/chunk-HL4H2HF6.js +0 -279
- package/dist/chunk-HL4H2HF6.js.map +0 -1
- package/dist/chunk-IJIQUMAK.mjs +0 -272
- package/dist/chunk-IJIQUMAK.mjs.map +0 -1
- package/dist/chunk-KVYHCGRY.js.map +0 -1
- package/dist/chunk-MMDSZIXD.mjs +0 -286
- package/dist/chunk-MMDSZIXD.mjs.map +0 -1
- package/dist/chunk-N2O3OX5Y.mjs +0 -243
- package/dist/chunk-N2O3OX5Y.mjs.map +0 -1
- package/dist/chunk-RRQ2X26Z.js +0 -106
- package/dist/chunk-RRQ2X26Z.js.map +0 -1
- package/dist/chunk-RVNQI6BI.js +0 -249
- package/dist/chunk-RVNQI6BI.js.map +0 -1
- package/dist/chunk-UJUWDF7M.mjs +0 -336
- package/dist/chunk-UJUWDF7M.mjs.map +0 -1
- package/dist/chunk-VCKXK6V5.js +0 -345
- package/dist/chunk-VCKXK6V5.js.map +0 -1
- package/dist/chunk-VIEXDTNF.mjs +0 -100
- package/dist/chunk-VIEXDTNF.mjs.map +0 -1
- package/dist/chunk-YIRPPMCN.mjs.map +0 -1
- package/dist/common/ai/llm/core/index.d.mts +0 -70
- package/dist/common/ai/llm/core/index.d.ts +0 -70
- package/dist/common/ai/llm/core/index.js +0 -54
- package/dist/common/ai/llm/core/index.mjs +0 -5
- package/dist/common/ai/llm/electron/index.d.mts +0 -6
- package/dist/common/ai/llm/electron/index.d.ts +0 -6
- package/dist/common/ai/llm/electron/index.js +0 -67
- package/dist/common/ai/llm/electron/index.mjs +0 -10
- package/dist/common/ai/llm/index.d.mts +0 -3
- package/dist/common/ai/llm/index.d.ts +0 -3
- package/dist/common/ai/llm/index.js +0 -54
- package/dist/common/ai/llm/index.js.map +0 -1
- package/dist/common/ai/llm/index.mjs +0 -5
- package/dist/common/ai/llm/index.mjs.map +0 -1
- package/dist/common/ai/llm/miniapp/index.d.mts +0 -6
- package/dist/common/ai/llm/miniapp/index.d.ts +0 -6
- package/dist/common/ai/llm/miniapp/index.js +0 -59
- package/dist/common/ai/llm/miniapp/index.js.map +0 -1
- package/dist/common/ai/llm/miniapp/index.mjs +0 -6
- package/dist/common/ai/llm/miniapp/index.mjs.map +0 -1
- package/dist/common/ai/llm/rn/index.d.mts +0 -6
- package/dist/common/ai/llm/rn/index.d.ts +0 -6
- package/dist/common/ai/llm/rn/index.js +0 -59
- package/dist/common/ai/llm/rn/index.js.map +0 -1
- package/dist/common/ai/llm/rn/index.mjs +0 -6
- package/dist/common/ai/llm/rn/index.mjs.map +0 -1
- package/dist/common/ai/llm/ui/electron/index.d.mts +0 -5
- package/dist/common/ai/llm/ui/electron/index.d.ts +0 -5
- package/dist/common/ai/llm/ui/electron/index.js +0 -22
- package/dist/common/ai/llm/ui/electron/index.js.map +0 -1
- package/dist/common/ai/llm/ui/electron/index.mjs +0 -9
- package/dist/common/ai/llm/ui/electron/index.mjs.map +0 -1
- package/dist/common/ai/llm/ui/miniapp/index.d.mts +0 -9
- package/dist/common/ai/llm/ui/miniapp/index.d.ts +0 -9
- package/dist/common/ai/llm/ui/miniapp/index.js +0 -14
- package/dist/common/ai/llm/ui/miniapp/index.js.map +0 -1
- package/dist/common/ai/llm/ui/miniapp/index.mjs +0 -5
- package/dist/common/ai/llm/ui/miniapp/index.mjs.map +0 -1
- package/dist/common/ai/llm/ui/rn/index.d.mts +0 -9
- package/dist/common/ai/llm/ui/rn/index.d.ts +0 -9
- package/dist/common/ai/llm/ui/rn/index.js +0 -14
- package/dist/common/ai/llm/ui/rn/index.js.map +0 -1
- package/dist/common/ai/llm/ui/rn/index.mjs +0 -5
- package/dist/common/ai/llm/ui/rn/index.mjs.map +0 -1
- package/dist/common/ai/llm/ui/web/index.d.mts +0 -15
- package/dist/common/ai/llm/ui/web/index.d.ts +0 -15
- package/dist/common/ai/llm/ui/web/index.js +0 -21
- package/dist/common/ai/llm/ui/web/index.js.map +0 -1
- package/dist/common/ai/llm/ui/web/index.mjs +0 -8
- package/dist/common/ai/llm/ui/web/index.mjs.map +0 -1
- package/dist/common/ai/llm/web/index.d.mts +0 -6
- package/dist/common/ai/llm/web/index.d.ts +0 -6
- package/dist/common/ai/llm/web/index.js +0 -66
- package/dist/common/ai/llm/web/index.js.map +0 -1
- package/dist/common/ai/llm/web/index.mjs +0 -9
- package/dist/common/ai/llm/web/index.mjs.map +0 -1
- package/dist/types-B2rs_jq1.d.mts +0 -38
- package/dist/types-DgACCUpT.d.ts +0 -122
- package/dist/types-DwS2Eg0q.d.ts +0 -38
- package/dist/types-LU_BGSzk.d.mts +0 -122
- /package/dist/common/{ai/llm/core → aiApi}/index.js.map +0 -0
- /package/dist/common/{ai/llm/core → aiApi}/index.mjs.map +0 -0
- /package/dist/common/{ai/llm/electron → aiApi/server}/index.js.map +0 -0
- /package/dist/common/{ai/llm/electron → aiApi/server}/index.mjs.map +0 -0
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXPY45Y75_js = require('../../chunk-XPY45Y75.js');
|
|
4
|
+
require('../../chunk-NSBPE2FW.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "CORE_CONNECTIVITY_TEST_TASK_ID", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkXPY45Y75_js.CORE_CONNECTIVITY_TEST_TASK_ID; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "CORE_LLM_COMPLETION_TASK_ID", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkXPY45Y75_js.CORE_LLM_COMPLETION_TASK_ID; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "CORE_STRUCTURED_MULTIMODAL_TASK_ID", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkXPY45Y75_js.CORE_STRUCTURED_MULTIMODAL_TASK_ID; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "DEFAULT_OPENAI_BASE_URL", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkXPY45Y75_js.DEFAULT_OPENAI_BASE_URL; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "DEFAULT_TEXT_MODEL", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkXPY45Y75_js.DEFAULT_TEXT_MODEL; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "appendTranscriptionsToPrompt", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkXPY45Y75_js.appendTranscriptionsToPrompt; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "assertMultimodalCapableModel", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkXPY45Y75_js.assertMultimodalCapableModel; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "assertValidAudioInput", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkXPY45Y75_js.assertValidAudioInput; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "assertValidImageInput", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkXPY45Y75_js.assertValidImageInput; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "assertValidMultimodalMedia", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkXPY45Y75_js.assertValidMultimodalMedia; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "assertVisionCapableModel", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkXPY45Y75_js.assertVisionCapableModel; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "base64ToBlob", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkXPY45Y75_js.base64ToBlob; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "buildMultimodalMessages", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkXPY45Y75_js.buildMultimodalMessages; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "callChat", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkXPY45Y75_js.callChat; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "callCompletion", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkXPY45Y75_js.callCompletion; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "callMultimodalChat", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkXPY45Y75_js.callMultimodalChat; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "clearAiTasksForTest", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkXPY45Y75_js.clearAiTasksForTest; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "coreConnectivityTestTask", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkXPY45Y75_js.coreConnectivityTestTask; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "coreLlmCompletionTask", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkXPY45Y75_js.coreLlmCompletionTask; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "coreStructuredMultimodalTask", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkXPY45Y75_js.coreStructuredMultimodalTask; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "detectVisionMessageFormat", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkXPY45Y75_js.detectVisionMessageFormat; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "ensureCoreAiTasksRegistered", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkXPY45Y75_js.ensureCoreAiTasksRegistered; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "extractJsonObject", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkXPY45Y75_js.extractJsonObject; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "fileToAiAudioInput", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkXPY45Y75_js.fileToAiAudioInput; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "fileToAiImageInput", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkXPY45Y75_js.fileToAiImageInput; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "filterChatModels", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkXPY45Y75_js.filterChatModels; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "filterSttModels", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkXPY45Y75_js.filterSttModels; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "filterVisionModels", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkXPY45Y75_js.filterVisionModels; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "getAiTask", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkXPY45Y75_js.getAiTask; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "isAudioInputError", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkXPY45Y75_js.isAudioInputError; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "isImageUrlVariantError", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkXPY45Y75_js.isImageUrlVariantError; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "isKnownTextOnlyModel", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkXPY45Y75_js.isKnownTextOnlyModel; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "isLikelyNativeAudioChatModel", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkXPY45Y75_js.isLikelyNativeAudioChatModel; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "isLikelySttModel", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunkXPY45Y75_js.isLikelySttModel; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "isLikelyVisionModel", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunkXPY45Y75_js.isLikelyVisionModel; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "listAiTasks", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunkXPY45Y75_js.listAiTasks; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "listOpenAiCompatibleModels", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunkXPY45Y75_js.listOpenAiCompatibleModels; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "mimeToAudioFormat", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunkXPY45Y75_js.mimeToAudioFormat; }
|
|
159
|
+
});
|
|
160
|
+
Object.defineProperty(exports, "pickDefaultSttModel", {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () { return chunkXPY45Y75_js.pickDefaultSttModel; }
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "pickDefaultVisionModel", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function () { return chunkXPY45Y75_js.pickDefaultVisionModel; }
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "registerAiTask", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () { return chunkXPY45Y75_js.registerAiTask; }
|
|
171
|
+
});
|
|
172
|
+
Object.defineProperty(exports, "registerCoreAiTasks", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () { return chunkXPY45Y75_js.registerCoreAiTasks; }
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "requestJson", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () { return chunkXPY45Y75_js.requestJson; }
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "requireAiConnectionConfig", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return chunkXPY45Y75_js.requireAiConnectionConfig; }
|
|
183
|
+
});
|
|
184
|
+
Object.defineProperty(exports, "resetCoreAiTasksForTest", {
|
|
185
|
+
enumerable: true,
|
|
186
|
+
get: function () { return chunkXPY45Y75_js.resetCoreAiTasksForTest; }
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "resolveAiConnectionConfig", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkXPY45Y75_js.resolveAiConnectionConfig; }
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "resolveAudioHandling", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return chunkXPY45Y75_js.resolveAudioHandling; }
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(exports, "runAiTask", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function () { return chunkXPY45Y75_js.runAiTask; }
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "splitMediaByKind", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function () { return chunkXPY45Y75_js.splitMediaByKind; }
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "toVisionApiErrorMessage", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () { return chunkXPY45Y75_js.toVisionApiErrorMessage; }
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "transcribeAudio", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () { return chunkXPY45Y75_js.transcribeAudio; }
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "transcribeAudios", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function () { return chunkXPY45Y75_js.transcribeAudios; }
|
|
215
|
+
});
|
|
216
|
+
//# sourceMappingURL=index.js.map
|
|
217
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { CORE_CONNECTIVITY_TEST_TASK_ID, CORE_LLM_COMPLETION_TASK_ID, CORE_STRUCTURED_MULTIMODAL_TASK_ID, DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, appendTranscriptionsToPrompt, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, base64ToBlob, buildMultimodalMessages, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, detectVisionMessageFormat, ensureCoreAiTasksRegistered, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, filterChatModels, filterSttModels, filterVisionModels, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, listAiTasks, listOpenAiCompatibleModels, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, toVisionApiErrorMessage, transcribeAudio, transcribeAudios } from '../../chunk-ZJLS5JU5.mjs';
|
|
2
|
+
import '../../chunk-MAI35PU6.mjs';
|
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
|
4
|
+
//# sourceMappingURL=index.mjs.map
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { p as AiApiErrorBody, q as AiApiErrorCode, a as AiApiResponse, r as AiApiResponseMeta, n as AiApiRunRequest, g as AiAudioInput, u as AiAudioMediaInput, A as AiClientSettings, d as AiConnectionConfig, m as AiConnectionSettings, f as AiImageInput, t as AiImageMediaInput, h as AiMediaInput, s as AiMediaKind, y as AiModelsListRequest, b as AiModelsListResponse, j as AiTaskContext, i as AiTaskDefinition, o as AiTaskRunOptions, c as AudioStrategy, x as CORE_CONNECTIVITY_TEST_TASK_ID, v as CORE_LLM_COMPLETION_TASK_ID, w as CORE_STRUCTURED_MULTIMODAL_TASK_ID, C as ConnectivityTestOutput, M as MultimodalChatParams, e as MultimodalChatResult, S as StructuredMultimodalInput, l as StructuredMultimodalOutput, T as TextCompletionInput, k as TextCompletionOutput } from '../../../types-CiqMQ-uu.mjs';
|
|
2
|
+
export { CallChatOptions, CallChatResult, CallCompletionParams, CallCompletionResult, ChatMessage, ChatRole, ChatUsage, DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, JsonRequestOptions, ListModelsResult, ResolvedAudioHandling, TranscribeAudioOptions, VisionMessageFormat, appendTranscriptionsToPrompt, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, base64ToBlob, buildMultimodalMessages, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, detectVisionMessageFormat, ensureCoreAiTasksRegistered, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, filterChatModels, filterSttModels, filterVisionModels, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, listAiTasks, listOpenAiCompatibleModels, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, toVisionApiErrorMessage, transcribeAudio, transcribeAudios } from '../index.mjs';
|
|
3
|
+
import '../../../types-CbTsi9CZ.mjs';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
export { p as AiApiErrorBody, q as AiApiErrorCode, a as AiApiResponse, r as AiApiResponseMeta, n as AiApiRunRequest, g as AiAudioInput, u as AiAudioMediaInput, A as AiClientSettings, d as AiConnectionConfig, m as AiConnectionSettings, f as AiImageInput, t as AiImageMediaInput, h as AiMediaInput, s as AiMediaKind, y as AiModelsListRequest, b as AiModelsListResponse, j as AiTaskContext, i as AiTaskDefinition, o as AiTaskRunOptions, c as AudioStrategy, x as CORE_CONNECTIVITY_TEST_TASK_ID, v as CORE_LLM_COMPLETION_TASK_ID, w as CORE_STRUCTURED_MULTIMODAL_TASK_ID, C as ConnectivityTestOutput, M as MultimodalChatParams, e as MultimodalChatResult, S as StructuredMultimodalInput, l as StructuredMultimodalOutput, T as TextCompletionInput, k as TextCompletionOutput } from '../../../types-CiqMQ-uu.js';
|
|
2
|
+
export { CallChatOptions, CallChatResult, CallCompletionParams, CallCompletionResult, ChatMessage, ChatRole, ChatUsage, DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, JsonRequestOptions, ListModelsResult, ResolvedAudioHandling, TranscribeAudioOptions, VisionMessageFormat, appendTranscriptionsToPrompt, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, base64ToBlob, buildMultimodalMessages, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, detectVisionMessageFormat, ensureCoreAiTasksRegistered, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, filterChatModels, filterSttModels, filterVisionModels, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, listAiTasks, listOpenAiCompatibleModels, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, toVisionApiErrorMessage, transcribeAudio, transcribeAudios } from '../index.js';
|
|
3
|
+
import '../../../types-CbTsi9CZ.js';
|
|
@@ -0,0 +1,217 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunkXPY45Y75_js = require('../../../chunk-XPY45Y75.js');
|
|
4
|
+
require('../../../chunk-NSBPE2FW.js');
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
Object.defineProperty(exports, "CORE_CONNECTIVITY_TEST_TASK_ID", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkXPY45Y75_js.CORE_CONNECTIVITY_TEST_TASK_ID; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "CORE_LLM_COMPLETION_TASK_ID", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkXPY45Y75_js.CORE_LLM_COMPLETION_TASK_ID; }
|
|
15
|
+
});
|
|
16
|
+
Object.defineProperty(exports, "CORE_STRUCTURED_MULTIMODAL_TASK_ID", {
|
|
17
|
+
enumerable: true,
|
|
18
|
+
get: function () { return chunkXPY45Y75_js.CORE_STRUCTURED_MULTIMODAL_TASK_ID; }
|
|
19
|
+
});
|
|
20
|
+
Object.defineProperty(exports, "DEFAULT_OPENAI_BASE_URL", {
|
|
21
|
+
enumerable: true,
|
|
22
|
+
get: function () { return chunkXPY45Y75_js.DEFAULT_OPENAI_BASE_URL; }
|
|
23
|
+
});
|
|
24
|
+
Object.defineProperty(exports, "DEFAULT_TEXT_MODEL", {
|
|
25
|
+
enumerable: true,
|
|
26
|
+
get: function () { return chunkXPY45Y75_js.DEFAULT_TEXT_MODEL; }
|
|
27
|
+
});
|
|
28
|
+
Object.defineProperty(exports, "appendTranscriptionsToPrompt", {
|
|
29
|
+
enumerable: true,
|
|
30
|
+
get: function () { return chunkXPY45Y75_js.appendTranscriptionsToPrompt; }
|
|
31
|
+
});
|
|
32
|
+
Object.defineProperty(exports, "assertMultimodalCapableModel", {
|
|
33
|
+
enumerable: true,
|
|
34
|
+
get: function () { return chunkXPY45Y75_js.assertMultimodalCapableModel; }
|
|
35
|
+
});
|
|
36
|
+
Object.defineProperty(exports, "assertValidAudioInput", {
|
|
37
|
+
enumerable: true,
|
|
38
|
+
get: function () { return chunkXPY45Y75_js.assertValidAudioInput; }
|
|
39
|
+
});
|
|
40
|
+
Object.defineProperty(exports, "assertValidImageInput", {
|
|
41
|
+
enumerable: true,
|
|
42
|
+
get: function () { return chunkXPY45Y75_js.assertValidImageInput; }
|
|
43
|
+
});
|
|
44
|
+
Object.defineProperty(exports, "assertValidMultimodalMedia", {
|
|
45
|
+
enumerable: true,
|
|
46
|
+
get: function () { return chunkXPY45Y75_js.assertValidMultimodalMedia; }
|
|
47
|
+
});
|
|
48
|
+
Object.defineProperty(exports, "assertVisionCapableModel", {
|
|
49
|
+
enumerable: true,
|
|
50
|
+
get: function () { return chunkXPY45Y75_js.assertVisionCapableModel; }
|
|
51
|
+
});
|
|
52
|
+
Object.defineProperty(exports, "base64ToBlob", {
|
|
53
|
+
enumerable: true,
|
|
54
|
+
get: function () { return chunkXPY45Y75_js.base64ToBlob; }
|
|
55
|
+
});
|
|
56
|
+
Object.defineProperty(exports, "buildMultimodalMessages", {
|
|
57
|
+
enumerable: true,
|
|
58
|
+
get: function () { return chunkXPY45Y75_js.buildMultimodalMessages; }
|
|
59
|
+
});
|
|
60
|
+
Object.defineProperty(exports, "callChat", {
|
|
61
|
+
enumerable: true,
|
|
62
|
+
get: function () { return chunkXPY45Y75_js.callChat; }
|
|
63
|
+
});
|
|
64
|
+
Object.defineProperty(exports, "callCompletion", {
|
|
65
|
+
enumerable: true,
|
|
66
|
+
get: function () { return chunkXPY45Y75_js.callCompletion; }
|
|
67
|
+
});
|
|
68
|
+
Object.defineProperty(exports, "callMultimodalChat", {
|
|
69
|
+
enumerable: true,
|
|
70
|
+
get: function () { return chunkXPY45Y75_js.callMultimodalChat; }
|
|
71
|
+
});
|
|
72
|
+
Object.defineProperty(exports, "clearAiTasksForTest", {
|
|
73
|
+
enumerable: true,
|
|
74
|
+
get: function () { return chunkXPY45Y75_js.clearAiTasksForTest; }
|
|
75
|
+
});
|
|
76
|
+
Object.defineProperty(exports, "coreConnectivityTestTask", {
|
|
77
|
+
enumerable: true,
|
|
78
|
+
get: function () { return chunkXPY45Y75_js.coreConnectivityTestTask; }
|
|
79
|
+
});
|
|
80
|
+
Object.defineProperty(exports, "coreLlmCompletionTask", {
|
|
81
|
+
enumerable: true,
|
|
82
|
+
get: function () { return chunkXPY45Y75_js.coreLlmCompletionTask; }
|
|
83
|
+
});
|
|
84
|
+
Object.defineProperty(exports, "coreStructuredMultimodalTask", {
|
|
85
|
+
enumerable: true,
|
|
86
|
+
get: function () { return chunkXPY45Y75_js.coreStructuredMultimodalTask; }
|
|
87
|
+
});
|
|
88
|
+
Object.defineProperty(exports, "detectVisionMessageFormat", {
|
|
89
|
+
enumerable: true,
|
|
90
|
+
get: function () { return chunkXPY45Y75_js.detectVisionMessageFormat; }
|
|
91
|
+
});
|
|
92
|
+
Object.defineProperty(exports, "ensureCoreAiTasksRegistered", {
|
|
93
|
+
enumerable: true,
|
|
94
|
+
get: function () { return chunkXPY45Y75_js.ensureCoreAiTasksRegistered; }
|
|
95
|
+
});
|
|
96
|
+
Object.defineProperty(exports, "extractJsonObject", {
|
|
97
|
+
enumerable: true,
|
|
98
|
+
get: function () { return chunkXPY45Y75_js.extractJsonObject; }
|
|
99
|
+
});
|
|
100
|
+
Object.defineProperty(exports, "fileToAiAudioInput", {
|
|
101
|
+
enumerable: true,
|
|
102
|
+
get: function () { return chunkXPY45Y75_js.fileToAiAudioInput; }
|
|
103
|
+
});
|
|
104
|
+
Object.defineProperty(exports, "fileToAiImageInput", {
|
|
105
|
+
enumerable: true,
|
|
106
|
+
get: function () { return chunkXPY45Y75_js.fileToAiImageInput; }
|
|
107
|
+
});
|
|
108
|
+
Object.defineProperty(exports, "filterChatModels", {
|
|
109
|
+
enumerable: true,
|
|
110
|
+
get: function () { return chunkXPY45Y75_js.filterChatModels; }
|
|
111
|
+
});
|
|
112
|
+
Object.defineProperty(exports, "filterSttModels", {
|
|
113
|
+
enumerable: true,
|
|
114
|
+
get: function () { return chunkXPY45Y75_js.filterSttModels; }
|
|
115
|
+
});
|
|
116
|
+
Object.defineProperty(exports, "filterVisionModels", {
|
|
117
|
+
enumerable: true,
|
|
118
|
+
get: function () { return chunkXPY45Y75_js.filterVisionModels; }
|
|
119
|
+
});
|
|
120
|
+
Object.defineProperty(exports, "getAiTask", {
|
|
121
|
+
enumerable: true,
|
|
122
|
+
get: function () { return chunkXPY45Y75_js.getAiTask; }
|
|
123
|
+
});
|
|
124
|
+
Object.defineProperty(exports, "isAudioInputError", {
|
|
125
|
+
enumerable: true,
|
|
126
|
+
get: function () { return chunkXPY45Y75_js.isAudioInputError; }
|
|
127
|
+
});
|
|
128
|
+
Object.defineProperty(exports, "isImageUrlVariantError", {
|
|
129
|
+
enumerable: true,
|
|
130
|
+
get: function () { return chunkXPY45Y75_js.isImageUrlVariantError; }
|
|
131
|
+
});
|
|
132
|
+
Object.defineProperty(exports, "isKnownTextOnlyModel", {
|
|
133
|
+
enumerable: true,
|
|
134
|
+
get: function () { return chunkXPY45Y75_js.isKnownTextOnlyModel; }
|
|
135
|
+
});
|
|
136
|
+
Object.defineProperty(exports, "isLikelyNativeAudioChatModel", {
|
|
137
|
+
enumerable: true,
|
|
138
|
+
get: function () { return chunkXPY45Y75_js.isLikelyNativeAudioChatModel; }
|
|
139
|
+
});
|
|
140
|
+
Object.defineProperty(exports, "isLikelySttModel", {
|
|
141
|
+
enumerable: true,
|
|
142
|
+
get: function () { return chunkXPY45Y75_js.isLikelySttModel; }
|
|
143
|
+
});
|
|
144
|
+
Object.defineProperty(exports, "isLikelyVisionModel", {
|
|
145
|
+
enumerable: true,
|
|
146
|
+
get: function () { return chunkXPY45Y75_js.isLikelyVisionModel; }
|
|
147
|
+
});
|
|
148
|
+
Object.defineProperty(exports, "listAiTasks", {
|
|
149
|
+
enumerable: true,
|
|
150
|
+
get: function () { return chunkXPY45Y75_js.listAiTasks; }
|
|
151
|
+
});
|
|
152
|
+
Object.defineProperty(exports, "listOpenAiCompatibleModels", {
|
|
153
|
+
enumerable: true,
|
|
154
|
+
get: function () { return chunkXPY45Y75_js.listOpenAiCompatibleModels; }
|
|
155
|
+
});
|
|
156
|
+
Object.defineProperty(exports, "mimeToAudioFormat", {
|
|
157
|
+
enumerable: true,
|
|
158
|
+
get: function () { return chunkXPY45Y75_js.mimeToAudioFormat; }
|
|
159
|
+
});
|
|
160
|
+
Object.defineProperty(exports, "pickDefaultSttModel", {
|
|
161
|
+
enumerable: true,
|
|
162
|
+
get: function () { return chunkXPY45Y75_js.pickDefaultSttModel; }
|
|
163
|
+
});
|
|
164
|
+
Object.defineProperty(exports, "pickDefaultVisionModel", {
|
|
165
|
+
enumerable: true,
|
|
166
|
+
get: function () { return chunkXPY45Y75_js.pickDefaultVisionModel; }
|
|
167
|
+
});
|
|
168
|
+
Object.defineProperty(exports, "registerAiTask", {
|
|
169
|
+
enumerable: true,
|
|
170
|
+
get: function () { return chunkXPY45Y75_js.registerAiTask; }
|
|
171
|
+
});
|
|
172
|
+
Object.defineProperty(exports, "registerCoreAiTasks", {
|
|
173
|
+
enumerable: true,
|
|
174
|
+
get: function () { return chunkXPY45Y75_js.registerCoreAiTasks; }
|
|
175
|
+
});
|
|
176
|
+
Object.defineProperty(exports, "requestJson", {
|
|
177
|
+
enumerable: true,
|
|
178
|
+
get: function () { return chunkXPY45Y75_js.requestJson; }
|
|
179
|
+
});
|
|
180
|
+
Object.defineProperty(exports, "requireAiConnectionConfig", {
|
|
181
|
+
enumerable: true,
|
|
182
|
+
get: function () { return chunkXPY45Y75_js.requireAiConnectionConfig; }
|
|
183
|
+
});
|
|
184
|
+
Object.defineProperty(exports, "resetCoreAiTasksForTest", {
|
|
185
|
+
enumerable: true,
|
|
186
|
+
get: function () { return chunkXPY45Y75_js.resetCoreAiTasksForTest; }
|
|
187
|
+
});
|
|
188
|
+
Object.defineProperty(exports, "resolveAiConnectionConfig", {
|
|
189
|
+
enumerable: true,
|
|
190
|
+
get: function () { return chunkXPY45Y75_js.resolveAiConnectionConfig; }
|
|
191
|
+
});
|
|
192
|
+
Object.defineProperty(exports, "resolveAudioHandling", {
|
|
193
|
+
enumerable: true,
|
|
194
|
+
get: function () { return chunkXPY45Y75_js.resolveAudioHandling; }
|
|
195
|
+
});
|
|
196
|
+
Object.defineProperty(exports, "runAiTask", {
|
|
197
|
+
enumerable: true,
|
|
198
|
+
get: function () { return chunkXPY45Y75_js.runAiTask; }
|
|
199
|
+
});
|
|
200
|
+
Object.defineProperty(exports, "splitMediaByKind", {
|
|
201
|
+
enumerable: true,
|
|
202
|
+
get: function () { return chunkXPY45Y75_js.splitMediaByKind; }
|
|
203
|
+
});
|
|
204
|
+
Object.defineProperty(exports, "toVisionApiErrorMessage", {
|
|
205
|
+
enumerable: true,
|
|
206
|
+
get: function () { return chunkXPY45Y75_js.toVisionApiErrorMessage; }
|
|
207
|
+
});
|
|
208
|
+
Object.defineProperty(exports, "transcribeAudio", {
|
|
209
|
+
enumerable: true,
|
|
210
|
+
get: function () { return chunkXPY45Y75_js.transcribeAudio; }
|
|
211
|
+
});
|
|
212
|
+
Object.defineProperty(exports, "transcribeAudios", {
|
|
213
|
+
enumerable: true,
|
|
214
|
+
get: function () { return chunkXPY45Y75_js.transcribeAudios; }
|
|
215
|
+
});
|
|
216
|
+
//# sourceMappingURL=index.js.map
|
|
217
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export { CORE_CONNECTIVITY_TEST_TASK_ID, CORE_LLM_COMPLETION_TASK_ID, CORE_STRUCTURED_MULTIMODAL_TASK_ID, DEFAULT_OPENAI_BASE_URL, DEFAULT_TEXT_MODEL, appendTranscriptionsToPrompt, assertMultimodalCapableModel, assertValidAudioInput, assertValidImageInput, assertValidMultimodalMedia, assertVisionCapableModel, base64ToBlob, buildMultimodalMessages, callChat, callCompletion, callMultimodalChat, clearAiTasksForTest, coreConnectivityTestTask, coreLlmCompletionTask, coreStructuredMultimodalTask, detectVisionMessageFormat, ensureCoreAiTasksRegistered, extractJsonObject, fileToAiAudioInput, fileToAiImageInput, filterChatModels, filterSttModels, filterVisionModels, getAiTask, isAudioInputError, isImageUrlVariantError, isKnownTextOnlyModel, isLikelyNativeAudioChatModel, isLikelySttModel, isLikelyVisionModel, listAiTasks, listOpenAiCompatibleModels, mimeToAudioFormat, pickDefaultSttModel, pickDefaultVisionModel, registerAiTask, registerCoreAiTasks, requestJson, requireAiConnectionConfig, resetCoreAiTasksForTest, resolveAiConnectionConfig, resolveAudioHandling, runAiTask, splitMediaByKind, toVisionApiErrorMessage, transcribeAudio, transcribeAudios } from '../../../chunk-ZJLS5JU5.mjs';
|
|
2
|
+
import '../../../chunk-MAI35PU6.mjs';
|
|
3
|
+
//# sourceMappingURL=index.mjs.map
|
|
4
|
+
//# sourceMappingURL=index.mjs.map
|