@maxim_mazurok/gapi.client.documentai-v1 0.0.20240304 → 0.0.20240314
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 +9 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://documentai.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240314
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2447,6 +2447,8 @@ declare namespace gapi.client {
|
|
|
2447
2447
|
customDocumentExtractionOptions?: GoogleCloudDocumentaiV1TrainProcessorVersionRequestCustomDocumentExtractionOptions;
|
|
2448
2448
|
/** Optional. The schema the processor version will be trained with. */
|
|
2449
2449
|
documentSchema?: GoogleCloudDocumentaiV1DocumentSchema;
|
|
2450
|
+
/** Options to control foundation model tuning of a processor. */
|
|
2451
|
+
foundationModelTuningOptions?: GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions;
|
|
2450
2452
|
/** Optional. The input data used to train the ProcessorVersion. */
|
|
2451
2453
|
inputData?: GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData;
|
|
2452
2454
|
/** Required. The processor version to be created. */
|
|
@@ -2456,6 +2458,12 @@ declare namespace gapi.client {
|
|
|
2456
2458
|
/** Training method to use for CDE training. */
|
|
2457
2459
|
trainingMethod?: string;
|
|
2458
2460
|
}
|
|
2461
|
+
interface GoogleCloudDocumentaiV1TrainProcessorVersionRequestFoundationModelTuningOptions {
|
|
2462
|
+
/** 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. */
|
|
2463
|
+
learningRateMultiplier?: number;
|
|
2464
|
+
/** Optional. The number of steps to run for model tuning. Valid values are between 1 and 400. If not provided, recommended steps will be used. */
|
|
2465
|
+
trainSteps?: number;
|
|
2466
|
+
}
|
|
2459
2467
|
interface GoogleCloudDocumentaiV1TrainProcessorVersionRequestInputData {
|
|
2460
2468
|
/** The documents used for testing the trained version. */
|
|
2461
2469
|
testDocuments?: GoogleCloudDocumentaiV1BatchDocumentsInputConfig;
|