@eyepop.ai/eyepop 3.20.0 → 3.20.1
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 +2 -2
- package/dist/eyepop.index.d.mts +23 -12
- package/dist/eyepop.index.d.ts +23 -12
- package/dist/eyepop.index.js +0 -1
- package/dist/eyepop.index.js.map +1 -1
- package/dist/eyepop.index.mjs +0 -1
- package/dist/eyepop.index.mjs.map +1 -1
- package/dist/eyepop.min.js +1 -1
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -302,6 +302,6 @@ Rendering helpers are provided by [@eyepop.ai/eyepop-render-2d](https://www.npmj
|
|
|
302
302
|
|
|
303
303
|
`EyePop.dataEndpoint()` provides preview support for dataset management and model optimization workflows. This API is experimental and subject to change.
|
|
304
304
|
|
|
305
|
-
## Composable Pops
|
|
305
|
+
## Composable Pops
|
|
306
306
|
|
|
307
|
-
See [Composable Pops](composable-pops.md) for
|
|
307
|
+
See [Composable Pops](composable-pops.md) for client-side Pop composition.
|
package/dist/eyepop.index.d.mts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Logger } from 'pino';
|
|
2
|
+
import { OpenAPIV3_1 } from 'openapi-types';
|
|
2
3
|
|
|
3
4
|
interface Session {
|
|
4
5
|
readonly eyepopUrl: string;
|
|
@@ -69,7 +70,7 @@ interface Prediction extends StreamTime {
|
|
|
69
70
|
meshs?: Array<PredictedMesh>;
|
|
70
71
|
keyPoints?: Array<PredictedKeyPoints>;
|
|
71
72
|
embeddings?: Array<PredictedEmbedding>;
|
|
72
|
-
details?: Array<
|
|
73
|
+
details?: Array<Record<string, any>>;
|
|
73
74
|
motions?: Array<PredictedMotion>;
|
|
74
75
|
depth?: Depth;
|
|
75
76
|
}
|
|
@@ -163,7 +164,7 @@ interface PredictedObject extends PredictedClass {
|
|
|
163
164
|
texts?: Array<PredictedText>;
|
|
164
165
|
meshs?: Array<PredictedMesh>;
|
|
165
166
|
keyPoints?: Array<PredictedKeyPoints>;
|
|
166
|
-
details?: Array<
|
|
167
|
+
details?: Array<Record<string, any>>;
|
|
167
168
|
}
|
|
168
169
|
/**
|
|
169
170
|
* A point in source pixels, optionally placed in 3D.
|
|
@@ -292,17 +293,17 @@ declare enum AutoAnnotateStatus {
|
|
|
292
293
|
}
|
|
293
294
|
interface DatasetAutoAnnotateCreate {
|
|
294
295
|
auto_annotate: string;
|
|
295
|
-
auto_annotate_params?:
|
|
296
|
+
auto_annotate_params?: Record<string, any>;
|
|
296
297
|
source_model_uuid?: string;
|
|
297
298
|
status?: AutoAnnotateStatus;
|
|
298
299
|
status_message?: string;
|
|
299
300
|
source?: string;
|
|
300
|
-
metrics?:
|
|
301
|
+
metrics?: Record<string, any>;
|
|
301
302
|
}
|
|
302
303
|
interface DatasetAutoAnnotateUpdate {
|
|
303
304
|
status?: AutoAnnotateStatus;
|
|
304
305
|
status_message?: string;
|
|
305
|
-
metrics?:
|
|
306
|
+
metrics?: Record<string, any>;
|
|
306
307
|
}
|
|
307
308
|
interface DatasetAutoAnnotate {
|
|
308
309
|
created_at?: Date;
|
|
@@ -312,11 +313,11 @@ interface DatasetAutoAnnotate {
|
|
|
312
313
|
source_ability_uuid?: string;
|
|
313
314
|
source_model_uuid?: string;
|
|
314
315
|
auto_annotate?: string;
|
|
315
|
-
auto_annotate_params?:
|
|
316
|
+
auto_annotate_params?: Record<string, any>;
|
|
316
317
|
status?: AutoAnnotateStatus;
|
|
317
318
|
status_message?: string;
|
|
318
319
|
source?: string;
|
|
319
|
-
metrics?:
|
|
320
|
+
metrics?: Record<string, any>;
|
|
320
321
|
}
|
|
321
322
|
interface AssetImport {
|
|
322
323
|
url: string;
|
|
@@ -484,7 +485,7 @@ interface Model {
|
|
|
484
485
|
description?: string;
|
|
485
486
|
external_id?: string;
|
|
486
487
|
pretrained_model_uuid?: string;
|
|
487
|
-
extra_params?:
|
|
488
|
+
extra_params?: Record<string, any>;
|
|
488
489
|
task?: ModelTask;
|
|
489
490
|
classes?: string[];
|
|
490
491
|
type: ModelType;
|
|
@@ -503,7 +504,7 @@ interface ModelCreate {
|
|
|
503
504
|
description: string;
|
|
504
505
|
external_id?: string;
|
|
505
506
|
pretrained_model_uuid?: string;
|
|
506
|
-
extra_params?:
|
|
507
|
+
extra_params?: Record<string, any>;
|
|
507
508
|
task?: ModelTask;
|
|
508
509
|
classes?: string[];
|
|
509
510
|
}
|
|
@@ -639,6 +640,12 @@ interface InferRuntimeConfig {
|
|
|
639
640
|
context_length?: number;
|
|
640
641
|
roi?: Area;
|
|
641
642
|
}
|
|
643
|
+
/**
|
|
644
|
+
* Schema to constrain a VLM's output. Where one is set, the ability is
|
|
645
|
+
* guaranteed to return a structured object matching this Open API schema, and
|
|
646
|
+
* the parsed object arrives on each prediction's `details` attribute.
|
|
647
|
+
*/
|
|
648
|
+
type ResponseSchema = OpenAPIV3_1.SchemaObject;
|
|
642
649
|
interface TransformInto {
|
|
643
650
|
classes?: string[];
|
|
644
651
|
}
|
|
@@ -648,6 +655,7 @@ interface InferRequest {
|
|
|
648
655
|
config: InferRuntimeConfig;
|
|
649
656
|
refresh?: boolean;
|
|
650
657
|
transform_into?: TransformInto;
|
|
658
|
+
response_schema?: ResponseSchema;
|
|
651
659
|
}
|
|
652
660
|
interface EvaluateFilter {
|
|
653
661
|
partitions?: string[];
|
|
@@ -683,7 +691,7 @@ interface EvaluateResponse {
|
|
|
683
691
|
status: EvaluationStatus;
|
|
684
692
|
status_message?: string;
|
|
685
693
|
source: string;
|
|
686
|
-
metrics?:
|
|
694
|
+
metrics?: Record<string, any>;
|
|
687
695
|
run_info: EvaluateRunInfo;
|
|
688
696
|
}
|
|
689
697
|
interface InferRunInfo {
|
|
@@ -699,6 +707,7 @@ interface AutoPromptConfig {
|
|
|
699
707
|
num_samples: number;
|
|
700
708
|
task_description?: string;
|
|
701
709
|
infer: InferRequest;
|
|
710
|
+
response_schema?: ResponseSchema;
|
|
702
711
|
evaluate: EvaluateConfig;
|
|
703
712
|
}
|
|
704
713
|
declare enum TaskType {
|
|
@@ -734,6 +743,7 @@ interface VlmAbilityCreate {
|
|
|
734
743
|
worker_release: string;
|
|
735
744
|
text_prompt: string;
|
|
736
745
|
transform_into: TransformInto;
|
|
746
|
+
response_schema?: ResponseSchema;
|
|
737
747
|
config: InferRuntimeConfig;
|
|
738
748
|
is_public: boolean;
|
|
739
749
|
video_chunk_length_ns?: number;
|
|
@@ -745,6 +755,7 @@ interface VlmAbilityUpdate {
|
|
|
745
755
|
worker_release?: string;
|
|
746
756
|
text_prompt?: string;
|
|
747
757
|
transform_into?: TransformInto;
|
|
758
|
+
response_schema?: ResponseSchema;
|
|
748
759
|
config?: InferRuntimeConfig;
|
|
749
760
|
is_public?: boolean;
|
|
750
761
|
video_chunk_length_ns?: number;
|
|
@@ -763,6 +774,7 @@ interface VlmAbility {
|
|
|
763
774
|
worker_release?: string;
|
|
764
775
|
text_prompt?: string;
|
|
765
776
|
transform_into?: TransformInto;
|
|
777
|
+
response_schema?: ResponseSchema;
|
|
766
778
|
config?: InferRuntimeConfig;
|
|
767
779
|
video_chunk_length_ns?: number;
|
|
768
780
|
video_chunk_overlap?: number;
|
|
@@ -957,7 +969,6 @@ interface ResultStream extends AsyncIterable<Prediction> {
|
|
|
957
969
|
declare enum PopComponentType {
|
|
958
970
|
FORWARD = "forward",
|
|
959
971
|
INFERENCE = "inference",
|
|
960
|
-
TRACING = "tracing",
|
|
961
972
|
TRACKING = "tracking",
|
|
962
973
|
CONTOUR_FINDER = "contour_finder",
|
|
963
974
|
COMPONENT_FINDER = "component_finder"
|
|
@@ -1923,4 +1934,4 @@ declare namespace EyePop {
|
|
|
1923
1934
|
function dataEndpoint(opts?: DataOptions): DataEndpoint;
|
|
1924
1935
|
}
|
|
1925
1936
|
|
|
1926
|
-
export { type AbilityAliasEntry, AbstractJob, type AccessTokenAuth, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type Camera, type CameraDistortion, type CameraExtrinsics, type CameraIntrinsics, type ChangeEvent, ChangeType, type ClassificationTask, type CloudBounds, type CloudBox, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type Depth, DepthMap, type DepthSemantic, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyePopDataWebSocketError, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromGroupJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type MultipartContent, type MultipartPart, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, PointCloud, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopDepthMap, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedEmbedding, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, QUATERNION_TOLERANCE, type QcAiHubExportParams, type Quaternion, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, type Source, type SourceDefaults, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskMode, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadGroupJob, UploadJob, type UploadSource, type UrlSource, UserReview, type Vector3, type Vector3d, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, accessTokenCredential, apiKeyCredential, cloudOfDepth, cloudOfObject, cloudsOfPrediction, decodeDepthMap, decodePointCloud, EyePop as default, encodeMultipartFormData, getBaseUrl, randomMultipartBoundary, readableStreamFromString, resolveAuth, validateCamera, validatePop };
|
|
1937
|
+
export { type AbilityAliasEntry, AbstractJob, type AccessTokenAuth, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type Camera, type CameraDistortion, type CameraExtrinsics, type CameraIntrinsics, type ChangeEvent, ChangeType, type ClassificationTask, type CloudBounds, type CloudBox, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type Depth, DepthMap, type DepthSemantic, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyePopDataWebSocketError, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromGroupJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type MultipartContent, type MultipartPart, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, PointCloud, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopDepthMap, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedEmbedding, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, QUATERNION_TOLERANCE, type QcAiHubExportParams, type Quaternion, type RectangleArea, type ResponseSchema, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, type Source, type SourceDefaults, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskMode, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadGroupJob, UploadJob, type UploadSource, type UrlSource, UserReview, type Vector3, type Vector3d, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, accessTokenCredential, apiKeyCredential, cloudOfDepth, cloudOfObject, cloudsOfPrediction, decodeDepthMap, decodePointCloud, EyePop as default, encodeMultipartFormData, getBaseUrl, randomMultipartBoundary, readableStreamFromString, resolveAuth, validateCamera, validatePop };
|
package/dist/eyepop.index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { Logger } from 'pino';
|
|
2
|
+
import { OpenAPIV3_1 } from 'openapi-types';
|
|
2
3
|
|
|
3
4
|
interface Session {
|
|
4
5
|
readonly eyepopUrl: string;
|
|
@@ -69,7 +70,7 @@ interface Prediction extends StreamTime {
|
|
|
69
70
|
meshs?: Array<PredictedMesh>;
|
|
70
71
|
keyPoints?: Array<PredictedKeyPoints>;
|
|
71
72
|
embeddings?: Array<PredictedEmbedding>;
|
|
72
|
-
details?: Array<
|
|
73
|
+
details?: Array<Record<string, any>>;
|
|
73
74
|
motions?: Array<PredictedMotion>;
|
|
74
75
|
depth?: Depth;
|
|
75
76
|
}
|
|
@@ -163,7 +164,7 @@ interface PredictedObject extends PredictedClass {
|
|
|
163
164
|
texts?: Array<PredictedText>;
|
|
164
165
|
meshs?: Array<PredictedMesh>;
|
|
165
166
|
keyPoints?: Array<PredictedKeyPoints>;
|
|
166
|
-
details?: Array<
|
|
167
|
+
details?: Array<Record<string, any>>;
|
|
167
168
|
}
|
|
168
169
|
/**
|
|
169
170
|
* A point in source pixels, optionally placed in 3D.
|
|
@@ -292,17 +293,17 @@ declare enum AutoAnnotateStatus {
|
|
|
292
293
|
}
|
|
293
294
|
interface DatasetAutoAnnotateCreate {
|
|
294
295
|
auto_annotate: string;
|
|
295
|
-
auto_annotate_params?:
|
|
296
|
+
auto_annotate_params?: Record<string, any>;
|
|
296
297
|
source_model_uuid?: string;
|
|
297
298
|
status?: AutoAnnotateStatus;
|
|
298
299
|
status_message?: string;
|
|
299
300
|
source?: string;
|
|
300
|
-
metrics?:
|
|
301
|
+
metrics?: Record<string, any>;
|
|
301
302
|
}
|
|
302
303
|
interface DatasetAutoAnnotateUpdate {
|
|
303
304
|
status?: AutoAnnotateStatus;
|
|
304
305
|
status_message?: string;
|
|
305
|
-
metrics?:
|
|
306
|
+
metrics?: Record<string, any>;
|
|
306
307
|
}
|
|
307
308
|
interface DatasetAutoAnnotate {
|
|
308
309
|
created_at?: Date;
|
|
@@ -312,11 +313,11 @@ interface DatasetAutoAnnotate {
|
|
|
312
313
|
source_ability_uuid?: string;
|
|
313
314
|
source_model_uuid?: string;
|
|
314
315
|
auto_annotate?: string;
|
|
315
|
-
auto_annotate_params?:
|
|
316
|
+
auto_annotate_params?: Record<string, any>;
|
|
316
317
|
status?: AutoAnnotateStatus;
|
|
317
318
|
status_message?: string;
|
|
318
319
|
source?: string;
|
|
319
|
-
metrics?:
|
|
320
|
+
metrics?: Record<string, any>;
|
|
320
321
|
}
|
|
321
322
|
interface AssetImport {
|
|
322
323
|
url: string;
|
|
@@ -484,7 +485,7 @@ interface Model {
|
|
|
484
485
|
description?: string;
|
|
485
486
|
external_id?: string;
|
|
486
487
|
pretrained_model_uuid?: string;
|
|
487
|
-
extra_params?:
|
|
488
|
+
extra_params?: Record<string, any>;
|
|
488
489
|
task?: ModelTask;
|
|
489
490
|
classes?: string[];
|
|
490
491
|
type: ModelType;
|
|
@@ -503,7 +504,7 @@ interface ModelCreate {
|
|
|
503
504
|
description: string;
|
|
504
505
|
external_id?: string;
|
|
505
506
|
pretrained_model_uuid?: string;
|
|
506
|
-
extra_params?:
|
|
507
|
+
extra_params?: Record<string, any>;
|
|
507
508
|
task?: ModelTask;
|
|
508
509
|
classes?: string[];
|
|
509
510
|
}
|
|
@@ -639,6 +640,12 @@ interface InferRuntimeConfig {
|
|
|
639
640
|
context_length?: number;
|
|
640
641
|
roi?: Area;
|
|
641
642
|
}
|
|
643
|
+
/**
|
|
644
|
+
* Schema to constrain a VLM's output. Where one is set, the ability is
|
|
645
|
+
* guaranteed to return a structured object matching this Open API schema, and
|
|
646
|
+
* the parsed object arrives on each prediction's `details` attribute.
|
|
647
|
+
*/
|
|
648
|
+
type ResponseSchema = OpenAPIV3_1.SchemaObject;
|
|
642
649
|
interface TransformInto {
|
|
643
650
|
classes?: string[];
|
|
644
651
|
}
|
|
@@ -648,6 +655,7 @@ interface InferRequest {
|
|
|
648
655
|
config: InferRuntimeConfig;
|
|
649
656
|
refresh?: boolean;
|
|
650
657
|
transform_into?: TransformInto;
|
|
658
|
+
response_schema?: ResponseSchema;
|
|
651
659
|
}
|
|
652
660
|
interface EvaluateFilter {
|
|
653
661
|
partitions?: string[];
|
|
@@ -683,7 +691,7 @@ interface EvaluateResponse {
|
|
|
683
691
|
status: EvaluationStatus;
|
|
684
692
|
status_message?: string;
|
|
685
693
|
source: string;
|
|
686
|
-
metrics?:
|
|
694
|
+
metrics?: Record<string, any>;
|
|
687
695
|
run_info: EvaluateRunInfo;
|
|
688
696
|
}
|
|
689
697
|
interface InferRunInfo {
|
|
@@ -699,6 +707,7 @@ interface AutoPromptConfig {
|
|
|
699
707
|
num_samples: number;
|
|
700
708
|
task_description?: string;
|
|
701
709
|
infer: InferRequest;
|
|
710
|
+
response_schema?: ResponseSchema;
|
|
702
711
|
evaluate: EvaluateConfig;
|
|
703
712
|
}
|
|
704
713
|
declare enum TaskType {
|
|
@@ -734,6 +743,7 @@ interface VlmAbilityCreate {
|
|
|
734
743
|
worker_release: string;
|
|
735
744
|
text_prompt: string;
|
|
736
745
|
transform_into: TransformInto;
|
|
746
|
+
response_schema?: ResponseSchema;
|
|
737
747
|
config: InferRuntimeConfig;
|
|
738
748
|
is_public: boolean;
|
|
739
749
|
video_chunk_length_ns?: number;
|
|
@@ -745,6 +755,7 @@ interface VlmAbilityUpdate {
|
|
|
745
755
|
worker_release?: string;
|
|
746
756
|
text_prompt?: string;
|
|
747
757
|
transform_into?: TransformInto;
|
|
758
|
+
response_schema?: ResponseSchema;
|
|
748
759
|
config?: InferRuntimeConfig;
|
|
749
760
|
is_public?: boolean;
|
|
750
761
|
video_chunk_length_ns?: number;
|
|
@@ -763,6 +774,7 @@ interface VlmAbility {
|
|
|
763
774
|
worker_release?: string;
|
|
764
775
|
text_prompt?: string;
|
|
765
776
|
transform_into?: TransformInto;
|
|
777
|
+
response_schema?: ResponseSchema;
|
|
766
778
|
config?: InferRuntimeConfig;
|
|
767
779
|
video_chunk_length_ns?: number;
|
|
768
780
|
video_chunk_overlap?: number;
|
|
@@ -957,7 +969,6 @@ interface ResultStream extends AsyncIterable<Prediction> {
|
|
|
957
969
|
declare enum PopComponentType {
|
|
958
970
|
FORWARD = "forward",
|
|
959
971
|
INFERENCE = "inference",
|
|
960
|
-
TRACING = "tracing",
|
|
961
972
|
TRACKING = "tracking",
|
|
962
973
|
CONTOUR_FINDER = "contour_finder",
|
|
963
974
|
COMPONENT_FINDER = "component_finder"
|
|
@@ -1923,4 +1934,4 @@ declare namespace EyePop {
|
|
|
1923
1934
|
function dataEndpoint(opts?: DataOptions): DataEndpoint;
|
|
1924
1935
|
}
|
|
1925
1936
|
|
|
1926
|
-
export { type AbilityAliasEntry, AbstractJob, type AccessTokenAuth, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type Camera, type CameraDistortion, type CameraExtrinsics, type CameraIntrinsics, type ChangeEvent, ChangeType, type ClassificationTask, type CloudBounds, type CloudBox, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type Depth, DepthMap, type DepthSemantic, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyePopDataWebSocketError, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromGroupJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type MultipartContent, type MultipartPart, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, PointCloud, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopDepthMap, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedEmbedding, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, QUATERNION_TOLERANCE, type QcAiHubExportParams, type Quaternion, type RectangleArea, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, type Source, type SourceDefaults, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskMode, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadGroupJob, UploadJob, type UploadSource, type UrlSource, UserReview, type Vector3, type Vector3d, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, accessTokenCredential, apiKeyCredential, cloudOfDepth, cloudOfObject, cloudsOfPrediction, decodeDepthMap, decodePointCloud, EyePop as default, encodeMultipartFormData, getBaseUrl, randomMultipartBoundary, readableStreamFromString, resolveAuth, validateCamera, validatePop };
|
|
1937
|
+
export { type AbilityAliasEntry, AbstractJob, type AccessTokenAuth, type AliasResolution, type Annotation, AnnotationInclusionMode, AnnotationType, type ApiKeyAuth, type Area, AreaType, ArtifactType, type Asset, type AssetImport, AssetInclusionMode, AssetStatus, AssetUrlType, type AssetUuidSource, type Auth0Options, type Authentication, type AutoAnnotate, type AutoAnnotateParams, type AutoAnnotatePrompt, AutoAnnotateStatus, AutoAnnotateTask, type AutoPromptConfig, type AutoTask, type BaseArea, type BaseComponent, type BaseTask, type Box, type Camera, type CameraDistortion, type CameraExtrinsics, type CameraIntrinsics, type ChangeEvent, ChangeType, type ClassificationTask, type CloudBounds, type CloudBox, type ComponentFinderComponent, type ComponentParams, type Contour, type ContourArea, type ContourFinderComponent, ContourType, type CreateWorkflow, type CreateWorkflowConfig, DEFAULT_PREDICTION_VERSION, DataApiType, DataEndpoint, type DataOptions, type DataSession, type Dataset, type DatasetAutoAnnotate, type DatasetAutoAnnotateCreate, type DatasetAutoAnnotateUpdate, type DatasetCreate, type DatasetHeroAssetUpdate, type DatasetParent, type DatasetUpdate, type DatasetVersion, type DatasetVersionAssetStats, type Depth, DepthMap, type DepthSemantic, type DownloadResponse, Endpoint, EndpointState, type EvaluateConfig, type EvaluateFilter, type EvaluateRequest, type EvaluateResponse, type EvaluateRunInfo, EvaluationStatus, ExportedBy, EyePop, EyePopDataWebSocketError, EyepopLineDecoder, type FileSource, type ForwardComponent, ForwardOperatorType, type HttpClient, type InferRequest, type InferRunInfo, type InferRuntimeConfig, type InferenceComponent, InferenceType, type ListWorkFlowItem, type ListWorkFlowItemMetadata, type ListWorkflowItemMetadataLabels, LoadFromAssetUuidJob, LoadFromGroupJob, LoadFromJob, LoadMediaStreamJob, type LocalAuth, type Mask, type MediaStreamSource, type Model, type ModelCreate, type ModelExport, ModelExportStatus, ModelFormat, type ModelMetrics, ModelPrecisionType, type ModelSample, ModelStatus, ModelTask, type ModelTrainingProgress, ModelTrainingStage, ModelType, type ModelUpdate, type MotionDetectConfig, MotionModel, type MultipartContent, type MultipartPart, type OAuth2Auth, type OnChangeEvent, type Options, type PathSource, type PlatformSupport, type Point2d, type Point3d, PointCloud, type Pop, type PopComponent, PopComponentType, type PopCrop, type PopDepthMap, type PopForward, type PopForwardOperator, type PredictedClass, type PredictedEmbedding, type PredictedKeyPoint, type PredictedKeyPoints, type PredictedMesh, type PredictedMotion, type PredictedObject, type PredictedText, type Prediction, PredictionVersion, type ProcessParams, type ProcessRequest, QUATERNION_TOLERANCE, type QcAiHubExportParams, type Quaternion, type RectangleArea, type ResponseSchema, type ResultStream, type Roi, Semaphore, type Session, type SessionAuth, type Source, type SourceDefaults, Stream, type StreamEvent, type StreamSource, type StreamTime, TaskMode, TaskType, type TimeSpan, type TrackingComponent, TranscodeMode, type TransformInto, TransientPopId, UploadGroupJob, UploadJob, type UploadSource, type UrlSource, UserReview, type Vector3, type Vector3d, VideoMode, type VlmAbility, type VlmAbilityCreate, type VlmAbilityGroup, type VlmAbilityGroupCreate, type VlmAbilityGroupUpdate, VlmAbilityStatus, type VlmAbilityUpdate, WebrtcBase, WebrtcWhep, WebrtcWhip, WorkerEndpoint, type WorkerOptions, type WorkerSession, type Workflow, WorkflowPhase, accessTokenCredential, apiKeyCredential, cloudOfDepth, cloudOfObject, cloudsOfPrediction, decodeDepthMap, decodePointCloud, EyePop as default, encodeMultipartFormData, getBaseUrl, randomMultipartBoundary, readableStreamFromString, resolveAuth, validateCamera, validatePop };
|
package/dist/eyepop.index.js
CHANGED
|
@@ -9382,7 +9382,6 @@ var VideoMode = /* @__PURE__ */ ((VideoMode2) => {
|
|
|
9382
9382
|
var PopComponentType = /* @__PURE__ */ ((PopComponentType2) => {
|
|
9383
9383
|
PopComponentType2["FORWARD"] = "forward";
|
|
9384
9384
|
PopComponentType2["INFERENCE"] = "inference";
|
|
9385
|
-
PopComponentType2["TRACING"] = "tracing";
|
|
9386
9385
|
PopComponentType2["TRACKING"] = "tracking";
|
|
9387
9386
|
PopComponentType2["CONTOUR_FINDER"] = "contour_finder";
|
|
9388
9387
|
PopComponentType2["COMPONENT_FINDER"] = "component_finder";
|