tccli 3.0.1405.1__py2.py3-none-any.whl → 3.0.1407.1__py2.py3-none-any.whl
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.
- tccli/__init__.py +1 -1
 - tccli/services/autoscaling/v20180419/api.json +1 -1
 - tccli/services/batch/v20170312/api.json +1 -1
 - tccli/services/cdb/v20170320/api.json +31 -21
 - tccli/services/cdn/v20180606/api.json +1 -1
 - tccli/services/cloudhsm/v20191112/api.json +10 -10
 - tccli/services/cls/v20201016/api.json +40 -31
 - tccli/services/cls/v20201016/examples.json +8 -2
 - tccli/services/ctem/v20231128/api.json +30 -0
 - tccli/services/dbbrain/v20210527/api.json +17 -7
 - tccli/services/dbbrain/v20210527/examples.json +1 -1
 - tccli/services/dts/v20211206/api.json +16 -6
 - tccli/services/emr/v20190103/api.json +9 -0
 - tccli/services/es/es_client.py +57 -4
 - tccli/services/es/v20250101/api.json +133 -0
 - tccli/services/es/v20250101/examples.json +8 -0
 - tccli/services/ess/ess_client.py +212 -0
 - tccli/services/ess/v20201111/api.json +508 -24
 - tccli/services/ess/v20201111/examples.json +41 -3
 - tccli/services/essbasic/v20210526/api.json +12 -3
 - tccli/services/essbasic/v20210526/examples.json +2 -2
 - tccli/services/gwlb/gwlb_client.py +53 -0
 - tccli/services/gwlb/v20240906/api.json +80 -0
 - tccli/services/gwlb/v20240906/examples.json +8 -0
 - tccli/services/hunyuan/v20230901/api.json +2 -2
 - tccli/services/ioa/ioa_client.py +220 -8
 - tccli/services/ioa/v20220601/api.json +559 -0
 - tccli/services/ioa/v20220601/examples.json +38 -0
 - tccli/services/iotexplorer/iotexplorer_client.py +220 -8
 - tccli/services/iotexplorer/v20190423/api.json +959 -12
 - tccli/services/iotexplorer/v20190423/examples.json +68 -0
 - tccli/services/lcic/v20220817/api.json +2 -2
 - tccli/services/lke/v20231130/api.json +1 -1
 - tccli/services/lke/v20231130/examples.json +2 -2
 - tccli/services/lkeap/v20240522/api.json +1 -1
 - tccli/services/lkeap/v20240522/examples.json +7 -1
 - tccli/services/monitor/monitor_client.py +53 -0
 - tccli/services/monitor/v20180724/api.json +248 -0
 - tccli/services/monitor/v20180724/examples.json +8 -0
 - tccli/services/mps/v20190612/api.json +384 -2
 - tccli/services/mqtt/v20240516/api.json +10 -0
 - tccli/services/mqtt/v20240516/examples.json +3 -9
 - tccli/services/nlp/v20190408/api.json +6 -6
 - tccli/services/oceanus/oceanus_client.py +110 -4
 - tccli/services/oceanus/v20190422/api.json +152 -8
 - tccli/services/oceanus/v20190422/examples.json +16 -0
 - tccli/services/ocr/v20181119/api.json +10 -0
 - tccli/services/privatedns/privatedns_client.py +641 -58
 - tccli/services/privatedns/v20201028/api.json +923 -12
 - tccli/services/privatedns/v20201028/examples.json +88 -0
 - tccli/services/redis/v20180412/api.json +1 -1
 - tccli/services/teo/v20220901/api.json +206 -66
 - tccli/services/teo/v20220901/examples.json +32 -8
 - tccli/services/tione/v20211111/api.json +1 -1
 - tccli/services/tke/v20180525/api.json +23 -14
 - tccli/services/tke/v20180525/examples.json +1 -1
 - tccli/services/trtc/v20190722/api.json +9 -9
 - tccli/services/trtc/v20190722/examples.json +1 -1
 - tccli/services/tse/v20201207/api.json +30 -1
 - tccli/services/vpc/v20170312/api.json +11 -2
 - tccli/services/wedata/v20210820/api.json +1281 -601
 - tccli/services/wedata/v20210820/examples.json +127 -157
 - tccli/services/wedata/v20250806/api.json +480 -18
 - tccli/services/wedata/v20250806/examples.json +38 -6
 - tccli/services/wedata/wedata_client.py +216 -4
 - {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/METADATA +2 -2
 - {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/RECORD +70 -70
 - {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/WHEEL +0 -0
 - {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/entry_points.txt +0 -0
 - {tccli-3.0.1405.1.dist-info → tccli-3.0.1407.1.dist-info}/license_files/LICENSE +0 -0
 
| 
         @@ -4975,8 +4975,8 @@ 
     | 
|
| 
       4975 
4975 
     | 
    
         
             
                    },
         
     | 
| 
       4976 
4976 
     | 
    
         
             
                    {
         
     | 
| 
       4977 
4977 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       4978 
     | 
    
         
            -
                      "document": " 
     | 
| 
       4979 
     | 
    
         
            -
                      "example": " 
     | 
| 
      
 4978 
     | 
    
         
            +
                      "document": "线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。",
         
     | 
| 
      
 4979 
     | 
    
         
            +
                      "example": "Updating",
         
     | 
| 
       4980 
4980 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       4981 
4981 
     | 
    
         
             
                      "name": "State",
         
     | 
| 
       4982 
4982 
     | 
    
         
             
                      "required": false,
         
     | 
| 
         @@ -4984,7 +4984,7 @@ 
     | 
|
| 
       4984 
4984 
     | 
    
         
             
                    },
         
     | 
| 
       4985 
4985 
     | 
    
         
             
                    {
         
     | 
| 
       4986 
4986 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       4987 
     | 
    
         
            -
                      "document": " 
     | 
| 
      
 4987 
     | 
    
         
            +
                      "document": "线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。",
         
     | 
| 
       4988 
4988 
     | 
    
         
             
                      "example": "Execute",
         
     | 
| 
       4989 
4989 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       4990 
4990 
     | 
    
         
             
                      "name": "Command",
         
     | 
| 
         @@ -5020,7 +5020,7 @@ 
     | 
|
| 
       5020 
5020 
     | 
    
         
             
                    },
         
     | 
| 
       5021 
5021 
     | 
    
         
             
                    {
         
     | 
| 
       5022 
5022 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       5023 
     | 
    
         
            -
                      "document": "服务产品类型,支持值:\"mysql\" - 云数据库 MySQL;\"cynosdb\" 
     | 
| 
      
 5023 
     | 
    
         
            +
                      "document": "服务产品类型,支持值:\"mysql\" - 云数据库 MySQL;\"mariadb\"-mariadb;\"cynosdb\"-TDSQL-C for MySQL ;\"dcdb\"-TDSQL MySQL 默认为\"mysql\"。\n\n",
         
     | 
| 
       5024 
5024 
     | 
    
         
             
                      "example": "mysql",
         
     | 
| 
       5025 
5025 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       5026 
5026 
     | 
    
         
             
                      "name": "Product",
         
     | 
| 
         @@ -5054,7 +5054,7 @@ 
     | 
|
| 
       5054 
5054 
     | 
    
         
             
                    },
         
     | 
| 
       5055 
5055 
     | 
    
         
             
                    {
         
     | 
| 
       5056 
5056 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       5057 
     | 
    
         
            -
                      "document": "sql 
     | 
| 
      
 5057 
     | 
    
         
            +
                      "document": "sql会话统计信息。如果请求参数中包含StatDimensions,该参数则可能返回,否则不返回。",
         
     | 
| 
       5058 
5058 
     | 
    
         
             
                      "example": "无",
         
     | 
| 
       5059 
5059 
     | 
    
         
             
                      "member": "StatisticInfo",
         
     | 
| 
       5060 
5060 
     | 
    
         
             
                      "name": "Statistics",
         
     | 
| 
         @@ -9700,7 +9700,7 @@ 
     | 
|
| 
       9700 
9700 
     | 
    
         
             
                    },
         
     | 
| 
       9701 
9701 
     | 
    
         
             
                    {
         
     | 
| 
       9702 
9702 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       9703 
     | 
    
         
            -
                      "document": " 
     | 
| 
      
 9703 
     | 
    
         
            +
                      "document": "线程的操作状态。包含以下枚举值:Sending data-线程正在处理查询结果, Sorting result-线程正在对查询结果进行排序,Creating tmp table-线程正在创建临时表,Altering table-线程正在执行表结构变更,Updating-线程执行更新中。",
         
     | 
| 
       9704 
9704 
     | 
    
         
             
                      "example": "updating",
         
     | 
| 
       9705 
9705 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       9706 
9706 
     | 
    
         
             
                      "name": "State",
         
     | 
| 
         @@ -9710,7 +9710,7 @@ 
     | 
|
| 
       9710 
9710 
     | 
    
         
             
                    },
         
     | 
| 
       9711 
9711 
     | 
    
         
             
                    {
         
     | 
| 
       9712 
9712 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       9713 
     | 
    
         
            -
                      "document": " 
     | 
| 
      
 9713 
     | 
    
         
            +
                      "document": "线程的执行类型。包含以下枚举值:Sleep-线程处于空闲状态,Query-线程正在执行一个查询,Connect-从服务器连接到主服务器,Execute-线程正在执行预处理语句。",
         
     | 
| 
       9714 
9714 
     | 
    
         
             
                      "example": "Execute",
         
     | 
| 
       9715 
9715 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       9716 
9716 
     | 
    
         
             
                      "name": "Command",
         
     | 
| 
         @@ -9737,6 +9737,16 @@ 
     | 
|
| 
       9737 
9737 
     | 
    
         
             
                      "output_required": true,
         
     | 
| 
       9738 
9738 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       9739 
9739 
     | 
    
         
             
                      "value_allowed_null": false
         
     | 
| 
      
 9740 
     | 
    
         
            +
                    },
         
     | 
| 
      
 9741 
     | 
    
         
            +
                    {
         
     | 
| 
      
 9742 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 9743 
     | 
    
         
            +
                      "document": "sql类型\n注意:此字段可能返回 null,表示取不到有效值。",
         
     | 
| 
      
 9744 
     | 
    
         
            +
                      "example": "StartTransaction,SQLSelectStatement,MySqlDeleteStatement",
         
     | 
| 
      
 9745 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 9746 
     | 
    
         
            +
                      "name": "SqlType",
         
     | 
| 
      
 9747 
     | 
    
         
            +
                      "output_required": true,
         
     | 
| 
      
 9748 
     | 
    
         
            +
                      "type": "string",
         
     | 
| 
      
 9749 
     | 
    
         
            +
                      "value_allowed_null": true
         
     | 
| 
       9740 
9750 
     | 
    
         
             
                    }
         
     | 
| 
       9741 
9751 
     | 
    
         
             
                  ],
         
     | 
| 
       9742 
9752 
     | 
    
         
             
                  "usage": "out"
         
     | 
| 
         @@ -356,7 +356,7 @@ 
     | 
|
| 
       356 
356 
     | 
    
         
             
                  {
         
     | 
| 
       357 
357 
     | 
    
         
             
                    "document": "",
         
     | 
| 
       358 
358 
     | 
    
         
             
                    "input": "https://dbbrain.tencentcloudapi.com/?Action=DescribeMySqlProcessList\n&Product=mysql\n&InstanceId=cdb-test\n&User=root\n&<公共请求参数>",
         
     | 
| 
       359 
     | 
    
         
            -
                    "output": "{\n    \"Response\": {\n        \"ProcessList\": [\n            {\n                \"Command\": \"Query\",\n                \"DB\": \"\",\n                \"Host\": \"100.98.212.252:29285\",\n                \"ID\": \"2075425\",\n                \"Info\": \"/* p = 2342 , f=abd */  select sleep(1000)\",\n                \"State\": \"User sleep\",\n                \"Time\": \"103\",\n                \"User\": \"root\"\n            }\n        ],\n        \"RequestId\": \"7d0d84f2-d4c0-4349-b5a3-cd70b6efbdfe\",\n        \"Statistics\": [\n            {\n                \"Data\": [\n                    {\n                        \"Count\": 1,\n                        \"Name\": \"f=abd,p=2342\",\n                        \"TimeAvg\": 103,\n                        \"TimeSum\": 103\n                    }\n                ],\n                \"Dimension\": \"SqlTag\"\n            }\n        ]\n    }\n}",
         
     | 
| 
      
 359 
     | 
    
         
            +
                    "output": "{\n    \"Response\": {\n        \"ProcessList\": [\n            {\n                \"Command\": \"Query\",\n                \"DB\": \"\",\n                \"Host\": \"100.98.212.252:29285\",\n                \"ID\": \"2075425\",\n                \"Info\": \"/* p = 2342 , f=abd */  select sleep(1000)\",\n                \"State\": \"User sleep\",\n                \"Time\": \"103\",\n                \"User\": \"root\",\n                \"SqlType\": \"SQLSelectStatement\"\n            }\n        ],\n        \"RequestId\": \"7d0d84f2-d4c0-4349-b5a3-cd70b6efbdfe\",\n        \"Statistics\": [\n            {\n                \"Data\": [\n                    {\n                        \"Count\": 1,\n                        \"Name\": \"f=abd,p=2342\",\n                        \"TimeAvg\": 103,\n                        \"TimeSum\": 103\n                    }\n                ],\n                \"Dimension\": \"SqlTag\"\n            }\n        ]\n    }\n}",
         
     | 
| 
       360 
360 
     | 
    
         
             
                    "title": "查询实时线程列表。"
         
     | 
| 
       361 
361 
     | 
    
         
             
                  }
         
     | 
| 
       362 
362 
     | 
    
         
             
                ],
         
     | 
| 
         @@ -449,7 +449,7 @@ 
     | 
|
| 
       449 
449 
     | 
    
         
             
                  "status": "online"
         
     | 
| 
       450 
450 
     | 
    
         
             
                },
         
     | 
