@maxim_mazurok/gapi.client.documentai-v1 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 +5 -16
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -568,9 +568,7 @@ declare namespace gapi.client {
|
|
|
568
568
|
baseProcessorVersionId?: string;
|
|
569
569
|
/** The type of custom model created by the user. */
|
|
570
570
|
customModelType?:
|
|
571
|
-
| '
|
|
572
|
-
| 'VERSIONED_FOUNDATION'
|
|
573
|
-
| 'FINE_TUNED';
|
|
571
|
+
'CUSTOM_MODEL_TYPE_UNSPECIFIED' | 'VERSIONED_FOUNDATION' | 'FINE_TUNED';
|
|
574
572
|
}
|
|
575
573
|
interface GoogleCloudDocumentaiUiv1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
|
|
576
574
|
/** Whether fine tuning is allowed for this base processor version. */
|
|
@@ -883,10 +881,7 @@ declare namespace gapi.client {
|
|
|
883
881
|
satisfiesPzs?: boolean;
|
|
884
882
|
/** Required. State of the dataset. Ignored when updating dataset. */
|
|
885
883
|
state?:
|
|
886
|
-
| '
|
|
887
|
-
| 'UNINITIALIZED'
|
|
888
|
-
| 'INITIALIZING'
|
|
889
|
-
| 'INITIALIZED';
|
|
884
|
+
'STATE_UNSPECIFIED' | 'UNINITIALIZED' | 'INITIALIZING' | 'INITIALIZED';
|
|
890
885
|
/** Optional. Unmanaged dataset configuration. Use this configuration if the dataset documents are managed by the document service internally (not user-managed). */
|
|
891
886
|
unmanagedDatasetConfig?: any;
|
|
892
887
|
}
|
|
@@ -1204,9 +1199,7 @@ declare namespace gapi.client {
|
|
|
1204
1199
|
baseProcessorVersionId?: string;
|
|
1205
1200
|
/** The type of custom model created by the user. */
|
|
1206
1201
|
customModelType?:
|
|
1207
|
-
| '
|
|
1208
|
-
| 'VERSIONED_FOUNDATION'
|
|
1209
|
-
| 'FINE_TUNED';
|
|
1202
|
+
'CUSTOM_MODEL_TYPE_UNSPECIFIED' | 'VERSIONED_FOUNDATION' | 'FINE_TUNED';
|
|
1210
1203
|
}
|
|
1211
1204
|
interface GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
|
|
1212
1205
|
/** Whether fine tuning is allowed for this base processor version. */
|
|
@@ -2483,9 +2476,7 @@ declare namespace gapi.client {
|
|
|
2483
2476
|
baseProcessorVersionId?: string;
|
|
2484
2477
|
/** The type of custom model created by the user. */
|
|
2485
2478
|
customModelType?:
|
|
2486
|
-
| '
|
|
2487
|
-
| 'VERSIONED_FOUNDATION'
|
|
2488
|
-
| 'FINE_TUNED';
|
|
2479
|
+
'CUSTOM_MODEL_TYPE_UNSPECIFIED' | 'VERSIONED_FOUNDATION' | 'FINE_TUNED';
|
|
2489
2480
|
}
|
|
2490
2481
|
interface GoogleCloudDocumentaiV1ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
|
|
2491
2482
|
/** Whether fine tuning is allowed for this base processor version. */
|
|
@@ -2621,9 +2612,7 @@ declare namespace gapi.client {
|
|
|
2621
2612
|
interface GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions {
|
|
2622
2613
|
/** Optional. Training method to use for CDE training. */
|
|
2623
2614
|
trainingMethod?:
|
|
2624
|
-
| '
|
|
2625
|
-
| 'MODEL_BASED'
|
|
2626
|
-
| 'TEMPLATE_BASED';
|
|
2615
|
+
'TRAINING_METHOD_UNSPECIFIED' | 'MODEL_BASED' | 'TEMPLATE_BASED';
|
|
2627
2616
|
}
|
|
2628
2617
|
interface GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions {
|
|
2629
2618
|
/** 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. */
|