tencentcloud-sdk-nodejs-ocr 4.1.211 → 4.1.213

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "tencentcloud-sdk-nodejs-ocr",
3
- "version": "4.1.211",
3
+ "version": "4.1.213",
4
4
  "description": "腾讯云 API NODEJS SDK",
5
5
  "main": "./tencentcloud/index.js",
6
6
  "module": "./es/index.js",
@@ -1678,35 +1678,43 @@ export interface SealInfo {
1678
1678
  */
1679
1679
  export interface SubmitQuestionMarkAgentJobRequest {
1680
1680
  /**
1681
- * 图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==
1681
+ * <p>图片/PDF的 Base64 值。要求Base64不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片的 ImageUrl、ImageBase64 必须提供一个,如果都提供,只使用 ImageUrl。 示例值:/9j/4AAQSkZJRg.....s97n//2Q==</p>
1682
1682
  */
1683
1683
  ImageBase64?: string;
1684
1684
  /**
1685
- * 图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg
1685
+ * <p>图片/PDF的 Url 地址。要求图片经Base64编码后不超过10M,分辨率建议600*800以上,支持PNG、JPG、JPEG、BMP、PDF格式。图片下载时间不超过 3 秒。图片存储于腾讯云的 Url 可保障更高的下载速度和稳定性,建议图片存储于腾讯云。非腾讯云存储的 Url 速度和稳定性可能受一定影响。 示例值:https://ocr-demo-1254418846.cos.ap-guangzhou.myqcloud.com/general/GeneralAccurateOCR/GeneralAccurateOCR1.jpg</p>
1686
1686
  */
1687
1687
  ImageUrl?: string;
1688
1688
  /**
1689
- * 需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1
1689
+ * <p>需要识别的PDF页面的对应页码,仅支持PDF单页识别,默认值为1。</p>
1690
1690
  */
1691
1691
  PdfPageNumber?: number;
1692
1692
  /**
1693
- * 表示整张试卷批改需要先切题,默认为false
1693
+ * <p>表示整张试卷批改需要先切题,默认为false</p>
1694
1694
  * @deprecated
1695
1695
  */
1696
1696
  BoolSingleQuestion?: boolean;
1697
1697
  /**
1698
- * 默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢
1698
+ * <p>默认false 表示关闭深度思考 true 表示打开深度思考,更深层次推理分析,速度更慢</p>
1699
1699
  * @deprecated
1700
1700
  */
1701
1701
  EnableDeepThink?: boolean;
1702
1702
  /**
1703
- * 题目信息输出配置,当key对应为true表示开启配置开关。 当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;当key为TrueAnswer value为true 表示输出每道题的正确答案 ;当key为ReturnAnswerPosition value为false表示不输出手写答案坐标(降低处理耗时,按需输出); 设置方式参考 {"KnowledgePoints":true,"TrueAnswer":true}
1703
+ * <p>题目信息输出配置,当key对应为true表示开启配置开关。</p><p>当key为KnowledgePoints value为true 表示输出每道题结构信息中输出知识点内容;<br>当key为TrueAnswer value为true 表示输出每道题的正确答案 ;<br>当key为StepCorrection value为true表示启用步骤级批改;</p><p> 设置方式参考 {&quot;KnowledgePoints&quot;:true,&quot;TrueAnswer&quot;:true}</p><p>参数格式:{&quot;KnowledgePoints&quot;:true,&quot;TrueAnswer&quot;:true}</p>
1704
1704
  */
1705
1705
  QuestionConfigMap?: string;
1706
1706
  /**
1707
- * 仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中
1707
+ * <p>仅有单题有效,如果切题有多题则不生效,单题批改的时候作为参考答案输入到批改模型中</p>
1708
1708
  */
1709
1709
  ReferenceAnswer?: string;
1710
+ /**
1711
+ * <p>图片/PDF的 Base64 列表值,最多三张。每张图片要求参考ImageBase64 1. 如果ImageBase64List或者ImageUrlList 都没值则取ImageBase64 或者ImageUrl 2.如果ImageBase64List或者ImageUrlList 有一个值,则不取ImageBase64 或者ImageUrl值,优先去list 3.如果ImageBase64List或者ImageUrlList 都有值,则取ImageUrlList</p>
1712
+ */
1713
+ ImageBase64List?: Array<string>;
1714
+ /**
1715
+ * <p>图片/PDF的 Url 地址Base64 列表值,最多三张。每张图片要求参考ImageUrl。 图片生效规则同ImageBase64List</p>
1716
+ */
1717
+ ImageUrlList?: Array<string>;
1710
1718
  }
1711
1719
  /**
1712
1720
  * 通用机打发票信息
@@ -6307,15 +6315,15 @@ export interface AirTicketInfo {
6307
6315
  */
6308
6316
  export interface SubmitQuestionMarkAgentJobResponse {
6309
6317
  /**
6310
- * 任务唯一ID。由服务端生成.
6318
+ * <p>任务唯一ID。由服务端生成.</p>
6311
6319
  */
6312
6320
  JobId?: string;
6313
6321
  /**
6314
- * 切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)
6322
+ * <p>切题题目边框坐标列表 (如果BoolSingleQuestion为true则返回空)</p>
6315
6323
  */
6316
6324
  QuestionInfo?: Array<QuestionInfo>;
6317
6325
  /**
6318
- * 题目切题数量,作为计费题目数总量
6326
+ * <p>题目切题数量,作为计费题目数总量</p>
6319
6327
  */
6320
6328
  QuestionCount?: string;
6321
6329
  /**
@@ -8784,19 +8792,29 @@ export interface InsuranceBillInfo {
8784
8792
  */
8785
8793
  export interface MarkInfo {
8786
8794
  /**
8787
- * 题目的题干信息
8788
-
8789
-
8795
+ * <p>题目的题干信息</p>
8790
8796
  */
8791
8797
  MarkItemTitle?: string;
8792
8798
  /**
8793
- * 批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)
8799
+ * <p>批改答案列表(每个小题存在多个答案,比如多个填空区域答案,循序按照从左到右,从上到下排列)</p>
8794
8800
  */
8795
8801
  AnswerInfos?: Array<AnswerInfo>;
8796
8802
  /**
8797
- * 嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)
8803
+ * <p>嵌套题目结构(如果有多层嵌套则会返回子题信息,如果没有嵌套题目则返回空)</p>
8798
8804
  */
8799
8805
  MarkInfos?: Array<MarkInfo>;
8806
+ /**
8807
+ * <p>题干坐标</p><p>单位:px</p>
8808
+ */
8809
+ QuestionPositions?: Array<number | bigint>;
8810
+ /**
8811
+ * <p>题干插图坐标列表,每个元素包含一张插图的4个角点坐标</p>
8812
+ */
8813
+ QuestionImagePositions?: Array<Positions>;
8814
+ /**
8815
+ * <p>题目级正确答案(步骤批改时使用,包含完整解题步骤)</p>
8816
+ */
8817
+ RightAnswer?: string;
8800
8818
  }
8801
8819
  /**
8802
8820
  * 单题所有答案区域批改信息