| 
       451 
451 
     | 
    
         
             
                "StartCompare": {
         
     | 
| 
       452 
     | 
    
         
            -
                  "document": " 
     | 
| 
      
 452 
     | 
    
         
            +
                  "document": "启动一致性校验任务,启动之前需要先通过接口 [CreateCompareTask](https://cloud.tencent.com/document/product/571/82093) 创建一致性校验任务,启动后可通过接口 [DescribeCompareTasks](https://cloud.tencent.com/document/product/571/82088) 查询一致性校验任务列表来获得启动后的状态",
         
     | 
| 
       453 
453 
     | 
    
         
             
                  "input": "StartCompareRequest",
         
     | 
| 
       454 
454 
     | 
    
         
             
                  "name": "启动一致性校验任务",
         
     | 
| 
       455 
455 
     | 
    
         
             
                  "output": "StartCompareResponse",
         
     | 
| 
         @@ -5436,6 +5436,16 @@ 
     | 
|
| 
       5436 
5436 
     | 
    
         
             
                      "type": "string",
         
     | 
| 
       5437 
5437 
     | 
    
         
             
                      "value_allowed_null": false
         
     | 
| 
       5438 
5438 
     | 
    
         
             
                    },
         
     | 
| 
      
 5439 
     | 
    
         
            +
                    {
         
     | 
| 
      
 5440 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 5441 
     | 
    
         
            +
                      "document": "创建时间",
         
     | 
| 
      
 5442 
     | 
    
         
            +
                      "example": "2023-10-26 18:49:00",
         
     | 
| 
      
 5443 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 5444 
     | 
    
         
            +
                      "name": "CreatedAt",
         
     | 
| 
      
 5445 
     | 
    
         
            +
                      "output_required": false,
         
     | 
| 
      
 5446 
     | 
    
         
            +
                      "type": "string",
         
     | 
| 
      
 5447 
     | 
    
         
            +
                      "value_allowed_null": false
         
     | 
| 
      
 5448 
     | 
    
         
            +
                    },
         
     | 
