@maxim_mazurok/gapi.client.documentai-v1beta3 0.0.20240708 → 0.0.20240723
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 +21 -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=v1beta3
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20240723
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -2648,6 +2648,8 @@ declare namespace gapi.client {
|
|
|
2648
2648
|
displayName?: string;
|
|
2649
2649
|
/** The schema of the processor version. Describes the output. */
|
|
2650
2650
|
documentSchema?: GoogleCloudDocumentaiV1beta3DocumentSchema;
|
|
2651
|
+
/** Output only. Information about Generative AI model-based processor versions. */
|
|
2652
|
+
genAiModelInfo?: GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo;
|
|
2651
2653
|
/** Output only. Denotes that this `ProcessorVersion` is managed by Google. */
|
|
2652
2654
|
googleManaged?: boolean;
|
|
2653
2655
|
/** The KMS key name used for encryption. */
|
|
@@ -2679,6 +2681,24 @@ declare namespace gapi.client {
|
|
|
2679
2681
|
/** If set, the processor version that will be used as a replacement. */
|
|
2680
2682
|
replacementProcessorVersion?: string;
|
|
2681
2683
|
}
|
|
2684
|
+
interface GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfo {
|
|
2685
|
+
/** Information for a custom Generative AI model created by the user. */
|
|
2686
|
+
customGenAiModelInfo?: GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo;
|
|
2687
|
+
/** Information for a pretrained Google-managed foundation model. */
|
|
2688
|
+
foundationGenAiModelInfo?: GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo;
|
|
2689
|
+
}
|
|
2690
|
+
interface GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoCustomGenAiModelInfo {
|
|
2691
|
+
/** The base processor version ID for the custom model. */
|
|
2692
|
+
baseProcessorVersionId?: string;
|
|
2693
|
+
/** The type of custom model created by the user. */
|
|
2694
|
+
customModelType?: string;
|
|
2695
|
+
}
|
|
2696
|
+
interface GoogleCloudDocumentaiV1beta3ProcessorVersionGenAiModelInfoFoundationGenAiModelInfo {
|
|
2697
|
+
/** Whether finetuning is allowed for this base processor version. */
|
|
2698
|
+
finetuningAllowed?: boolean;
|
|
2699
|
+
/** The minimum number of labeled documents in the training dataset required for finetuning. */
|
|
2700
|
+
minTrainLabeledDocuments?: number;
|
|
2701
|
+
}
|
|
2682
2702
|
interface GoogleCloudDocumentaiV1beta3ProcessRequest {
|
|
2683
2703
|
/** The document payload, the content and mime_type fields must be set. */
|
|
2684
2704
|
document?: GoogleCloudDocumentaiV1beta3Document;
|