@eyepop.ai/eyepop 3.14.4 → 3.14.6
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 +17 -2
- package/dist/eyepop.index.d.ts +17 -2
- package/dist/eyepop.index.js +22 -6
- package/dist/eyepop.index.js.map +1 -1
- package/dist/eyepop.index.mjs +21 -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,10 @@ 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 || {});
|
|
10996
11000
|
var VlmAbilityStatus = /* @__PURE__ */ ((VlmAbilityStatus2) => {
|
|
10997
11001
|
VlmAbilityStatus2["in_progress"] = "in_progress";
|
|
10998
11002
|
VlmAbilityStatus2["draft"] = "draft";
|
|
@@ -11903,12 +11907,22 @@ var DataEndpoint = class extends Endpoint {
|
|
|
11903
11907
|
headers: { "Content-Type": "application/json" }
|
|
11904
11908
|
});
|
|
11905
11909
|
}
|
|
11906
|
-
async refineVlmAbility(vlm_ability_uuid, auto_prompt) {
|
|
11907
|
-
|
|
11908
|
-
|
|
11909
|
-
|
|
11910
|
-
|
|
11911
|
-
|
|
11910
|
+
async refineVlmAbility(vlm_ability_uuid, auto_prompt, auto_task) {
|
|
11911
|
+
if (auto_prompt !== void 0) {
|
|
11912
|
+
return this.request(`/vlm_abilities/${vlm_ability_uuid}/refine`, {
|
|
11913
|
+
method: "POST",
|
|
11914
|
+
body: JSON.stringify(auto_prompt, omit_nulls),
|
|
11915
|
+
headers: { "Content-Type": "application/json" }
|
|
11916
|
+
});
|
|
11917
|
+
} else if (auto_task !== void 0) {
|
|
11918
|
+
return this.request(`/vlm_abilities/${vlm_ability_uuid}/refine_task`, {
|
|
11919
|
+
method: "POST",
|
|
11920
|
+
body: JSON.stringify(auto_task, omit_nulls),
|
|
11921
|
+
headers: { "Content-Type": "application/json" }
|
|
11922
|
+
});
|
|
11923
|
+
} else {
|
|
11924
|
+
return Promise.reject("refine vlm ability requires auto_prompt or auto_config parameter");
|
|
11925
|
+
}
|
|
11912
11926
|
}
|
|
11913
11927
|
async cloneVlmAbility(vlm_ability_uuid, account_uuid, name, default_alias_name) {
|
|
11914
11928
|
const params = new URLSearchParams();
|
|
@@ -12213,6 +12227,7 @@ export {
|
|
|
12213
12227
|
Semaphore,
|
|
12214
12228
|
SessionStatus,
|
|
12215
12229
|
Stream,
|
|
12230
|
+
TaskType,
|
|
12216
12231
|
TranscodeMode,
|
|
12217
12232
|
TransientPopId,
|
|
12218
12233
|
UploadJob,
|