| 
       5439 
5449 
     | 
    
         
             
                    {
         
     | 
| 
       5440 
5450 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       5441 
5451 
     | 
    
         
             
                      "document": "更新时间",
         
     | 
| 
         @@ -9110,7 +9120,7 @@ 
     | 
|
| 
       9110 
9120 
     | 
    
         
             
                  "members": [
         
     | 
| 
       9111 
9121 
     | 
    
         
             
                    {
         
     | 
| 
       9112 
9122 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       9113 
     | 
    
         
            -
                      "document": "迁移任务  
     | 
| 
      
 9123 
     | 
    
         
            +
                      "document": "迁移任务 ID,可通过 [DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084) 接口获取。\n",
         
     | 
| 
       9114 
9124 
     | 
    
         
             
                      "example": "dts-8yv4w2i1",
         
     | 
| 
       9115 
9125 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       9116 
9126 
     | 
    
         
             
                      "name": "JobId",
         
     | 
| 
         @@ -9119,7 +9129,7 @@ 
     | 
|
| 
       9119 
9129 
     | 
    
         
             
                    },
         
     | 
| 
       9120 
9130 
     | 
    
         
             
                    {
         
     | 
| 
       9121 
9131 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       9122 
     | 
    
         
            -
                      "document": "对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9",
         
     | 
| 
      
 9132 
     | 
    
         
            +
                      "document": "对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过 [DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084) 接口获取。\n",
         
     | 
| 
       9123 
9133 
     | 
    
         
             
                      "example": "dts-8yv4w2i1-cmp-37skmii9",
         
     | 
| 
       9124 
9134 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       9125 
9135 
     | 
    
         
             
                      "name": "CompareTaskId",
         
     | 
| 
         @@ -9505,7 +9515,7 @@ 
     | 
|
| 
       9505 
9515 
     | 
    
         
             
                  "members": [
         
     | 
| 
       9506 
9516 
     | 
    
         
             
                    {
         
     | 
| 
       9507 
9517 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       9508 
     | 
    
         
            -
                      "document": "迁移任务 Id",
         
     | 
| 
      
 9518 
     | 
    
         
            +
                      "document": "迁移任务 Id,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。\n",
         
     | 
| 
       9509 
9519 
     | 
    
         
             
                      "example": "dts-amm1jw5q",
         
     | 
| 
       9510 
9520 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       9511 
9521 
     | 
    
         
             
                      "name": "JobId",
         
     | 
| 
         @@ -9514,7 +9524,7 @@ 
     | 
|
| 
       9514 
9524 
     | 
    
         
             
                    },
         
     | 
| 
       9515 
9525 
     | 
    
         
             
                    {
         
     | 
| 
       9516 
9526 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       9517 
     | 
    
         
            -
                      "document": "对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9",
         
     | 
| 
      
 9527 
     | 
    
         
            +
                      "document": "对比任务 ID,形如:dts-8yv4w2i1-cmp-37skmii9,可通过[DescribeMigrationJobs](https://cloud.tencent.com/document/product/571/82084)接口获取。\n",
         
     | 
| 
       9518 
9528 
     | 
    
         
             
                      "example": "dts-8yv4w2i1-cmp-37skmii9",
         
     | 
| 
       9519 
9529 
     | 
    
         
             
                      "member": "string",
         
     | 
| 
       9520 
9530 
     | 
    
         
             
                      "name": "CompareTaskId",
         
     | 
| 
         @@ -9523,7 +9533,7 @@ 
     | 
|
| 
       9523 
9533 
     | 
    
         
             
                    },
         
     | 
| 
       9524 
9534 
     | 
    
         
             
                    {
         
     | 
| 
       9525 
9535 
     | 
    
         
             
                      "disabled": false,
         
     | 
| 
       9526 
     | 
    
         
            -
                      "document": " 
     | 
| 
      
 9536 
     | 
    
         
            +
                      "document": "是否强制停止。默认值为false,表示不强制停止;如果填true,同步任务增量阶段会跳过一致性校验产生的binlog,达到快速恢复任务的效果",
         
     | 
| 
       9527 
9537 
     | 
    
         
             
                      "example": "true",
         
     | 
| 
       9528 
9538 
     | 
    
         
             
                      "member": "bool",
         
     | 
| 
       9529 
9539 
     | 
    
         
             
                      "name": "ForceStop",
         
     | 
| 
         @@ -6423,6 +6423,15 @@ 
     | 
|
| 
       6423 
6423 
     | 
    
         
             
                      "name": "Filters",
         
     | 
| 
       6424 
6424 
     | 
    
         
             
                      "required": false,
         
     | 
| 
       6425 
6425 
     | 
    
         
             
                      "type": "list"
         
     | 
| 
      
 6426 
     | 
    
         
            +
                    },
         
     | 
| 
      
 6427 
     | 
    
         
            +
                    {
         
     | 
| 
      
 6428 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 6429 
     | 
    
         
            +
                      "document": "默认0为普通集群,2为tke集群",
         
     | 
| 
      
 6430 
     | 
    
         
            +
                      "example": "0",
         
     | 
| 
      
 6431 
     | 
    
         
            +
                      "member": "int64",
         
     | 
| 
      
 6432 
     | 
    
         
            +
                      "name": "ClusterType",
         
     | 
| 
      
 6433 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 6434 
     | 
    
         
            +
                      "type": "int"
         
     | 
| 
       6426 
6435 
     | 
    
         
             
                    }
         
     | 
| 
       6427 
6436 
     | 
    
         
             
                  ],
         
     | 
| 
       6428 
6437 
     | 
    
         
             
                  "type": "object"
         
     | 
    
        tccli/services/es/es_client.py
    CHANGED
    
    | 
         @@ -2463,6 +2463,58 @@ def doUpdateIndex(args, parsed_globals): 
     | 
|
| 
       2463 
2463 
     | 
    
         
             
                FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
         
     | 
| 
       2464 
2464 
     | 
    
         | 
| 
       2465 
2465 
     | 
    
         | 
| 
      
 2466 
     | 
    
         
            +
            def doDescribeLogstashInstanceOperations(args, parsed_globals):
         
     | 
| 
      
 2467 
     | 
    
         
            +
                g_param = parse_global_arg(parsed_globals)
         
     | 
| 
      
 2468 
     | 
    
         
            +
             
     | 
| 
      
 2469 
     | 
    
         
            +
                if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
         
     | 
| 
      
 2470 
     | 
    
         
            +
                    cred = credential.CVMRoleCredential()
         
     | 
| 
      
 2471 
     | 
    
         
            +
                elif g_param[OptionsDefine.RoleArn.replace('-', '_')] and g_param[OptionsDefine.RoleSessionName.replace('-', '_')]:
         
     | 
| 
      
 2472 
     | 
    
         
            +
                    cred = credential.STSAssumeRoleCredential(
         
     | 
| 
      
 2473 
     | 
    
         
            +
                        g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.RoleArn.replace('-', '_')],
         
     | 
| 
      
 2474 
     | 
    
         
            +
                        g_param[OptionsDefine.RoleSessionName.replace('-', '_')], endpoint=g_param["sts_cred_endpoint"]
         
     | 
| 
      
 2475 
     | 
    
         
            +
                    )
         
     | 
| 
      
 2476 
     | 
    
         
            +
                elif os.getenv(OptionsDefine.ENV_TKE_REGION)             and os.getenv(OptionsDefine.ENV_TKE_PROVIDER_ID)             and os.getenv(OptionsDefine.ENV_TKE_WEB_IDENTITY_TOKEN_FILE)             and os.getenv(OptionsDefine.ENV_TKE_ROLE_ARN):
         
     | 
| 
      
 2477 
     | 
    
         
            +
                    cred = credential.DefaultTkeOIDCRoleArnProvider().get_credentials()
         
     | 
| 
      
 2478 
     | 
    
         
            +
                else:
         
     | 
| 
      
 2479 
     | 
    
         
            +
                    cred = credential.Credential(
         
     | 
| 
      
 2480 
     | 
    
         
            +
                        g_param[OptionsDefine.SecretId], g_param[OptionsDefine.SecretKey], g_param[OptionsDefine.Token]
         
     | 
| 
      
 2481 
     | 
    
         
            +
                    )
         
     | 
| 
      
 2482 
     | 
    
         
            +
                http_profile = HttpProfile(
         
     | 
| 
      
 2483 
     | 
    
         
            +
                    reqTimeout=60 if g_param[OptionsDefine.Timeout] is None else int(g_param[OptionsDefine.Timeout]),
         
     | 
| 
      
 2484 
     | 
    
         
            +
                    reqMethod="POST",
         
     | 
| 
      
 2485 
     | 
    
         
            +
                    endpoint=g_param[OptionsDefine.Endpoint],
         
     | 
| 
      
 2486 
     | 
    
         
            +
                    proxy=g_param[OptionsDefine.HttpsProxy.replace('-', '_')]
         
     | 
| 
      
 2487 
     | 
    
         
            +
                )
         
     | 
| 
      
 2488 
     | 
    
         
            +
                profile = ClientProfile(httpProfile=http_profile, signMethod="HmacSHA256")
         
     | 
| 
      
 2489 
     | 
    
         
            +
                if g_param[OptionsDefine.Language]:
         
     | 
| 
      
 2490 
     | 
    
         
            +
                    profile.language = g_param[OptionsDefine.Language]
         
     | 
| 
      
 2491 
     | 
    
         
            +
                mod = CLIENT_MAP[g_param[OptionsDefine.Version]]
         
     | 
| 
      
 2492 
     | 
    
         
            +
                client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
         
     | 
| 
      
 2493 
     | 
    
         
            +
                client._sdkVersion += ("_CLI_" + __version__)
         
     | 
| 
      
 2494 
     | 
    
         
            +
                models = MODELS_MAP[g_param[OptionsDefine.Version]]
         
     | 
| 
      
 2495 
     | 
    
         
            +
                model = models.DescribeLogstashInstanceOperationsRequest()
         
     | 
| 
      
 2496 
     | 
    
         
            +
                model.from_json_string(json.dumps(args))
         
     | 
| 
      
 2497 
     | 
    
         
            +
                start_time = time.time()
         
     | 
| 
      
 2498 
     | 
    
         
            +
                while True:
         
     | 
| 
      
 2499 
     | 
    
         
            +
                    rsp = client.DescribeLogstashInstanceOperations(model)
         
     | 
| 
      
 2500 
     | 
    
         
            +
                    result = rsp.to_json_string()
         
     | 
| 
      
 2501 
     | 
    
         
            +
                    try:
         
     | 
| 
      
 2502 
     | 
    
         
            +
                        json_obj = json.loads(result)
         
     | 
| 
      
 2503 
     | 
    
         
            +
                    except TypeError as e:
         
     | 
| 
      
 2504 
     | 
    
         
            +
                        json_obj = json.loads(result.decode('utf-8'))  # python3.3
         
     | 
| 
      
 2505 
     | 
    
         
            +
                    if not g_param[OptionsDefine.Waiter] or search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj) == g_param['OptionsDefine.WaiterInfo']['to']:
         
     | 
| 
      
 2506 
     | 
    
         
            +
                        break
         
     | 
| 
      
 2507 
     | 
    
         
            +
                    cur_time = time.time()
         
     | 
| 
      
 2508 
     | 
    
         
            +
                    if cur_time - start_time >= g_param['OptionsDefine.WaiterInfo']['timeout']:
         
     | 
| 
      
 2509 
     | 
    
         
            +
                        raise ClientError('Request timeout, wait `%s` to `%s` timeout, last request is %s' %
         
     | 
| 
      
 2510 
     | 
    
         
            +
                        (g_param['OptionsDefine.WaiterInfo']['expr'], g_param['OptionsDefine.WaiterInfo']['to'],
         
     | 
| 
      
 2511 
     | 
    
         
            +
                        search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj)))
         
     | 
