@eyepop.ai/eyepop 3.14.4 → 3.14.7
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/eyepop.index.d.mts +22 -2
- package/dist/eyepop.index.d.ts +22 -2
- package/dist/eyepop.index.js +29 -6
- package/dist/eyepop.index.js.map +1 -1
- package/dist/eyepop.index.mjs +27 -6
- package/dist/eyepop.index.mjs.map +1 -1
- package/dist/eyepop.min.js +1 -1
- package/package.json +1 -1
package/dist/eyepop.index.mjs
CHANGED
|
@@ -10993,6 +10993,15 @@ var EvaluationStatus = /* @__PURE__ */ ((EvaluationStatus2) => {
|
|
|
10993
10993
|
EvaluationStatus2["failed"] = "failed";
|
|
10994
10994
|
return EvaluationStatus2;
|
|
10995
10995
|
})(EvaluationStatus || {});
|
|
10996
|
+
var TaskType = /* @__PURE__ */ ((TaskType2) => {
|
|
10997
|
+
TaskType2["classification"] = "classification";
|
|
10998
|
+
return TaskType2;
|
|
10999
|
+
})(TaskType || {});
|
|
11000
|
+
var TaskMode = /* @__PURE__ */ ((TaskMode2) => {
|
|
11001
|
+
TaskMode2["image"] = "image";
|
|
11002
|
+
TaskMode2["video"] = "video";
|
|
11003
|
+
return TaskMode2;
|
|
11004
|
+
})(TaskMode || {});
|
|
10996
11005
|
var VlmAbilityStatus = /* @__PURE__ */ ((VlmAbilityStatus2) => {
|
|
10997
11006
|
VlmAbilityStatus2["in_progress"] = "in_progress";
|
|
10998
11007
|
VlmAbilityStatus2["draft"] = "draft";
|
|
@@ -11903,12 +11912,22 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11903
11912
|
headers: { "Content-Type": "application/json" }
|
|
11904
11913
|
});
|
|
11905
11914
|
}
|
|
11906
|
-
async refineVlmAbility(vlm_ability_uuid, auto_prompt) {
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
|
|
11915
|
+
async refineVlmAbility(vlm_ability_uuid, auto_prompt, auto_task) {
|
|
11916
|
+
if (auto_prompt !== void 0) {
|
|
11917
|
+
return this.request(`/vlm_abilities/${vlm_ability_uuid}/refine`, {
|
|
11918
|
+
method: "POST",
|
|
11919
|
+
body: JSON.stringify(auto_prompt, omit_nulls),
|
|
11920
|
+
headers: { "Content-Type": "application/json" }
|
|
11921
|
+
});
|
|
11922
|
+
} else if (auto_task !== void 0) {
|
|
11923
|
+
return this.request(`/vlm_abilities/${vlm_ability_uuid}/refine_task`, {
|
|
11924
|
+
method: "POST",
|
|
11925
|
+
body: JSON.stringify(auto_task, omit_nulls),
|
|
11926
|
+
headers: { "Content-Type": "application/json" }
|
|
11927
|
+
});
|
|
11928
|
+
} else {
|
|
11929
|
+
return Promise.reject("refine vlm ability requires auto_prompt or auto_config parameter");
|
|
11930
|
+
}
|
|
11912
11931
|
}
|
|
11913
11932
|
async cloneVlmAbility(vlm_ability_uuid, account_uuid, name, default_alias_name) {
|
|
11914
11933
|
const params = new URLSearchParams();
|
|
@@ -12213,6 +12232,8 @@ export {
|
|
|
12213
12232
|
Semaphore,
|
|
12214
12233
|
SessionStatus,
|
|
12215
12234
|
Stream,
|
|
12235
|
+
TaskMode,
|
|
12236
|
+
TaskType,
|
|
12216
12237
|
TranscodeMode,
|
|
12217
12238
|
TransientPopId,
|
|
12218
12239
|
UploadJob,
|