tencentcloud-sdk-nodejs-ocr 4.1.228 → 4.1.232
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/package.json
CHANGED
|
@@ -5332,7 +5332,7 @@ export interface PassportRecognizeInfos {
|
|
|
5332
5332
|
*/
|
|
5333
5333
|
export interface SubmitExtractDocAgentJobResponse {
|
|
5334
5334
|
/**
|
|
5335
|
-
*
|
|
5335
|
+
* <p>任务唯一ID。由服务端生成。</p>
|
|
5336
5336
|
*/
|
|
5337
5337
|
JobId?: string;
|
|
5338
5338
|
/**
|
|
@@ -10497,34 +10497,38 @@ export interface Element {
|
|
|
10497
10497
|
*/
|
|
10498
10498
|
export interface SubmitExtractDocAgentJobRequest {
|
|
10499
10499
|
/**
|
|
10500
|
-
*
|
|
10500
|
+
* <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。</p>
|
|
10501
10501
|
*/
|
|
10502
10502
|
ImageBase64?: string;
|
|
10503
10503
|
/**
|
|
10504
|
-
*
|
|
10504
|
+
* <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。</p>
|
|
10505
10505
|
*/
|
|
10506
10506
|
ImageUrl?: string;
|
|
10507
10507
|
/**
|
|
10508
|
-
*
|
|
10508
|
+
* <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,当上传文件为PDF且IsPdf参数值为true时有效,默认值为前5页。</p>
|
|
10509
10509
|
* @deprecated
|
|
10510
10510
|
*/
|
|
10511
10511
|
PdfPageNumber?: number;
|
|
10512
10512
|
/**
|
|
10513
|
-
*
|
|
10513
|
+
* <p>自定义抽取需要的字段名称、字段类型、字段提示词。</p>
|
|
10514
10514
|
*/
|
|
10515
10515
|
ItemNames?: Array<ItemNames>;
|
|
10516
10516
|
/**
|
|
10517
|
-
*
|
|
10517
|
+
* <p>是否需要返回坐标,默认false。</p>
|
|
10518
10518
|
*/
|
|
10519
10519
|
EnableCoord?: boolean;
|
|
10520
10520
|
/**
|
|
10521
|
-
*
|
|
10521
|
+
* <p>起始页</p>
|
|
10522
10522
|
*/
|
|
10523
10523
|
FileStartPageNumber?: number;
|
|
10524
10524
|
/**
|
|
10525
|
-
*
|
|
10525
|
+
* <p>结束页</p>
|
|
10526
10526
|
*/
|
|
10527
10527
|
FileEndPageNumber?: number;
|
|
10528
|
+
/**
|
|
10529
|
+
* <p>model_hunyuan:选择混元底座视觉大模型精调抽取任务 model_youtu:选择优图底座多模态大模型精调抽取任务</p>
|
|
10530
|
+
*/
|
|
10531
|
+
ModelConfig?: string;
|
|
10528
10532
|
}
|
|
10529
10533
|
/**
|
|
10530
10534
|
* ExtractDocAgent请求参数结构体
|