| 
      
 2512 
     | 
    
         
            +
                    else:
         
     | 
| 
      
 2513 
     | 
    
         
            +
                        print('Inquiry result is %s.' % search(g_param['OptionsDefine.WaiterInfo']['expr'], json_obj))
         
     | 
| 
      
 2514 
     | 
    
         
            +
                    time.sleep(g_param['OptionsDefine.WaiterInfo']['interval'])
         
     | 
| 
      
 2515 
     | 
    
         
            +
                FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
         
     | 
| 
      
 2516 
     | 
    
         
            +
             
     | 
| 
      
 2517 
     | 
    
         
            +
             
     | 
| 
       2466 
2518 
     | 
    
         
             
            def doDescribeInstances(args, parsed_globals):
         
     | 
| 
       2467 
2519 
     | 
    
         
             
                g_param = parse_global_arg(parsed_globals)
         
     | 
| 
       2468 
2520 
     | 
    
         | 
| 
         @@ -3555,7 +3607,7 @@ def doChunkDocument(args, parsed_globals): 
     | 
|
| 
       3555 
3607 
     | 
    
         
             
                FormatOutput.output("action", json_obj, g_param[OptionsDefine.Output], g_param[OptionsDefine.Filter])
         
     | 
| 
       3556 
3608 
     | 
    
         | 
