clarifai-web-grpc 10.8.7 → 10.9.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 -0
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +1019 -37
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +378 -2
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +5 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1019 -37
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +378 -2
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +5 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +167 -10
- package/proto/clarifai/api/resources_pb.js +1261 -45
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +52 -0
- package/proto/clarifai/api/service_pb.js +463 -2
- package/proto/clarifai/api/status/status_code_pb.d.ts +5 -1
- package/proto/clarifai/api/status/status_code_pb.js +5 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/proto/clarifai/auth/scope/scope_pb.js +2 -1
|
@@ -719,6 +719,11 @@ export class Concept extends jspb.Message {
|
|
|
719
719
|
hasMetadata(): boolean;
|
|
720
720
|
clearMetadata(): Concept;
|
|
721
721
|
|
|
722
|
+
getImage(): Image | undefined;
|
|
723
|
+
setImage(value?: Image): Concept;
|
|
724
|
+
hasImage(): boolean;
|
|
725
|
+
clearImage(): Concept;
|
|
726
|
+
|
|
722
727
|
serializeBinary(): Uint8Array;
|
|
723
728
|
toObject(includeInstance?: boolean): Concept.AsObject;
|
|
724
729
|
static toObject(includeInstance: boolean, msg: Concept): Concept.AsObject;
|
|
@@ -742,6 +747,7 @@ export namespace Concept {
|
|
|
742
747
|
keypointInfo?: KeypointInfo.AsObject,
|
|
743
748
|
extraInfo?: ConceptExtraInfo.AsObject,
|
|
744
749
|
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
750
|
+
image?: Image.AsObject,
|
|
745
751
|
}
|
|
746
752
|
}
|
|
747
753
|
|
|
@@ -1142,6 +1148,16 @@ export class Data extends jspb.Message {
|
|
|
1142
1148
|
clearHeatmapsList(): Data;
|
|
1143
1149
|
addHeatmaps(value?: Image, index?: number): Image;
|
|
1144
1150
|
|
|
1151
|
+
getPartsList(): Array<Part>;
|
|
1152
|
+
setPartsList(value: Array<Part>): Data;
|
|
1153
|
+
clearPartsList(): Data;
|
|
1154
|
+
addParts(value?: Part, index?: number): Part;
|
|
1155
|
+
|
|
1156
|
+
getNdarray(): NDArray | undefined;
|
|
1157
|
+
setNdarray(value?: NDArray): Data;
|
|
1158
|
+
hasNdarray(): boolean;
|
|
1159
|
+
clearNdarray(): Data;
|
|
1160
|
+
|
|
1145
1161
|
serializeBinary(): Uint8Array;
|
|
1146
1162
|
toObject(includeInstance?: boolean): Data.AsObject;
|
|
1147
1163
|
static toObject(includeInstance: boolean, msg: Data): Data.AsObject;
|
|
@@ -1168,6 +1184,28 @@ export namespace Data {
|
|
|
1168
1184
|
timeSegmentsList: Array<TimeSegment.AsObject>,
|
|
1169
1185
|
hitsList: Array<Hit.AsObject>,
|
|
1170
1186
|
heatmapsList: Array<Image.AsObject>,
|
|
1187
|
+
partsList: Array<Part.AsObject>,
|
|
1188
|
+
ndarray?: NDArray.AsObject,
|
|
1189
|
+
}
|
|
1190
|
+
}
|
|
1191
|
+
|
|
1192
|
+
export class Part extends jspb.Message {
|
|
1193
|
+
getData(): Data | undefined;
|
|
1194
|
+
setData(value?: Data): Part;
|
|
1195
|
+
hasData(): boolean;
|
|
1196
|
+
clearData(): Part;
|
|
1197
|
+
|
|
1198
|
+
serializeBinary(): Uint8Array;
|
|
1199
|
+
toObject(includeInstance?: boolean): Part.AsObject;
|
|
1200
|
+
static toObject(includeInstance: boolean, msg: Part): Part.AsObject;
|
|
1201
|
+
static serializeBinaryToWriter(message: Part, writer: jspb.BinaryWriter): void;
|
|
1202
|
+
static deserializeBinary(bytes: Uint8Array): Part;
|
|
1203
|
+
static deserializeBinaryFromReader(message: Part, reader: jspb.BinaryReader): Part;
|
|
1204
|
+
}
|
|
1205
|
+
|
|
1206
|
+
export namespace Part {
|
|
1207
|
+
export type AsObject = {
|
|
1208
|
+
data?: Data.AsObject,
|
|
1171
1209
|
}
|
|
1172
1210
|
}
|
|
1173
1211
|
|
|
@@ -1347,6 +1385,36 @@ export namespace Frame {
|
|
|
1347
1385
|
}
|
|
1348
1386
|
}
|
|
1349
1387
|
|
|
1388
|
+
export class NDArray extends jspb.Message {
|
|
1389
|
+
getBuffer(): Uint8Array | string;
|
|
1390
|
+
getBuffer_asU8(): Uint8Array;
|
|
1391
|
+
getBuffer_asB64(): string;
|
|
1392
|
+
setBuffer(value: Uint8Array | string): NDArray;
|
|
1393
|
+
|
|
1394
|
+
getShapeList(): Array<number>;
|
|
1395
|
+
setShapeList(value: Array<number>): NDArray;
|
|
1396
|
+
clearShapeList(): NDArray;
|
|
1397
|
+
addShape(value: number, index?: number): NDArray;
|
|
1398
|
+
|
|
1399
|
+
getDtype(): string;
|
|
1400
|
+
setDtype(value: string): NDArray;
|
|
1401
|
+
|
|
1402
|
+
serializeBinary(): Uint8Array;
|
|
1403
|
+
toObject(includeInstance?: boolean): NDArray.AsObject;
|
|
1404
|
+
static toObject(includeInstance: boolean, msg: NDArray): NDArray.AsObject;
|
|
1405
|
+
static serializeBinaryToWriter(message: NDArray, writer: jspb.BinaryWriter): void;
|
|
1406
|
+
static deserializeBinary(bytes: Uint8Array): NDArray;
|
|
1407
|
+
static deserializeBinaryFromReader(message: NDArray, reader: jspb.BinaryReader): NDArray;
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
export namespace NDArray {
|
|
1411
|
+
export type AsObject = {
|
|
1412
|
+
buffer: Uint8Array | string,
|
|
1413
|
+
shapeList: Array<number>,
|
|
1414
|
+
dtype: string,
|
|
1415
|
+
}
|
|
1416
|
+
}
|
|
1417
|
+
|
|
1350
1418
|
export class Mask extends jspb.Message {
|
|
1351
1419
|
getImage(): Image | undefined;
|
|
1352
1420
|
setImage(value?: Image): Mask;
|
|
@@ -5644,9 +5712,6 @@ export class Task extends jspb.Message {
|
|
|
5644
5712
|
hasWorker(): boolean;
|
|
5645
5713
|
clearWorker(): Task;
|
|
5646
5714
|
|
|
5647
|
-
getWorkerType(): Task.WorkerType;
|
|
5648
|
-
setWorkerType(value: Task.WorkerType): Task;
|
|
5649
|
-
|
|
5650
5715
|
getConceptIdsList(): Array<string>;
|
|
5651
5716
|
setConceptIdsList(value: Array<string>): Task;
|
|
5652
5717
|
clearConceptIdsList(): Task;
|
|
@@ -5729,7 +5794,6 @@ export namespace Task {
|
|
|
5729
5794
|
type: Task.TaskType,
|
|
5730
5795
|
description: string,
|
|
5731
5796
|
worker?: TaskWorker.AsObject,
|
|
5732
|
-
workerType: Task.WorkerType,
|
|
5733
5797
|
conceptIdsList: Array<string>,
|
|
5734
5798
|
inputSource?: TaskInputSource.AsObject,
|
|
5735
5799
|
sampleMs: number,
|
|
@@ -5748,12 +5812,6 @@ export namespace Task {
|
|
|
5748
5812
|
priority: Task.TaskPriority,
|
|
5749
5813
|
}
|
|
5750
5814
|
|
|
5751
|
-
export enum WorkerType {
|
|
5752
|
-
WORKER_TYPE_NOT_SET = 0,
|
|
5753
|
-
WORKER_HUMAN = 1,
|
|
5754
|
-
WORKER_AUTO = 2,
|
|
5755
|
-
}
|
|
5756
|
-
|
|
5757
5815
|
export enum TaskType {
|
|
5758
5816
|
TYPE_NOT_SET = 0,
|
|
5759
5817
|
CONCEPTS_CLASSIFICATION = 1,
|
|
@@ -5821,6 +5879,9 @@ export class TaskWorker extends jspb.Message {
|
|
|
5821
5879
|
clearWorkersList(): TaskWorker;
|
|
5822
5880
|
addWorkers(value?: Worker, index?: number): Worker;
|
|
5823
5881
|
|
|
5882
|
+
getType(): TaskWorker.WorkerType;
|
|
5883
|
+
setType(value: TaskWorker.WorkerType): TaskWorker;
|
|
5884
|
+
|
|
5824
5885
|
getStrategyInfoCase(): TaskWorker.StrategyInfoCase;
|
|
5825
5886
|
|
|
5826
5887
|
serializeBinary(): Uint8Array;
|
|
@@ -5838,6 +5899,7 @@ export namespace TaskWorker {
|
|
|
5838
5899
|
usersList: Array<User.AsObject>,
|
|
5839
5900
|
partitionedStrategyInfo?: TaskWorkerPartitionedStrategyInfo.AsObject,
|
|
5840
5901
|
workersList: Array<Worker.AsObject>,
|
|
5902
|
+
type: TaskWorker.WorkerType,
|
|
5841
5903
|
}
|
|
5842
5904
|
|
|
5843
5905
|
export enum TaskWorkerStrategy {
|
|
@@ -5847,6 +5909,12 @@ export namespace TaskWorker {
|
|
|
5847
5909
|
DYNAMIC = 4,
|
|
5848
5910
|
}
|
|
5849
5911
|
|
|
5912
|
+
export enum WorkerType {
|
|
5913
|
+
WORKER_TYPE_NOT_SET = 0,
|
|
5914
|
+
WORKER_HUMAN = 1,
|
|
5915
|
+
WORKER_AUTO = 2,
|
|
5916
|
+
}
|
|
5917
|
+
|
|
5850
5918
|
export enum StrategyInfoCase {
|
|
5851
5919
|
STRATEGY_INFO_NOT_SET = 0,
|
|
5852
5920
|
PARTITIONED_STRATEGY_INFO = 3,
|
|
@@ -5977,6 +6045,9 @@ export class TaskReviewManualStrategyInfo extends jspb.Message {
|
|
|
5977
6045
|
getSamplePercentage(): number;
|
|
5978
6046
|
setSamplePercentage(value: number): TaskReviewManualStrategyInfo;
|
|
5979
6047
|
|
|
6048
|
+
getApprovalThreshold(): number;
|
|
6049
|
+
setApprovalThreshold(value: number): TaskReviewManualStrategyInfo;
|
|
6050
|
+
|
|
5980
6051
|
serializeBinary(): Uint8Array;
|
|
5981
6052
|
toObject(includeInstance?: boolean): TaskReviewManualStrategyInfo.AsObject;
|
|
5982
6053
|
static toObject(includeInstance: boolean, msg: TaskReviewManualStrategyInfo): TaskReviewManualStrategyInfo.AsObject;
|
|
@@ -5988,6 +6059,7 @@ export class TaskReviewManualStrategyInfo extends jspb.Message {
|
|
|
5988
6059
|
export namespace TaskReviewManualStrategyInfo {
|
|
5989
6060
|
export type AsObject = {
|
|
5990
6061
|
samplePercentage: number,
|
|
6062
|
+
approvalThreshold: number,
|
|
5991
6063
|
}
|
|
5992
6064
|
}
|
|
5993
6065
|
|
|
@@ -8594,6 +8666,91 @@ export namespace AuditLogQuery {
|
|
|
8594
8666
|
}
|
|
8595
8667
|
}
|
|
8596
8668
|
|
|
8669
|
+
export class WorkflowVersionEvaluationMetric extends jspb.Message {
|
|
8670
|
+
getId(): string;
|
|
8671
|
+
setId(value: string): WorkflowVersionEvaluationMetric;
|
|
8672
|
+
|
|
8673
|
+
getSummary(): string;
|
|
8674
|
+
setSummary(value: string): WorkflowVersionEvaluationMetric;
|
|
8675
|
+
|
|
8676
|
+
getDescription(): string;
|
|
8677
|
+
setDescription(value: string): WorkflowVersionEvaluationMetric;
|
|
8678
|
+
|
|
8679
|
+
getDataType(): WorkflowVersionEvaluationMetric.DataType;
|
|
8680
|
+
setDataType(value: WorkflowVersionEvaluationMetric.DataType): WorkflowVersionEvaluationMetric;
|
|
8681
|
+
|
|
8682
|
+
getVisualisationType(): WorkflowVersionEvaluationMetric.VisualisationType;
|
|
8683
|
+
setVisualisationType(value: WorkflowVersionEvaluationMetric.VisualisationType): WorkflowVersionEvaluationMetric;
|
|
8684
|
+
|
|
8685
|
+
serializeBinary(): Uint8Array;
|
|
8686
|
+
toObject(includeInstance?: boolean): WorkflowVersionEvaluationMetric.AsObject;
|
|
8687
|
+
static toObject(includeInstance: boolean, msg: WorkflowVersionEvaluationMetric): WorkflowVersionEvaluationMetric.AsObject;
|
|
8688
|
+
static serializeBinaryToWriter(message: WorkflowVersionEvaluationMetric, writer: jspb.BinaryWriter): void;
|
|
8689
|
+
static deserializeBinary(bytes: Uint8Array): WorkflowVersionEvaluationMetric;
|
|
8690
|
+
static deserializeBinaryFromReader(message: WorkflowVersionEvaluationMetric, reader: jspb.BinaryReader): WorkflowVersionEvaluationMetric;
|
|
8691
|
+
}
|
|
8692
|
+
|
|
8693
|
+
export namespace WorkflowVersionEvaluationMetric {
|
|
8694
|
+
export type AsObject = {
|
|
8695
|
+
id: string,
|
|
8696
|
+
summary: string,
|
|
8697
|
+
description: string,
|
|
8698
|
+
dataType: WorkflowVersionEvaluationMetric.DataType,
|
|
8699
|
+
visualisationType: WorkflowVersionEvaluationMetric.VisualisationType,
|
|
8700
|
+
}
|
|
8701
|
+
|
|
8702
|
+
export enum DataType {
|
|
8703
|
+
DATA_TYPE_NOT_SET = 0,
|
|
8704
|
+
FLOAT = 1,
|
|
8705
|
+
}
|
|
8706
|
+
|
|
8707
|
+
export enum VisualisationType {
|
|
8708
|
+
VISUALIZATION_TYPE_NOT_SET = 0,
|
|
8709
|
+
CONFUSION_MATRIX = 1,
|
|
8710
|
+
PRECISION_RECALL_CURVE = 2,
|
|
8711
|
+
ROC_AUC_CURVE = 3,
|
|
8712
|
+
}
|
|
8713
|
+
}
|
|
8714
|
+
|
|
8715
|
+
export class WorkflowVersionEvaluationTemplate extends jspb.Message {
|
|
8716
|
+
getId(): string;
|
|
8717
|
+
setId(value: string): WorkflowVersionEvaluationTemplate;
|
|
8718
|
+
|
|
8719
|
+
getDescription(): string;
|
|
8720
|
+
setDescription(value: string): WorkflowVersionEvaluationTemplate;
|
|
8721
|
+
|
|
8722
|
+
getTaskTypesList(): Array<WorkflowVersionEvaluationTemplate.TaskType>;
|
|
8723
|
+
setTaskTypesList(value: Array<WorkflowVersionEvaluationTemplate.TaskType>): WorkflowVersionEvaluationTemplate;
|
|
8724
|
+
clearTaskTypesList(): WorkflowVersionEvaluationTemplate;
|
|
8725
|
+
addTaskTypes(value: WorkflowVersionEvaluationTemplate.TaskType, index?: number): WorkflowVersionEvaluationTemplate;
|
|
8726
|
+
|
|
8727
|
+
getWorkflowVersionEvaluationMetricsList(): Array<WorkflowVersionEvaluationMetric>;
|
|
8728
|
+
setWorkflowVersionEvaluationMetricsList(value: Array<WorkflowVersionEvaluationMetric>): WorkflowVersionEvaluationTemplate;
|
|
8729
|
+
clearWorkflowVersionEvaluationMetricsList(): WorkflowVersionEvaluationTemplate;
|
|
8730
|
+
addWorkflowVersionEvaluationMetrics(value?: WorkflowVersionEvaluationMetric, index?: number): WorkflowVersionEvaluationMetric;
|
|
8731
|
+
|
|
8732
|
+
serializeBinary(): Uint8Array;
|
|
8733
|
+
toObject(includeInstance?: boolean): WorkflowVersionEvaluationTemplate.AsObject;
|
|
8734
|
+
static toObject(includeInstance: boolean, msg: WorkflowVersionEvaluationTemplate): WorkflowVersionEvaluationTemplate.AsObject;
|
|
8735
|
+
static serializeBinaryToWriter(message: WorkflowVersionEvaluationTemplate, writer: jspb.BinaryWriter): void;
|
|
8736
|
+
static deserializeBinary(bytes: Uint8Array): WorkflowVersionEvaluationTemplate;
|
|
8737
|
+
static deserializeBinaryFromReader(message: WorkflowVersionEvaluationTemplate, reader: jspb.BinaryReader): WorkflowVersionEvaluationTemplate;
|
|
8738
|
+
}
|
|
8739
|
+
|
|
8740
|
+
export namespace WorkflowVersionEvaluationTemplate {
|
|
8741
|
+
export type AsObject = {
|
|
8742
|
+
id: string,
|
|
8743
|
+
description: string,
|
|
8744
|
+
taskTypesList: Array<WorkflowVersionEvaluationTemplate.TaskType>,
|
|
8745
|
+
workflowVersionEvaluationMetricsList: Array<WorkflowVersionEvaluationMetric.AsObject>,
|
|
8746
|
+
}
|
|
8747
|
+
|
|
8748
|
+
export enum TaskType {
|
|
8749
|
+
TASK_TYPE_NOT_SET = 0,
|
|
8750
|
+
TEXT_CLASSIFICATION = 1,
|
|
8751
|
+
}
|
|
8752
|
+
}
|
|
8753
|
+
|
|
8597
8754
|
export enum WorkflowModelUseCase {
|
|
8598
8755
|
WORKFLOW_MODEL_USE_CASE_NOT_SET = 0,
|
|
8599
8756
|
CLASSIFICATION = 1,
|