@workglow/ai 0.0.107 → 0.0.109

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/browser.js CHANGED
@@ -3656,9 +3656,63 @@ var imageToText = (input, config) => {
3656
3656
  };
3657
3657
  Workflow23.prototype.imageToText = CreateWorkflow23(ImageToTextTask);
3658
3658
 
3659
- // src/task/ObjectDetectionTask.ts
3659
+ // src/task/ModelInfoTask.ts
3660
3660
  import { CreateWorkflow as CreateWorkflow24, Workflow as Workflow24 } from "@workglow/task-graph";
3661
- var modelSchema17 = TypeModel("model:ObjectDetectionTask");
3661
+ var modelSchema17 = TypeModel("model");
3662
+ var ModelInfoInputSchema = {
3663
+ type: "object",
3664
+ properties: {
3665
+ model: modelSchema17
3666
+ },
3667
+ required: ["model"],
3668
+ additionalProperties: false
3669
+ };
3670
+ var ModelInfoOutputSchema = {
3671
+ type: "object",
3672
+ properties: {
3673
+ model: modelSchema17,
3674
+ is_local: { type: "boolean" },
3675
+ is_remote: { type: "boolean" },
3676
+ supports_browser: { type: "boolean" },
3677
+ supports_node: { type: "boolean" },
3678
+ is_cached: { type: "boolean" },
3679
+ is_loaded: { type: "boolean" },
3680
+ file_sizes: {}
3681
+ },
3682
+ required: [
3683
+ "model",
3684
+ "is_local",
3685
+ "is_remote",
3686
+ "supports_browser",
3687
+ "supports_node",
3688
+ "is_cached",
3689
+ "is_loaded",
3690
+ "file_sizes"
3691
+ ],
3692
+ additionalProperties: false
3693
+ };
3694
+
3695
+ class ModelInfoTask extends AiTask {
3696
+ static type = "ModelInfoTask";
3697
+ static category = "Hidden";
3698
+ static title = "Model Info";
3699
+ static description = "Returns runtime information about a model including locality, cache status, and file sizes";
3700
+ static inputSchema() {
3701
+ return ModelInfoInputSchema;
3702
+ }
3703
+ static outputSchema() {
3704
+ return ModelInfoOutputSchema;
3705
+ }
3706
+ static cacheable = false;
3707
+ }
3708
+ var modelInfo = (input, config) => {
3709
+ return new ModelInfoTask({}, config).run(input);
3710
+ };
3711
+ Workflow24.prototype.modelInfo = CreateWorkflow24(ModelInfoTask);
3712
+
3713
+ // src/task/ObjectDetectionTask.ts
3714
+ import { CreateWorkflow as CreateWorkflow25, Workflow as Workflow25 } from "@workglow/task-graph";
3715
+ var modelSchema18 = TypeModel("model:ObjectDetectionTask");
3662
3716
  var detectionSchema = {
3663
3717
  type: "object",
3664
3718
  properties: {
@@ -3683,7 +3737,7 @@ var ObjectDetectionInputSchema = {
3683
3737
  type: "object",
3684
3738
  properties: {
3685
3739
  image: TypeImageInput,
3686
- model: modelSchema17,
3740
+ model: modelSchema18,
3687
3741
  labels: {
3688
3742
  type: "array",
3689
3743
  items: {
@@ -3737,11 +3791,11 @@ class ObjectDetectionTask extends AiVisionTask {
3737
3791
  var objectDetection = (input, config) => {
3738
3792
  return new ObjectDetectionTask({}, config).run(input);
3739
3793
  };
3740
- Workflow24.prototype.objectDetection = CreateWorkflow24(ObjectDetectionTask);
3794
+ Workflow25.prototype.objectDetection = CreateWorkflow25(ObjectDetectionTask);
3741
3795
 
3742
3796
  // src/task/PoseLandmarkerTask.ts
3743
- import { CreateWorkflow as CreateWorkflow25, Workflow as Workflow25 } from "@workglow/task-graph";
3744
- var modelSchema18 = TypeModel("model:PoseLandmarkerTask");
3797
+ import { CreateWorkflow as CreateWorkflow26, Workflow as Workflow26 } from "@workglow/task-graph";
3798
+ var modelSchema19 = TypeModel("model:PoseLandmarkerTask");
3745
3799
  var TypePoseLandmark = {
3746
3800
  type: "object",
3747
3801
  properties: {
@@ -3820,7 +3874,7 @@ var PoseLandmarkerInputSchema = {
3820
3874
  type: "object",
3821
3875
  properties: {
3822
3876
  image: TypeImageInput,
3823
- model: modelSchema18,
3877
+ model: modelSchema19,
3824
3878
  numPoses: {
3825
3879
  type: "number",
3826
3880
  minimum: 1,
@@ -3899,13 +3953,13 @@ class PoseLandmarkerTask extends AiVisionTask {
3899
3953
  var poseLandmarker = (input, config) => {
3900
3954
  return new PoseLandmarkerTask({}, config).run(input);
3901
3955
  };
3902
- Workflow25.prototype.poseLandmarker = CreateWorkflow25(PoseLandmarkerTask);
3956
+ Workflow26.prototype.poseLandmarker = CreateWorkflow26(PoseLandmarkerTask);
3903
3957
 
3904
3958
  // src/task/QueryExpanderTask.ts
3905
3959
  import {
3906
- CreateWorkflow as CreateWorkflow26,
3960
+ CreateWorkflow as CreateWorkflow27,
3907
3961
  Task as Task10,
3908
- Workflow as Workflow26
3962
+ Workflow as Workflow27
3909
3963
  } from "@workglow/task-graph";
3910
3964
  var QueryExpansionMethod = {
3911
3965
  MULTI_QUERY: "multi-query",
@@ -4116,18 +4170,18 @@ class QueryExpanderTask extends Task10 {
4116
4170
  var queryExpander = (input, config) => {
4117
4171
  return new QueryExpanderTask({}, config).run(input);
4118
4172
  };
4119
- Workflow26.prototype.queryExpander = CreateWorkflow26(QueryExpanderTask);
4173
+ Workflow27.prototype.queryExpander = CreateWorkflow27(QueryExpanderTask);
4120
4174
 
4121
4175
  // src/task/RerankerTask.ts
4122
4176
  import {
4123
- CreateWorkflow as CreateWorkflow28,
4177
+ CreateWorkflow as CreateWorkflow29,
4124
4178
  Task as Task11,
4125
- Workflow as Workflow28
4179
+ Workflow as Workflow29
4126
4180
  } from "@workglow/task-graph";
4127
4181
 
4128
4182
  // src/task/TextClassificationTask.ts
4129
- import { CreateWorkflow as CreateWorkflow27, Workflow as Workflow27 } from "@workglow/task-graph";
4130
- var modelSchema19 = TypeModel("model:TextClassificationTask");
4183
+ import { CreateWorkflow as CreateWorkflow28, Workflow as Workflow28 } from "@workglow/task-graph";
4184
+ var modelSchema20 = TypeModel("model:TextClassificationTask");
4131
4185
  var TextClassificationInputSchema = {
4132
4186
  type: "object",
4133
4187
  properties: {
@@ -4154,7 +4208,7 @@ var TextClassificationInputSchema = {
4154
4208
  description: "The maximum number of categories to return",
4155
4209
  "x-ui-group": "Configuration"
4156
4210
  },
4157
- model: modelSchema19
4211
+ model: modelSchema20
4158
4212
  },
4159
4213
  required: ["text", "model"],
4160
4214
  additionalProperties: false
@@ -4204,7 +4258,7 @@ class TextClassificationTask extends AiTask {
4204
4258
  var textClassification = (input, config) => {
4205
4259
  return new TextClassificationTask({}, config).run(input);
4206
4260
  };
4207
- Workflow27.prototype.textClassification = CreateWorkflow27(TextClassificationTask);
4261
+ Workflow28.prototype.textClassification = CreateWorkflow28(TextClassificationTask);
4208
4262
 
4209
4263
  // src/task/RerankerTask.ts
4210
4264
  var inputSchema11 = {
@@ -4428,14 +4482,14 @@ class RerankerTask extends Task11 {
4428
4482
  var reranker = (input, config) => {
4429
4483
  return new RerankerTask({}, config).run(input);
4430
4484
  };
4431
- Workflow28.prototype.reranker = CreateWorkflow28(RerankerTask);
4485
+ Workflow29.prototype.reranker = CreateWorkflow29(RerankerTask);
4432
4486
 
4433
4487
  // src/task/StructuralParserTask.ts
4434
4488
  import { StructuralParser } from "@workglow/dataset";
4435
4489
  import {
4436
- CreateWorkflow as CreateWorkflow29,
4490
+ CreateWorkflow as CreateWorkflow30,
4437
4491
  Task as Task12,
4438
- Workflow as Workflow29
4492
+ Workflow as Workflow30
4439
4493
  } from "@workglow/task-graph";
4440
4494
  import { uuid4 as uuid42 } from "@workglow/util";
4441
4495
  var inputSchema12 = {
@@ -4537,15 +4591,15 @@ class StructuralParserTask extends Task12 {
4537
4591
  var structuralParser = (input, config) => {
4538
4592
  return new StructuralParserTask({}, config).run(input);
4539
4593
  };
4540
- Workflow29.prototype.structuralParser = CreateWorkflow29(StructuralParserTask);
4594
+ Workflow30.prototype.structuralParser = CreateWorkflow30(StructuralParserTask);
4541
4595
 
4542
4596
  // src/task/StructuredGenerationTask.ts
4543
- import { CreateWorkflow as CreateWorkflow30, Workflow as Workflow30 } from "@workglow/task-graph";
4544
- var modelSchema20 = TypeModel("model:StructuredGenerationTask");
4597
+ import { CreateWorkflow as CreateWorkflow31, Workflow as Workflow31 } from "@workglow/task-graph";
4598
+ var modelSchema21 = TypeModel("model:StructuredGenerationTask");
4545
4599
  var StructuredGenerationInputSchema = {
4546
4600
  type: "object",
4547
4601
  properties: {
4548
- model: modelSchema20,
4602
+ model: modelSchema21,
4549
4603
  prompt: {
4550
4604
  type: "string",
4551
4605
  title: "Prompt",
@@ -4608,13 +4662,13 @@ class StructuredGenerationTask extends StreamingAiTask {
4608
4662
  var structuredGeneration = (input, config) => {
4609
4663
  return new StructuredGenerationTask({}, config).run(input);
4610
4664
  };
4611
- Workflow30.prototype.structuredGeneration = CreateWorkflow30(StructuredGenerationTask);
4665
+ Workflow31.prototype.structuredGeneration = CreateWorkflow31(StructuredGenerationTask);
4612
4666
 
4613
4667
  // src/task/TextChunkerTask.ts
4614
4668
  import {
4615
- CreateWorkflow as CreateWorkflow31,
4669
+ CreateWorkflow as CreateWorkflow32,
4616
4670
  Task as Task13,
4617
- Workflow as Workflow31
4671
+ Workflow as Workflow32
4618
4672
  } from "@workglow/task-graph";
4619
4673
  var ChunkingStrategy = {
4620
4674
  FIXED: "fixed",
@@ -4864,11 +4918,11 @@ class TextChunkerTask extends Task13 {
4864
4918
  var textChunker = (input, config) => {
4865
4919
  return new TextChunkerTask({}, config).run(input);
4866
4920
  };
4867
- Workflow31.prototype.textChunker = CreateWorkflow31(TextChunkerTask);
4921
+ Workflow32.prototype.textChunker = CreateWorkflow32(TextChunkerTask);
4868
4922
 
4869
4923
  // src/task/TextFillMaskTask.ts
4870
- import { CreateWorkflow as CreateWorkflow32, Workflow as Workflow32 } from "@workglow/task-graph";
4871
- var modelSchema21 = TypeModel("model:TextFillMaskTask");
4924
+ import { CreateWorkflow as CreateWorkflow33, Workflow as Workflow33 } from "@workglow/task-graph";
4925
+ var modelSchema22 = TypeModel("model:TextFillMaskTask");
4872
4926
  var TextFillMaskInputSchema = {
4873
4927
  type: "object",
4874
4928
  properties: {
@@ -4877,7 +4931,7 @@ var TextFillMaskInputSchema = {
4877
4931
  title: "Text",
4878
4932
  description: "The text with a mask token to fill"
4879
4933
  },
4880
- model: modelSchema21
4934
+ model: modelSchema22
4881
4935
  },
4882
4936
  required: ["text", "model"],
4883
4937
  additionalProperties: false
@@ -4932,21 +4986,21 @@ class TextFillMaskTask extends AiTask {
4932
4986
  var textFillMask = (input, config) => {
4933
4987
  return new TextFillMaskTask({}, config).run(input);
4934
4988
  };
4935
- Workflow32.prototype.textFillMask = CreateWorkflow32(TextFillMaskTask);
4989
+ Workflow33.prototype.textFillMask = CreateWorkflow33(TextFillMaskTask);
4936
4990
 
4937
4991
  // src/task/TextGenerationTask.ts
4938
- import { CreateWorkflow as CreateWorkflow33, Workflow as Workflow33 } from "@workglow/task-graph";
4992
+ import { CreateWorkflow as CreateWorkflow34, Workflow as Workflow34 } from "@workglow/task-graph";
4939
4993
  var generatedTextSchema2 = {
4940
4994
  type: "string",
4941
4995
  title: "Text",
4942
4996
  description: "The generated text",
4943
4997
  "x-stream": "append"
4944
4998
  };
4945
- var modelSchema22 = TypeModel("model:TextGenerationTask");
4999
+ var modelSchema23 = TypeModel("model:TextGenerationTask");
4946
5000
  var TextGenerationInputSchema = {
4947
5001
  type: "object",
4948
5002
  properties: {
4949
- model: modelSchema22,
5003
+ model: modelSchema23,
4950
5004
  prompt: {
4951
5005
  type: "string",
4952
5006
  title: "Prompt",
@@ -5020,11 +5074,11 @@ class TextGenerationTask extends StreamingAiTask {
5020
5074
  var textGeneration = (input, config) => {
5021
5075
  return new TextGenerationTask({}, config).run(input);
5022
5076
  };
5023
- Workflow33.prototype.textGeneration = CreateWorkflow33(TextGenerationTask);
5077
+ Workflow34.prototype.textGeneration = CreateWorkflow34(TextGenerationTask);
5024
5078
 
5025
5079
  // src/task/TextLanguageDetectionTask.ts
5026
- import { CreateWorkflow as CreateWorkflow34, Workflow as Workflow34 } from "@workglow/task-graph";
5027
- var modelSchema23 = TypeModel("model:TextLanguageDetectionTask");
5080
+ import { CreateWorkflow as CreateWorkflow35, Workflow as Workflow35 } from "@workglow/task-graph";
5081
+ var modelSchema24 = TypeModel("model:TextLanguageDetectionTask");
5028
5082
  var TextLanguageDetectionInputSchema = {
5029
5083
  type: "object",
5030
5084
  properties: {
@@ -5041,7 +5095,7 @@ var TextLanguageDetectionInputSchema = {
5041
5095
  title: "Max Languages",
5042
5096
  description: "The maximum number of languages to return"
5043
5097
  },
5044
- model: modelSchema23
5098
+ model: modelSchema24
5045
5099
  },
5046
5100
  required: ["text", "model"],
5047
5101
  additionalProperties: false
@@ -5091,10 +5145,10 @@ class TextLanguageDetectionTask extends AiTask {
5091
5145
  var textLanguageDetection = (input, config) => {
5092
5146
  return new TextLanguageDetectionTask({}, config).run(input);
5093
5147
  };
5094
- Workflow34.prototype.textLanguageDetection = CreateWorkflow34(TextLanguageDetectionTask);
5148
+ Workflow35.prototype.textLanguageDetection = CreateWorkflow35(TextLanguageDetectionTask);
5095
5149
 
5096
5150
  // src/task/TextQuestionAnswerTask.ts
5097
- import { CreateWorkflow as CreateWorkflow35, Workflow as Workflow35 } from "@workglow/task-graph";
5151
+ import { CreateWorkflow as CreateWorkflow36, Workflow as Workflow36 } from "@workglow/task-graph";
5098
5152
  var contextSchema = {
5099
5153
  type: "string",
5100
5154
  title: "Context",
@@ -5111,13 +5165,13 @@ var textSchema = {
5111
5165
  description: "The generated text",
5112
5166
  "x-stream": "append"
5113
5167
  };
5114
- var modelSchema24 = TypeModel("model:TextQuestionAnswerTask");
5168
+ var modelSchema25 = TypeModel("model:TextQuestionAnswerTask");
5115
5169
  var TextQuestionAnswerInputSchema = {
5116
5170
  type: "object",
5117
5171
  properties: {
5118
5172
  context: contextSchema,
5119
5173
  question: questionSchema,
5120
- model: modelSchema24
5174
+ model: modelSchema25
5121
5175
  },
5122
5176
  required: ["context", "question", "model"],
5123
5177
  additionalProperties: false
@@ -5146,11 +5200,11 @@ class TextQuestionAnswerTask extends StreamingAiTask {
5146
5200
  var textQuestionAnswer = (input, config) => {
5147
5201
  return new TextQuestionAnswerTask({}, config).run(input);
5148
5202
  };
5149
- Workflow35.prototype.textQuestionAnswer = CreateWorkflow35(TextQuestionAnswerTask);
5203
+ Workflow36.prototype.textQuestionAnswer = CreateWorkflow36(TextQuestionAnswerTask);
5150
5204
 
5151
5205
  // src/task/TextRewriterTask.ts
5152
- import { CreateWorkflow as CreateWorkflow36, Workflow as Workflow36 } from "@workglow/task-graph";
5153
- var modelSchema25 = TypeModel("model:TextRewriterTask");
5206
+ import { CreateWorkflow as CreateWorkflow37, Workflow as Workflow37 } from "@workglow/task-graph";
5207
+ var modelSchema26 = TypeModel("model:TextRewriterTask");
5154
5208
  var TextRewriterInputSchema = {
5155
5209
  type: "object",
5156
5210
  properties: {
@@ -5164,7 +5218,7 @@ var TextRewriterInputSchema = {
5164
5218
  title: "Prompt",
5165
5219
  description: "The prompt to direct the rewriting"
5166
5220
  },
5167
- model: modelSchema25
5221
+ model: modelSchema26
5168
5222
  },
5169
5223
  required: ["text", "prompt", "model"],
5170
5224
  additionalProperties: false
@@ -5198,10 +5252,10 @@ class TextRewriterTask extends StreamingAiTask {
5198
5252
  var textRewriter = (input, config) => {
5199
5253
  return new TextRewriterTask({}, config).run(input);
5200
5254
  };
5201
- Workflow36.prototype.textRewriter = CreateWorkflow36(TextRewriterTask);
5255
+ Workflow37.prototype.textRewriter = CreateWorkflow37(TextRewriterTask);
5202
5256
 
5203
5257
  // src/task/ToolCallingTask.ts
5204
- import { CreateWorkflow as CreateWorkflow37, TaskRegistry, Workflow as Workflow37 } from "@workglow/task-graph";
5258
+ import { CreateWorkflow as CreateWorkflow38, TaskRegistry, Workflow as Workflow38 } from "@workglow/task-graph";
5205
5259
  import { getLogger } from "@workglow/util";
5206
5260
  function buildToolDescription(tool) {
5207
5261
  let desc = tool.description;
@@ -5273,11 +5327,11 @@ var ToolDefinitionSchema = {
5273
5327
  required: ["name", "description", "inputSchema"],
5274
5328
  additionalProperties: false
5275
5329
  };
5276
- var modelSchema26 = TypeModel("model:ToolCallingTask");
5330
+ var modelSchema27 = TypeModel("model:ToolCallingTask");
5277
5331
  var ToolCallingInputSchema = {
5278
5332
  type: "object",
5279
5333
  properties: {
5280
- model: modelSchema26,
5334
+ model: modelSchema27,
5281
5335
  prompt: {
5282
5336
  type: "string",
5283
5337
  title: "Prompt",
@@ -5355,11 +5409,11 @@ class ToolCallingTask extends StreamingAiTask {
5355
5409
  var toolCalling = (input, config) => {
5356
5410
  return new ToolCallingTask({}, config).run(input);
5357
5411
  };
5358
- Workflow37.prototype.toolCalling = CreateWorkflow37(ToolCallingTask);
5412
+ Workflow38.prototype.toolCalling = CreateWorkflow38(ToolCallingTask);
5359
5413
 
5360
5414
  // src/task/TextTranslationTask.ts
5361
- import { CreateWorkflow as CreateWorkflow38, Workflow as Workflow38 } from "@workglow/task-graph";
5362
- var modelSchema27 = TypeModel("model:TextTranslationTask");
5415
+ import { CreateWorkflow as CreateWorkflow39, Workflow as Workflow39 } from "@workglow/task-graph";
5416
+ var modelSchema28 = TypeModel("model:TextTranslationTask");
5363
5417
  var translationTextSchema = {
5364
5418
  type: "string",
5365
5419
  title: "Text",
@@ -5386,7 +5440,7 @@ var TextTranslationInputSchema = {
5386
5440
  minLength: 2,
5387
5441
  maxLength: 2
5388
5442
  }),
5389
- model: modelSchema27
5443
+ model: modelSchema28
5390
5444
  },
5391
5445
  required: ["text", "source_lang", "target_lang", "model"],
5392
5446
  additionalProperties: false
@@ -5421,13 +5475,13 @@ class TextTranslationTask extends StreamingAiTask {
5421
5475
  var textTranslation = (input, config) => {
5422
5476
  return new TextTranslationTask({}, config).run(input);
5423
5477
  };
5424
- Workflow38.prototype.textTranslation = CreateWorkflow38(TextTranslationTask);
5478
+ Workflow39.prototype.textTranslation = CreateWorkflow39(TextTranslationTask);
5425
5479
 
5426
5480
  // src/task/TopicSegmenterTask.ts
5427
5481
  import {
5428
- CreateWorkflow as CreateWorkflow39,
5482
+ CreateWorkflow as CreateWorkflow40,
5429
5483
  Task as Task14,
5430
- Workflow as Workflow39
5484
+ Workflow as Workflow40
5431
5485
  } from "@workglow/task-graph";
5432
5486
  var SegmentationMethod = {
5433
5487
  HEURISTIC: "heuristic",
@@ -5708,15 +5762,15 @@ class TopicSegmenterTask extends Task14 {
5708
5762
  var topicSegmenter = (input, config) => {
5709
5763
  return new TopicSegmenterTask({}, config).run(input);
5710
5764
  };
5711
- Workflow39.prototype.topicSegmenter = CreateWorkflow39(TopicSegmenterTask);
5765
+ Workflow40.prototype.topicSegmenter = CreateWorkflow40(TopicSegmenterTask);
5712
5766
 
5713
5767
  // src/task/UnloadModelTask.ts
5714
- import { CreateWorkflow as CreateWorkflow40, Workflow as Workflow40 } from "@workglow/task-graph";
5715
- var modelSchema28 = TypeModel("model");
5768
+ import { CreateWorkflow as CreateWorkflow41, Workflow as Workflow41 } from "@workglow/task-graph";
5769
+ var modelSchema29 = TypeModel("model");
5716
5770
  var UnloadModelInputSchema = {
5717
5771
  type: "object",
5718
5772
  properties: {
5719
- model: modelSchema28
5773
+ model: modelSchema29
5720
5774
  },
5721
5775
  required: ["model"],
5722
5776
  additionalProperties: false
@@ -5724,7 +5778,7 @@ var UnloadModelInputSchema = {
5724
5778
  var UnloadModelOutputSchema = {
5725
5779
  type: "object",
5726
5780
  properties: {
5727
- model: modelSchema28
5781
+ model: modelSchema29
5728
5782
  },
5729
5783
  required: ["model"],
5730
5784
  additionalProperties: false
@@ -5746,10 +5800,10 @@ class UnloadModelTask extends AiTask {
5746
5800
  var unloadModel = (input, config) => {
5747
5801
  return new UnloadModelTask({}, config).run(input);
5748
5802
  };
5749
- Workflow40.prototype.unloadModel = CreateWorkflow40(UnloadModelTask);
5803
+ Workflow41.prototype.unloadModel = CreateWorkflow41(UnloadModelTask);
5750
5804
 
5751
5805
  // src/task/VectorQuantizeTask.ts
5752
- import { CreateWorkflow as CreateWorkflow41, Task as Task15, Workflow as Workflow41 } from "@workglow/task-graph";
5806
+ import { CreateWorkflow as CreateWorkflow42, Task as Task15, Workflow as Workflow42 } from "@workglow/task-graph";
5753
5807
  import {
5754
5808
  normalizeNumberArray,
5755
5809
  TensorType,
@@ -5929,10 +5983,10 @@ class VectorQuantizeTask extends Task15 {
5929
5983
  var vectorQuantize = (input, config) => {
5930
5984
  return new VectorQuantizeTask({}, config).run(input);
5931
5985
  };
5932
- Workflow41.prototype.vectorQuantize = CreateWorkflow41(VectorQuantizeTask);
5986
+ Workflow42.prototype.vectorQuantize = CreateWorkflow42(VectorQuantizeTask);
5933
5987
 
5934
5988
  // src/task/VectorSimilarityTask.ts
5935
- import { CreateWorkflow as CreateWorkflow42, GraphAsTask, Workflow as Workflow42 } from "@workglow/task-graph";
5989
+ import { CreateWorkflow as CreateWorkflow43, GraphAsTask, Workflow as Workflow43 } from "@workglow/task-graph";
5936
5990
  import {
5937
5991
  cosineSimilarity,
5938
5992
  hammingSimilarity,
@@ -6038,7 +6092,7 @@ class VectorSimilarityTask extends GraphAsTask {
6038
6092
  var similarity = (input, config) => {
6039
6093
  return new VectorSimilarityTask({}, config).run(input);
6040
6094
  };
6041
- Workflow42.prototype.similarity = CreateWorkflow42(VectorSimilarityTask);
6095
+ Workflow43.prototype.similarity = CreateWorkflow43(VectorSimilarityTask);
6042
6096
 
6043
6097
  // src/task/index.ts
6044
6098
  var registerAiTasks = () => {
@@ -6063,6 +6117,7 @@ var registerAiTasks = () => {
6063
6117
  ImageEmbeddingTask,
6064
6118
  ImageSegmentationTask,
6065
6119
  ImageToTextTask,
6120
+ ModelInfoTask,
6066
6121
  ObjectDetectionTask,
6067
6122
  PoseLandmarkerTask,
6068
6123
  QueryExpanderTask,
@@ -6117,6 +6172,7 @@ export {
6117
6172
  queryExpander,
6118
6173
  poseLandmarker,
6119
6174
  objectDetection,
6175
+ modelInfo,
6120
6176
  isAllowedToolName,
6121
6177
  imageToText,
6122
6178
  imageSegmentation,
@@ -6207,6 +6263,7 @@ export {
6207
6263
  ModelRepository,
6208
6264
  ModelRecordSchema,
6209
6265
  ModelPrimaryKeyNames,
6266
+ ModelInfoTask,
6210
6267
  ModelConfigSchema,
6211
6268
  MODEL_REPOSITORY,
6212
6269
  InMemoryModelRepository,
@@ -6258,4 +6315,4 @@ export {
6258
6315
  AiJob
6259
6316
  };
6260
6317
 
6261
- //# debugId=E248C641863CEC1E64756E2164756E21
6318
+ //# debugId=3E9B53C5A8871E4264756E2164756E21