| 
       3557 
3609 
     | 
    
         | 
| 
       3558 
     | 
    
         
            -
            def  
     | 
| 
      
 3610 
     | 
    
         
            +
            def doGetMultiModalEmbedding(args, parsed_globals):
         
     | 
| 
       3559 
3611 
     | 
    
         
             
                g_param = parse_global_arg(parsed_globals)
         
     | 
| 
       3560 
3612 
     | 
    
         | 
| 
       3561 
3613 
     | 
    
         
             
                if g_param[OptionsDefine.UseCVMRole.replace('-', '_')]:
         
     | 
| 
         @@ -3584,11 +3636,11 @@ def doDescribeLogstashInstanceOperations(args, parsed_globals): 
     | 
|
| 
       3584 
3636 
     | 
    
         
             
                client = mod.EsClient(cred, g_param[OptionsDefine.Region], profile)
         
     | 
| 
       3585 
3637 
     | 
    
         
             
                client._sdkVersion += ("_CLI_" + __version__)
         
     | 
| 
       3586 
3638 
     | 
    
         
             
                models = MODELS_MAP[g_param[OptionsDefine.Version]]
         
     | 
| 
       3587 
     | 
    
         
            -
                model = models. 
     | 
| 
      
 3639 
     | 
    
         
            +
                model = models.GetMultiModalEmbeddingRequest()
         
     | 
| 
       3588 
3640 
     | 
    
         
             
                model.from_json_string(json.dumps(args))
         
     | 
| 
       3589 
3641 
     | 
    
         
             
                start_time = time.time()
         
     | 
| 
       3590 
3642 
     | 
    
         
             
                while True:
         
     | 
| 
       3591 
     | 
    
         
            -
                    rsp = client. 
     | 
| 
      
 3643 
     | 
    
         
            +
                    rsp = client.GetMultiModalEmbedding(model)
         
     | 
| 
       3592 
3644 
     | 
    
         
             
                    result = rsp.to_json_string()
         
     | 
| 
       3593 
