@maxim_mazurok/gapi.client.documentai-v1beta3 0.1.20260608 → 0.2.20260608
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/index.d.ts +10 -15
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -572,9 +572,7 @@ declare namespace gapi.client {
|
|
|
572
572
|
baseProcessorVersionId?: string;
|
|
573
573
|
/** The type of custom model created by the user. */
|
|
574
574
|
customModelType?:
|
|
575
|
-
| '
|
|
576
|
-
| 'VERSIONED_FOUNDATION'
|
|
577
|
-
| 'FINE_TUNED';
|
|
575
|
+
'CUSTOM_MODEL_TYPE_UNSPECIFIED' | 'VERSIONED_FOUNDATION' | 'FINE_TUNED';
|
|
578
576
|
}
|
|
579
577
|
interface GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
|
|
580
578
|
/** Whether fine tuning is allowed for this base processor version. */
|
|
@@ -921,10 +919,7 @@ declare namespace gapi.client {
|
|
|
921
919
|
satisfiesPzs?: boolean;
|
|
922
920
|
/** Required. State of the dataset. Ignored when updating dataset. */
|
|
923
921
|
state?:
|
|
924
|
-
| '
|
|
925
|
-
| 'UNINITIALIZED'
|
|
926
|
-
| 'INITIALIZING'
|
|
927
|
-
| 'INITIALIZED';
|
|
922
|
+
'STATE_UNSPECIFIED' | 'UNINITIALIZED' | 'INITIALIZING' | 'INITIALIZED';
|
|
928
923
|
/** Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed). */
|
|
929
924
|
unmanagedDatasetConfig?: any;
|
|
930
925
|
}
|
|
@@ -1761,7 +1756,9 @@ declare namespace gapi.client {
|
|
|
1761
1756
|
documentCounters?: GoogleCloudDocumentaiV1beta3EvaluationCounters;
|
|
1762
1757
|
/** Metrics across confidence levels, for different entities. */
|
|
1763
1758
|
entityMetrics?: {
|
|
1764
|
-
[
|
|
1759
|
+
[
|
|
1760
|
+
P in string
|
|
1761
|
+
]: GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics;
|
|
1765
1762
|
};
|
|
1766
1763
|
/** The KMS key name used for encryption. */
|
|
1767
1764
|
kmsKeyName?: string;
|
|
@@ -1795,7 +1792,9 @@ declare namespace gapi.client {
|
|
|
1795
1792
|
documentCounters?: GoogleCloudDocumentaiV1beta3EvaluationCounters;
|
|
1796
1793
|
/** Output only. Metrics across confidence levels, for different entities. */
|
|
1797
1794
|
entityMetrics?: {
|
|
1798
|
-
[
|
|
1795
|
+
[
|
|
1796
|
+
P in string
|
|
1797
|
+
]: GoogleCloudDocumentaiV1beta3EvaluationMultiConfidenceMetrics;
|
|
1799
1798
|
};
|
|
1800
1799
|
/** Output only. The revision ID of the evaluation. */
|
|
1801
1800
|
revisionId?: string;
|
|
@@ -2256,9 +2255,7 @@ declare namespace gapi.client {
|
|
|
2256
2255
|
baseProcessorVersionId?: string;
|
|
2257
2256
|
/** The type of custom model created by the user. */
|
|
2258
2257
|
customModelType?:
|
|
2259
|
-
| '
|
|
2260
|
-
| 'VERSIONED_FOUNDATION'
|
|
2261
|
-
| 'FINE_TUNED';
|
|
2258
|
+
'CUSTOM_MODEL_TYPE_UNSPECIFIED' | 'VERSIONED_FOUNDATION' | 'FINE_TUNED';
|
|
2262
2259
|
}
|
|
2263
2260
|
interface GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
|
|
2264
2261
|
/** Whether fine tuning is allowed for this base processor version. */
|
|
@@ -2438,9 +2435,7 @@ declare namespace gapi.client {
|
|
|
2438
2435
|
interface GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestCustomDocumentExtractionOptions {
|
|
2439
2436
|
/** Optional. Training method to use for CDE training. */
|
|
2440
2437
|
trainingMethod?:
|
|
2441
|
-
| '
|
|
2442
|
-
| 'MODEL_BASED'
|
|
2443
|
-
| 'TEMPLATE_BASED';
|
|
2438
|
+
'TRAINING_METHOD_UNSPECIFIED' | 'MODEL_BASED' | 'TEMPLATE_BASED';
|
|
2444
2439
|
}
|
|
2445
2440
|
interface GoogleCloudDocumentaiV1beta3TrainProcessorVersionRequestFoundationModelTuningOptions {
|
|
2446
2441
|
/** Optional. The multiplier to apply to the recommended learning rate. Valid values are between 0.1 and 10. If not provided, recommended learning rate will be used. */
|