3645 
     | 
    
         
             
                    try:
         
     | 
| 
       3594 
3646 
     | 
    
         
             
                        json_obj = json.loads(result)
         
     | 
| 
         @@ -3771,6 +3823,7 @@ ACTION_MAP = { 
     | 
|
| 
       3771 
3823 
     | 
    
         
             
                "ParseDocument": doParseDocument,
         
     | 
| 
       3772 
3824 
     | 
    
         
             
                "UpdateDictionaries": doUpdateDictionaries,
         
     | 
| 
       3773 
3825 
     | 
    
         
             
                "UpdateIndex": doUpdateIndex,
         
     | 
| 
      
 3826 
     | 
    
         
            +
                "DescribeLogstashInstanceOperations": doDescribeLogstashInstanceOperations,
         
     | 
| 
       3774 
3827 
     | 
    
         
             
                "DescribeInstances": doDescribeInstances,
         
     | 
| 
       3775 
3828 
     | 
    
         
             
                "UpdateServerlessSpace": doUpdateServerlessSpace,
         
     | 
| 
       3776 
3829 
     | 
    
         
             
                "StartLogstashPipelines": doStartLogstashPipelines,
         
     | 
| 
         @@ -3792,7 +3845,7 @@ ACTION_MAP = { 
     | 
|
| 
       3792 
3845 
     | 
    
         
             
                "DescribeIndexMeta": doDescribeIndexMeta,
         
     | 
| 
       3793 
3846 
     | 
    
         
             
                "ChatCompletions": doChatCompletions,
         
     | 
| 
       3794 
3847 
     | 
    
         
             
                "ChunkDocument": doChunkDocument,
         
     | 
| 
       3795 
     | 
    
         
            -
                " 
     | 
| 
      
 3848 
     | 
    
         
            +
                "GetMultiModalEmbedding": doGetMultiModalEmbedding,
         
     | 
| 
       3796 
3849 
     | 
    
         
             
                "InquirePriceRenewInstance": doInquirePriceRenewInstance,
         
     | 
| 
       3797 
3850 
     | 
    
         
             
                "CreateClusterSnapshot": doCreateClusterSnapshot,
         
     | 
| 
       3798 
3851 
     | 
    
         | 
| 
         @@ -35,6 +35,13 @@ 
     | 
|
| 
       35 
35 
     | 
    
         
             
                  "output": "GetDocumentParseResultResponse",
         
     | 
| 
       36 
36 
     | 
    
         
             
                  "status": "online"
         
     | 
| 
       37 
37 
     | 
    
         
             
                },
         
     | 
| 
      
 38 
     | 
    
         
            +
                "GetMultiModalEmbedding": {
         
     | 
| 
      
 39 
     | 
    
         
            +
                  "document": "Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。 本接口有模型维度调用上限控制,单个模型qps限制10,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)  。",
         
     | 
| 
      
 40 
     | 
    
         
            +
                  "input": "GetMultiModalEmbeddingRequest",
         
     | 
| 
      
 41 
     | 
    
         
            +
                  "name": "获取多模态特征向量",
         
     | 
| 
      
 42 
     | 
    
         
            +
                  "output": "GetMultiModalEmbeddingResponse",
         
     | 
| 
      
 43 
     | 
    
         
            +
                  "status": "online"
         
     | 
| 
      
 44 
     | 
    
         
            +
                },
         
     | 
| 
       38 
45 
     | 
    
         
             
                "GetTextEmbedding": {
         
     | 
| 
       39 
46 
     | 
    
         
             
                  "document": "Embedding是一种将高维数据映射到低维空间的技术,通常用于将非结构化数据,如文本、图像或音频转化为向量表示,使其更容易输入机器模型进行处理,并且向量之间的距离可以反映对象之间的相似性。\n本接口有模型维度调用上限控制,单个模型qps限制20,如您有提高并发限制的需求请[联系我们](https://cloud.tencent.com/act/event/Online_service)  。",
         
     | 
| 
       40 
47 
     | 
    
         
             
                  "input": "GetTextEmbeddingRequest",
         
     | 
| 
         @@ -735,6 +742,80 @@ 
     | 
|
| 
       735 
742 
     | 
    
         
             
                  ],
         
     | 
| 
       736 
743 
     | 
    
         
             
                  "type": "object"
         
     | 
| 
       737 
744 
     | 
    
         
             
                },
         
     | 
| 
      
 745 
     | 
    
         
            +
                "GetMultiModalEmbeddingRequest": {
         
     | 
| 
      
 746 
     | 
    
         
            +
                  "document": "GetMultiModalEmbedding请求参数结构体",
         
     | 
| 
      
 747 
     | 
    
         
            +
                  "members": [
         
     | 
| 
      
 748 
     | 
    
         
            +
                    {
         
     | 
| 
      
 749 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 750 
     | 
    
         
            +
                      "document": "模型名称,支持WeCLIPv2-Base和WeCLIPv2-Large",
         
     | 
| 
      
 751 
     | 
    
         
            +
                      "example": "WeCLIPv2-Base",
         
     | 
| 
      
 752 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 753 
     | 
    
         
            +
                      "name": "ModelName",
         
     | 
| 
      
 754 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 755 
     | 
    
         
            +
                      "type": "string"
         
     | 
| 
      
 756 
     | 
    
         
            +
                    },
         
     | 
| 
      
 757 
     | 
    
         
            +
                    {
         
     | 
| 
      
 758 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 759 
     | 
    
         
            +
                      "document": "需进行向量化的文本集,一次输入限10条,单条文本长度限72",
         
     | 
| 
      
 760 
     | 
    
         
            +
                      "example": "[\"红色帽子\",\"白色围巾\"]",
         
     | 
| 
      
 761 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 762 
     | 
    
         
            +
                      "name": "Texts",
         
     | 
| 
      
 763 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 764 
     | 
    
         
            +
                      "type": "list"
         
     | 
| 
      
 765 
     | 
    
         
            +
                    },
         
     | 
| 
      
 766 
     | 
    
         
            +
                    {
         
     | 
| 
      
 767 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 768 
     | 
    
         
            +
                      "document": "输入图片,base64编码格式,一次输入限制8个,单张图片限制1M",
         
     | 
| 
      
 769 
     | 
    
         
            +
                      "example": "[\"data:image/jpeg;base64,/AAA/BBB/CCC\"]",
         
     | 
| 
      
 770 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 771 
     | 
    
         
            +
                      "name": "ImageData",
         
     | 
| 
      
 772 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 773 
     | 
    
         
            +
                      "type": "list"
         
     | 
| 
      
 774 
     | 
    
         
            +
                    },
         
     | 
| 
      
 775 
     | 
    
         
            +
                    {
         
     | 
| 
      
 776 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 777 
     | 
    
         
            +
                      "document": "输入图片url,一次输入限8个,推荐cos地址,速度更快",
         
     | 
| 
      
 778 
     | 
    
         
            +
                      "example": "[\"http://aaa.bb.com/cc\"]",
         
     | 
| 
      
 779 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 780 
     | 
    
         
            +
                      "name": "ImageUrl",
         
     | 
| 
      
 781 
     | 
    
         
            +
                      "required": false,
         
     | 
| 
      
 782 
     | 
    
         
            +
                      "type": "list"
         
     | 
| 
      
 783 
     | 
    
         
            +
                    }
         
     | 
| 
      
 784 
     | 
    
         
            +
                  ],
         
     | 
| 
      
 785 
     | 
    
         
            +
                  "type": "object"
         
     | 
| 
      
 786 
     | 
    
         
            +
                },
         
     | 
| 
      
 787 
     | 
    
         
            +
                "GetMultiModalEmbeddingResponse": {
         
     | 
| 
      
 788 
     | 
    
         
            +
                  "document": "GetMultiModalEmbedding返回参数结构体",
         
     | 
| 
      
 789 
     | 
    
         
            +
                  "members": [
         
     | 
| 
      
 790 
     | 
    
         
            +
                    {
         
     | 
| 
      
 791 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 792 
     | 
    
         
            +
                      "document": "多模态特征向量输出",
         
     | 
| 
      
 793 
     | 
    
         
            +
                      "example": "无",
         
     | 
| 
      
 794 
     | 
    
         
            +
                      "member": "MultiModalEmbeddingData",
         
     | 
| 
      
 795 
     | 
    
         
            +
                      "name": "Data",
         
     | 
| 
      
 796 
     | 
    
         
            +
                      "output_required": false,
         
     | 
| 
      
 797 
     | 
    
         
            +
                      "type": "object",
         
     | 
| 
      
 798 
     | 
    
         
            +
                      "value_allowed_null": false
         
     | 
| 
      
 799 
     | 
    
         
            +
                    },
         
     | 
| 
      
 800 
     | 
    
         
            +
                    {
         
     | 
| 
      
 801 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 802 
     | 
    
         
            +
                      "document": "消耗的tokens和输入图片数量",
         
     | 
| 
      
 803 
     | 
    
         
            +
                      "example": "无",
         
     | 
| 
      
 804 
     | 
    
         
            +
                      "member": "MultiModalUsage",
         
     | 
| 
      
 805 
     | 
    
         
            +
                      "name": "Usage",
         
     | 
| 
      
 806 
     | 
    
         
            +
                      "output_required": false,
         
     | 
| 
      
 807 
     | 
    
         
            +
                      "type": "object",
         
     | 
| 
      
 808 
     | 
    
         
            +
                      "value_allowed_null": false
         
     | 
| 
      
 809 
     | 
    
         
            +
                    },
         
     | 
| 
      
 810 
     | 
    
         
            +
                    {
         
     | 
| 
      
 811 
     | 
    
         
            +
                      "document": "唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。",
         
     | 
| 
      
 812 
     | 
    
         
            +
                      "member": "string",
         
     | 
| 
      
 813 
     | 
    
         
            +
                      "name": "RequestId",
         
     | 
| 
      
 814 
     | 
    
         
            +
                      "type": "string"
         
     | 
| 
      
 815 
     | 
    
         
            +
                    }
         
     | 
| 
      
 816 
     | 
    
         
            +
                  ],
         
     | 
| 
      
 817 
     | 
    
         
            +
                  "type": "object"
         
     | 
| 
      
 818 
     | 
    
         
            +
                },
         
     | 
| 
       738 
819 
     | 
    
         
             
                "GetTextEmbeddingRequest": {
         
     | 
| 
       739 
820 
     | 
    
         
             
                  "document": "GetTextEmbedding请求参数结构体",
         
     | 
| 
       740 
821 
     | 
    
         
             
                  "members": [
         
     | 
| 
         @@ -841,6 +922,58 @@ 
     | 
|
| 
       841 
922 
     | 
    
         
             
                  ],
         
     | 
| 
       842 
923 
     | 
    
         
             
                  "usage": "both"
         
     | 
| 
       843 
924 
     | 
    
         
             
                },
         
     | 
| 
      
 925 
     | 
    
         
            +
                "MultiModalEmbeddingData": {
         
     | 
| 
      
 926 
     | 
    
         
            +
                  "document": "多模态特征向量",
         
     | 
| 
      
 927 
     | 
    
         
            +
                  "members": [
         
     | 
| 
      
 928 
     | 
    
         
            +
                    {
         
     | 
| 
      
 929 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 930 
     | 
    
         
            +
                      "document": "文本特征向量\n注意:此字段可能返回 null,表示取不到有效值。",
         
     | 
| 
      
 931 
     | 
    
         
            +
                      "example": "无",
         
     | 
| 
      
 932 
     | 
    
         
            +
                      "member": "EmbeddingData",
         
     | 
| 
      
 933 
     | 
    
         
            +
                      "name": "TextEmbeddings",
         
     | 
| 
      
 934 
     | 
    
         
            +
                      "output_required": false,
         
     | 
| 
      
 935 
     | 
    
         
            +
                      "type": "list",
         
     | 
| 
      
 936 
     | 
    
         
            +
                      "value_allowed_null": true
         
     | 
| 
      
 937 
     | 
    
         
            +
                    },
         
     | 
| 
      
 938 
     | 
    
         
            +
                    {
         
     | 
| 
      
 939 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 940 
     | 
    
         
            +
                      "document": "图片特征向量\n注意:此字段可能返回 null,表示取不到有效值。",
         
     | 
| 
      
 941 
     | 
    
         
            +
                      "example": "无",
         
     | 
| 
      
 942 
     | 
    
         
            +
                      "member": "EmbeddingData",
         
     | 
| 
      
 943 
     | 
    
         
            +
                      "name": "ImageEmbeddings",
         
     | 
| 
      
 944 
     | 
    
         
            +
                      "output_required": false,
         
     | 
| 
      
 945 
     | 
    
         
            +
                      "type": "list",
         
     | 
| 
      
 946 
     | 
    
         
            +
                      "value_allowed_null": true
         
     | 
| 
      
 947 
     | 
    
         
            +
                    }
         
     | 
| 
      
 948 
     | 
    
         
            +
                  ],
         
     | 
| 
      
 949 
     | 
    
         
            +
                  "usage": "out"
         
     | 
| 
      
 950 
     | 
    
         
            +
                },
         
     | 
| 
      
 951 
     | 
    
         
            +
                "MultiModalUsage": {
         
     | 
| 
      
 952 
     | 
    
         
            +
                  "document": "多模态向量化消耗tokens和images数量",
         
     | 
| 
      
 953 
     | 
    
         
            +
                  "members": [
         
     | 
| 
      
 954 
     | 
    
         
            +
                    {
         
     | 
| 
      
 955 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 956 
     | 
    
         
            +
                      "document": "消耗tokens",
         
     | 
| 
      
 957 
     | 
    
         
            +
                      "example": "100",
         
     | 
| 
      
 958 
     | 
    
         
            +
                      "member": "uint64",
         
     | 
| 
      
 959 
     | 
    
         
            +
                      "name": "TotalTokens",
         
     | 
| 
      
 960 
     | 
    
         
            +
                      "output_required": false,
         
     | 
| 
      
 961 
     | 
    
         
            +
                      "type": "int",
         
     | 
| 
      
 962 
     | 
    
         
            +
                      "value_allowed_null": false
         
     | 
| 
      
 963 
     | 
    
         
            +
                    },
         
     | 
| 
      
 964 
     | 
    
         
            +
                    {
         
     | 
| 
      
 965 
     | 
    
         
            +
                      "disabled": false,
         
     | 
| 
      
 966 
     | 
    
         
            +
                      "document": "输入图片数量",
         
     | 
| 
      
 967 
     | 
    
         
            +
                      "example": "2",
         
     | 
| 
      
 968 
     | 
    
         
            +
                      "member": "uint64",
         
     | 
| 
      
 969 
     | 
    
         
            +
                      "name": "TotalImages",
         
     | 
| 
      
 970 
     | 
    
         
            +
                      "output_required": false,
         
     | 
| 
      
 971 
     | 
    
         
            +
                      "type": "int",
         
     | 
| 
      
 972 
     | 
    
         
            +
                      "value_allowed_null": false
         
     | 
| 
      
 973 
     | 
    
         
            +
                    }
         
     | 
| 
      
 974 
     | 
    
         
            +
                  ],
         
     | 
| 
      
 975 
     | 
    
         
            +
                  "usage": "out"
         
     | 
| 
      
 976 
     | 
    
         
            +
                },
         
     | 
| 
       844 
977 
     | 
    
         
             
                "OnlineSearchOptions": {
         
     | 
| 
       845 
978 
     | 
    
         
             
                  "document": "联网搜索选项。",
         
     | 
| 
       846 
979 
     | 
    
         
             
                  "members": [
         
     | 
| 
         @@ -40,6 +40,14 @@ 
     | 
|
| 
       40 
40 
     | 
    
         
             
                    "title": "获取文档解析任务结果"
         
     | 
| 
       41 
41 
     | 
    
         
             
                  }
         
     | 
| 
       42 
42 
     | 
    
         
             
                ],
         
     | 
| 
      
 43 
     | 
    
         
            +
                "GetMultiModalEmbedding": [
         
     | 
| 
      
 44 
     | 
    
         
            +
                  {
         
     | 
| 
      
 45 
     | 
    
         
            +
                    "document": "",
         
     | 
| 
      
 46 
     | 
    
         
            +
                    "input": "POST / HTTP/1.1\nHost: es.tencentcloudapi.com\nContent-Type: application/json\nX-TC-Action: GetMultiModalEmbedding\n<公共请求参数>\n\n{\n    \"ModelName\": \"WeCLIPv2-Base\",\n    \"Texts\": [\n        \"红色帽子\"\n    ],\n    \"ImageData\": [\n        \"data:image/jpeg;base64,/AAA/BBB/CCC\"\n    ]\n}",
         
     | 
| 
      
 47 
     | 
    
         
            +
                    "output": "{\n    \"Response\": {\n        \"RequestId\": \"b5623e99-ea0c-9509-9b25-20bcc99d03e9\",\n        \"Data\": {\n            \"TextEmbeddings\": [\n                {\n                    \"Embedding\": [\n                        -0.007741480600088835,\n                        -0.017921222373843193,\n                        -0.04486401379108429,\n                        -0.0073757413774728775,\n                        0.014934351667761803,\n                        -0.025723660364747047,\n                        0.03559861704707146,\n                        -0.034379489719867706,\n                        0.027674268931150436,\n                        0.04876523092389107,\n                        -0.04266957566142082\n                    ],\n                    \"Index\": 0\n                }\n            ],\n            \"ImageEmbeddings\": [\n                {\n                    \"Embedding\": [\n                        -0.007741480600088835,\n                        -0.017921222373843193,\n                        -0.04486401379108429,\n                        -0.0073757413774728775,\n                        0.014934351667761803,\n                        -0.025723660364747047,\n                        0.03559861704707146,\n                        -0.034379489719867706,\n                        0.027674268931150436,\n                        0.04876523092389107,\n                        -0.04266957566142082\n                    ],\n                    \"Index\": 0\n                }\n            ]\n        },\n        \"Usage\": {\n            \"TotalTokens\": 4,\n            \"TotalImages\": 1\n        }\n    }\n}",
         
     | 
| 
      
 48 
     | 
    
         
            +
                    "title": "获取多模态特征向量"
         
     | 
| 
      
 49 
     | 
    
         
            +
                  }
         
     | 
| 
      
 50 
     | 
    
         
            +
                ],
         
     | 
| 
       43 
51 
     | 
    
         
             
                "GetTextEmbedding": [
         
     | 
| 
       44 
52 
     | 
    
         
             
                  {
         
     | 
| 
       45 
53 
     | 
    
         
             
                    "document": "",
         
     |