tencentcloud-sdk-nodejs 4.1.237 → 4.1.239

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.
Files changed (115) hide show
  1. package/es/common/sdk_version.js +1 -1
  2. package/es/services/ams/index.js +2 -2
  3. package/es/services/chdfs/index.js +2 -2
  4. package/es/services/cynosdb/v20190107/cynosdb_client.js +6 -0
  5. package/es/services/dbbrain/index.js +2 -2
  6. package/es/services/ecm/v20190719/ecm_client.js +10 -31
  7. package/es/services/eis/index.js +2 -2
  8. package/es/services/essbasic/index.js +2 -2
  9. package/es/services/facefusion/index.js +2 -2
  10. package/es/services/ga2/v20250115/ga2_client.js +16 -4
  11. package/es/services/ig/v20210518/ig_client.js +15 -0
  12. package/es/services/ims/index.js +2 -2
  13. package/es/services/iotvideo/index.js +2 -2
  14. package/es/services/mongodb/index.js +2 -2
  15. package/es/services/organization/index.js +2 -2
  16. package/es/services/rce/index.js +2 -2
  17. package/es/services/sms/index.js +2 -2
  18. package/es/services/tbp/index.js +2 -2
  19. package/es/services/tcb/v20180608/tcb_client.js +182 -158
  20. package/es/services/thpc/index.js +2 -2
  21. package/es/services/tione/index.js +2 -2
  22. package/es/services/tke/index.js +2 -2
  23. package/es/services/tms/index.js +2 -2
  24. package/es/services/vm/index.js +2 -2
  25. package/es/services/vod/index.js +2 -2
  26. package/es/services/wedata/index.js +2 -2
  27. package/es/services/yunsou/index.js +2 -2
  28. package/package.json +1 -1
  29. package/tencentcloud/common/sdk_version.d.ts +1 -1
  30. package/tencentcloud/common/sdk_version.js +1 -1
  31. package/tencentcloud/services/ams/index.d.ts +4 -4
  32. package/tencentcloud/services/ams/index.js +2 -2
  33. package/tencentcloud/services/cdb/v20170320/cdb_models.d.ts +8 -0
  34. package/tencentcloud/services/cfw/v20190904/cfw_models.d.ts +12 -12
  35. package/tencentcloud/services/chdfs/index.d.ts +4 -4
  36. package/tencentcloud/services/chdfs/index.js +2 -2
  37. package/tencentcloud/services/ckafka/v20190819/ckafka_models.d.ts +1 -1
  38. package/tencentcloud/services/clb/v20180317/clb_models.d.ts +4 -0
  39. package/tencentcloud/services/csip/v20221121/csip_models.d.ts +144 -88
  40. package/tencentcloud/services/cvm/v20170312/cvm_models.d.ts +2 -0
  41. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.d.ts +9 -1
  42. package/tencentcloud/services/cynosdb/v20190107/cynosdb_client.js +12 -0
  43. package/tencentcloud/services/cynosdb/v20190107/cynosdb_models.d.ts +253 -26
  44. package/tencentcloud/services/dbbrain/index.d.ts +4 -4
  45. package/tencentcloud/services/dbbrain/index.js +2 -2
  46. package/tencentcloud/services/ecm/v20190719/ecm_client.d.ts +14 -79
  47. package/tencentcloud/services/ecm/v20190719/ecm_client.js +18 -97
  48. package/tencentcloud/services/ecm/v20190719/ecm_models.d.ts +39 -581
  49. package/tencentcloud/services/eis/index.d.ts +4 -4
  50. package/tencentcloud/services/eis/index.js +2 -2
  51. package/tencentcloud/services/ess/v20201111/ess_models.d.ts +2 -2
  52. package/tencentcloud/services/essbasic/index.d.ts +4 -4
  53. package/tencentcloud/services/essbasic/index.js +2 -2
  54. package/tencentcloud/services/essbasic/v20210526/essbasic_models.d.ts +2 -2
  55. package/tencentcloud/services/evt/v20250217/evt_models.d.ts +5 -1
  56. package/tencentcloud/services/facefusion/index.d.ts +4 -4
  57. package/tencentcloud/services/facefusion/index.js +2 -2
  58. package/tencentcloud/services/ga2/v20250115/ga2_client.d.ts +21 -5
  59. package/tencentcloud/services/ga2/v20250115/ga2_client.js +30 -6
  60. package/tencentcloud/services/ga2/v20250115/ga2_models.d.ts +183 -22
  61. package/tencentcloud/services/hai/v20230812/hai_models.d.ts +16 -0
  62. package/tencentcloud/services/ig/v20210518/ig_client.d.ts +21 -1
  63. package/tencentcloud/services/ig/v20210518/ig_client.js +30 -0
  64. package/tencentcloud/services/ig/v20210518/ig_models.d.ts +651 -7
  65. package/tencentcloud/services/ims/index.d.ts +4 -4
  66. package/tencentcloud/services/ims/index.js +2 -2
  67. package/tencentcloud/services/iotvideo/index.d.ts +4 -4
  68. package/tencentcloud/services/iotvideo/index.js +2 -2
  69. package/tencentcloud/services/lcic/v20220817/lcic_models.d.ts +13 -9
  70. package/tencentcloud/services/mna/v20210119/mna_client.d.ts +1 -1
  71. package/tencentcloud/services/mna/v20210119/mna_client.js +1 -1
  72. package/tencentcloud/services/mongodb/index.d.ts +4 -4
  73. package/tencentcloud/services/mongodb/index.js +2 -2
  74. package/tencentcloud/services/organization/index.d.ts +4 -4
  75. package/tencentcloud/services/organization/index.js +2 -2
  76. package/tencentcloud/services/rce/index.d.ts +4 -4
  77. package/tencentcloud/services/rce/index.js +2 -2
  78. package/tencentcloud/services/ses/v20201002/ses_models.d.ts +13 -13
  79. package/tencentcloud/services/sms/index.d.ts +4 -4
  80. package/tencentcloud/services/sms/index.js +2 -2
  81. package/tencentcloud/services/ssl/v20191205/ssl_models.d.ts +50 -146
  82. package/tencentcloud/services/tbp/index.d.ts +4 -4
  83. package/tencentcloud/services/tbp/index.js +2 -2
  84. package/tencentcloud/services/tcaplusdb/v20190823/tcaplusdb_models.d.ts +12 -12
  85. package/tencentcloud/services/tcb/v20180608/tcb_client.d.ts +322 -286
  86. package/tencentcloud/services/tcb/v20180608/tcb_client.js +416 -364
  87. package/tencentcloud/services/tcb/v20180608/tcb_models.d.ts +637 -83
  88. package/tencentcloud/services/teo/v20220901/teo_models.d.ts +1 -1
  89. package/tencentcloud/services/thpc/index.d.ts +4 -4
  90. package/tencentcloud/services/thpc/index.js +2 -2
  91. package/tencentcloud/services/thpc/v20230321/thpc_client.d.ts +1 -1
  92. package/tencentcloud/services/thpc/v20230321/thpc_models.d.ts +44 -19
  93. package/tencentcloud/services/tione/index.d.ts +4 -4
  94. package/tencentcloud/services/tione/index.js +2 -2
  95. package/tencentcloud/services/tke/index.d.ts +4 -4
  96. package/tencentcloud/services/tke/index.js +2 -2
  97. package/tencentcloud/services/tke/v20180525/tke_models.d.ts +58 -12
  98. package/tencentcloud/services/tke/v20220501/tke_models.d.ts +6 -6
  99. package/tencentcloud/services/tms/index.d.ts +4 -4
  100. package/tencentcloud/services/tms/index.js +2 -2
  101. package/tencentcloud/services/trp/v20210515/trp_models.d.ts +1 -1
  102. package/tencentcloud/services/trtc/v20190722/trtc_models.d.ts +6 -5
  103. package/tencentcloud/services/vm/index.d.ts +4 -4
  104. package/tencentcloud/services/vm/index.js +2 -2
  105. package/tencentcloud/services/vod/index.d.ts +4 -4
  106. package/tencentcloud/services/vod/index.js +2 -2
  107. package/tencentcloud/services/vod/v20180717/vod_models.d.ts +5 -1
  108. package/tencentcloud/services/waf/v20180125/waf_client.d.ts +1 -1
  109. package/tencentcloud/services/waf/v20180125/waf_client.js +1 -1
  110. package/tencentcloud/services/waf/v20180125/waf_models.d.ts +23 -19
  111. package/tencentcloud/services/wedata/index.d.ts +4 -4
  112. package/tencentcloud/services/wedata/index.js +2 -2
  113. package/tencentcloud/services/wsa/v20250508/wsa_models.d.ts +11 -23
  114. package/tencentcloud/services/yunsou/index.d.ts +4 -4
  115. package/tencentcloud/services/yunsou/index.js +2 -2
@@ -27,11 +27,41 @@ class Client extends abstract_client_1.AbstractClient {
27
27
  constructor(clientConfig) {
28
28
  super("ig.tencentcloudapi.com", "2021-05-18", clientConfig);
29
29
  }
30
+ /**
31
+ * 查询药品说明书
32
+ */
33
+ async QueryDrugInstructions(req, cb) {
34
+ return this.request("QueryDrugInstructions", req, cb);
35
+ }
36
+ /**
37
+ * 大模型报告解读
38
+ */
39
+ async GetLLMReportInterpretation(req, cb) {
40
+ return this.request("GetLLMReportInterpretation", req, cb);
41
+ }
42
+ /**
43
+ * 大模型问药拍药盒
44
+ */
45
+ async GetLLMDiagnosisDrug(req, cb) {
46
+ return this.request("GetLLMDiagnosisDrug", req, cb);
47
+ }
30
48
  /**
31
49
  * 查询智能导诊订单列表
32
50
  */
33
51
  async DescribeIgOrderList(req, cb) {
34
52
  return this.request("DescribeIgOrderList", req, cb);
35
53
  }
54
+ /**
55
+ * 大模型问药问答
56
+ */
57
+ async GetLLMDiagnosisDrugChat(req, cb) {
58
+ return this.request("GetLLMDiagnosisDrugChat", req, cb);
59
+ }
60
+ /**
61
+ * 大模型健康自诊
62
+ */
63
+ async GetLLMDiagnosisHealth(req, cb) {
64
+ return this.request("GetLLMDiagnosisHealth", req, cb);
65
+ }
36
66
  }
37
67
  exports.Client = Client;
@@ -1,32 +1,676 @@
1
+ /**
2
+ * GetLLMDiagnosisHealth返回参数结构体
3
+ */
4
+ export interface GetLLMDiagnosisHealthResponse {
5
+ /**
6
+ * <p>错误码,0成功,非0失败</p>
7
+ */
8
+ Code?: number;
9
+ /**
10
+ * <p>错误信息</p>
11
+ */
12
+ Message?: string;
13
+ /**
14
+ * <p>返回数据</p>
15
+ 注意:此字段可能返回 null,表示取不到有效值。
16
+ */
17
+ Data?: LLMDiagnosisHealthData;
18
+ /**
19
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
20
+ */
21
+ RequestId?: string;
22
+ }
23
+ /**
24
+ * 高亮词信息
25
+ */
26
+ export interface HighlightWordInfo {
27
+ /**
28
+ * 名称
29
+ */
30
+ Name?: string;
31
+ /**
32
+ * 类型 1:疾病,2:检验/检查,3:药品,4:科室,5:自定义配置
33
+ */
34
+ Type?: number;
35
+ /**
36
+ * 跳转类型 h5:h5类型,mini_wx:微信小程序
37
+ */
38
+ JumpType?: string;
39
+ /**
40
+ * 跳转URL
41
+ */
42
+ JumpUrl?: string;
43
+ /**
44
+ * 跳转小程序Appid
45
+ */
46
+ JumpAppid?: string;
47
+ /**
48
+ * 跳转小程序原始ID
49
+ */
50
+ JumpOriginId?: string;
51
+ }
52
+ /**
53
+ * GetLLMDiagnosisDrugChat请求参数结构体
54
+ */
55
+ export interface GetLLMDiagnosisDrugChatRequest {
56
+ /**
57
+ * <p>合作方ID</p>
58
+ */
59
+ PartnerId: string;
60
+ /**
61
+ * <p>合作方密钥</p>
62
+ */
63
+ PartnerSecret: string;
64
+ /**
65
+ * <p>医院应用ID</p>
66
+ */
67
+ HospitalAppId: string;
68
+ /**
69
+ * <p>对话ID,由接入方生成,相同对话ID会保持相同的上下文,接入方根据业务场景使用相同或新建对话ID(建议使用UUID值)</p><p>入参限制:长度限制10-50</p>
70
+ */
71
+ DialogueId: string;
72
+ /**
73
+ * <p>本次问答用户输入的问题,(最大长度1000)</p>
74
+ */
75
+ Message: string;
76
+ /**
77
+ * <p>返回类型:0:正常返回; 1:流式返回; 默认:0</p>
78
+ */
79
+ ResultType?: number;
80
+ /**
81
+ * <p>提示词</p>
82
+ */
83
+ Prompt?: string;
84
+ }
85
+ /**
86
+ * 大模型症状自查返回数据
87
+ */
88
+ export interface LLMDiagnosisHealthData {
89
+ /**
90
+ * <p>大模型返回问答内容</p>
91
+ */
92
+ Content?: string;
93
+ /**
94
+ * <p>大模型返回思考内容</p>
95
+ */
96
+ Think?: string;
97
+ /**
98
+ * <p>序号,无业务含义,标识流式结果的序号</p>
99
+ */
100
+ Sort?: number;
101
+ /**
102
+ * <p>流式输出结束标识,false:未结束,true:结束</p>
103
+ */
104
+ IsFinish?: boolean;
105
+ /**
106
+ * <p>是否命中敏感词,false:否,true:是;</p>
107
+ */
108
+ IsSensitive?: boolean;
109
+ /**
110
+ * <p>结果类型,0:正常结果,1:追问问题</p>
111
+ */
112
+ Kind?: number;
113
+ /**
114
+ * <p>风险提示</p>
115
+ */
116
+ RiskReminder?: string;
117
+ /**
118
+ * <p>引用资料列表,流式输出方式,只在流式输出第一次返回;</p>
119
+ */
120
+ ReferResourceItems?: Array<ReferResourceInfo>;
121
+ /**
122
+ * <p>猜你想问列表,流式输出方式,只在流式结束输出结果;</p>
123
+ */
124
+ GuessQuestions?: Array<GuessQuestion>;
125
+ /**
126
+ * <p>高亮词列表,流式输出方式在流式过程中输出结果。</p>
127
+ */
128
+ HighlightWords?: Array<HighlightWordInfo>;
129
+ /**
130
+ * <p>追问问题列表,流式输出方式,只在流式结束输出结果。只会在kind=1追问类型时有结果。</p>
131
+ */
132
+ FollowUpQuestions?: Array<HealthFollowUpQuestion>;
133
+ /**
134
+ * <p>药品列表,流式输出方式,只在流式结束输出结果。</p>
135
+ */
136
+ DrugList?: Array<StandardDrugCardInfo>;
137
+ }
138
+ /**
139
+ * 标准药品卡片信息
140
+ */
141
+ export interface StandardDrugCardInfo {
142
+ /**
143
+ * 标准药品名
144
+ */
145
+ StandardDrugName?: string;
146
+ /**
147
+ * 药品列表
148
+ */
149
+ DrugInfos?: Array<DrugCardInfo>;
150
+ }
151
+ /**
152
+ * GetLLMDiagnosisDrugChat返回参数结构体
153
+ */
154
+ export interface GetLLMDiagnosisDrugChatResponse {
155
+ /**
156
+ * <p>错误码,0成功,非0失败</p>
157
+ */
158
+ Code?: number;
159
+ /**
160
+ * <p>错误信息</p>
161
+ */
162
+ Message?: string;
163
+ /**
164
+ * <p>返回数据</p>
165
+ */
166
+ Data?: LLMDiagnosisDrugData;
167
+ /**
168
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
169
+ */
170
+ RequestId?: string;
171
+ }
172
+ /**
173
+ * 猜你想问信息
174
+ */
175
+ export interface GuessQuestion {
176
+ /**
177
+ * 问题标题
178
+ */
179
+ Title?: string;
180
+ }
181
+ /**
182
+ * GetLLMReportInterpretation请求参数结构体
183
+ */
184
+ export interface GetLLMReportInterpretationRequest {
185
+ /**
186
+ * <p>合作方ID</p>
187
+ */
188
+ PartnerId: string;
189
+ /**
190
+ * <p>合作方密钥</p>
191
+ */
192
+ PartnerSecret: string;
193
+ /**
194
+ * <p>接入医院id</p>
195
+ */
196
+ HospitalId: string;
197
+ /**
198
+ * <p>对话ID,由接入方生成,相同对话ID会保持相同的上下文,接入方根据业务场景使用相同或新建对话ID(建议使用UUID值)</p><p>入参限制:长度限制10-50</p>
199
+ */
200
+ DialogueId: string;
201
+ /**
202
+ * <p>本次问答用户输入的问题</p>
203
+ */
204
+ Message: string;
205
+ /**
206
+ * <p>报告文件信息</p>
207
+ */
208
+ ReportFileInfos?: Array<ReportFileInfoReq>;
209
+ /**
210
+ * <p>返回类型:0:正常返回; 1:流式返回; 默认:0</p>
211
+ */
212
+ ResultType?: number;
213
+ /**
214
+ * <p>报告解读提示词</p>
215
+ */
216
+ Prompt?: string;
217
+ /**
218
+ * <p>无报告问答提示词</p>
219
+ */
220
+ QaPrompt?: string;
221
+ }
222
+ /**
223
+ * 引用资料信息
224
+ */
225
+ export interface ReferResourceInfo {
226
+ /**
227
+ * 资料标题
228
+ */
229
+ Title?: string;
230
+ /**
231
+ * 资料来源类型,1:问答库,2:文档,3:医典百科,4:临床指南,5:药品说明书
232
+ */
233
+ Type?: string;
234
+ /**
235
+ * 资料详情链接
236
+ */
237
+ Url?: string;
238
+ }
239
+ /**
240
+ * 报告文件信息参数
241
+ */
242
+ export interface ReportFileInfoReq {
243
+ /**
244
+ * <p>报告文件链接</p>
245
+ */
246
+ ReportFileUrl: string;
247
+ /**
248
+ * <p>报告文件类型,1:pdf,2:图片</p>
249
+ */
250
+ ReportFileType: number;
251
+ /**
252
+ * <p>报告id</p>
253
+ */
254
+ ReportId?: string;
255
+ }
256
+ /**
257
+ * DescribeIgOrderList返回参数结构体
258
+ */
259
+ export interface DescribeIgOrderListResponse {
260
+ /**
261
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
262
+ */
263
+ RequestId?: string;
264
+ }
265
+ /**
266
+ * GetLLMDiagnosisDrug返回参数结构体
267
+ */
268
+ export interface GetLLMDiagnosisDrugResponse {
269
+ /**
270
+ * <p>错误码,0成功,非0失败</p>
271
+ */
272
+ Code?: number;
273
+ /**
274
+ * <p>错误信息</p>
275
+ */
276
+ Message?: string;
277
+ /**
278
+ * <p>返回数据</p>
279
+ */
280
+ Data?: LLMDiagnosisDrugData;
281
+ /**
282
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
283
+ */
284
+ RequestId?: string;
285
+ }
286
+ /**
287
+ * 报告文件信息返回
288
+ */
289
+ export interface ReportFileInfoRsp {
290
+ /**
291
+ * <p>报告id</p>
292
+ */
293
+ ReportId?: string;
294
+ /**
295
+ * <p>是否解析成功</p>
296
+ */
297
+ IsAnalysis?: boolean;
298
+ /**
299
+ * <p>解析错误信息</p>
300
+ */
301
+ ErrInfo?: string;
302
+ }
303
+ /**
304
+ * QueryDrugInstructions请求参数结构体
305
+ */
306
+ export interface QueryDrugInstructionsRequest {
307
+ /**
308
+ * <p>合作方ID</p>
309
+ */
310
+ PartnerId: string;
311
+ /**
312
+ * <p>合作方密钥</p>
313
+ */
314
+ PartnerSecret: string;
315
+ /**
316
+ * <p>医院应用ID</p>
317
+ */
318
+ HospitalAppId: string;
319
+ /**
320
+ * <p>本次问答用户输入的问题,(最大长度1000)</p>
321
+ */
322
+ Message: string;
323
+ }
324
+ /**
325
+ * GetLLMReportInterpretation返回参数结构体
326
+ */
327
+ export interface GetLLMReportInterpretationResponse {
328
+ /**
329
+ * <p>错误码,0成功,非0失败</p>
330
+ */
331
+ Code?: number;
332
+ /**
333
+ * <p>错误信息</p>
334
+ */
335
+ Message?: string;
336
+ /**
337
+ * <p>返回数据</p>
338
+ */
339
+ Data?: LLMReportInterpretationData;
340
+ /**
341
+ * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。本接口为流式响应接口,当请求成功时,RequestId 会被放在 HTTP 响应的 Header "X-TC-RequestId" 中。
342
+ */
343
+ RequestId?: string;
344
+ }
345
+ /**
346
+ * 药品说明书信息
347
+ */
348
+ export interface DrugInstructionInfo {
349
+ /**
350
+ * 药品id
351
+ */
352
+ DrugId?: string;
353
+ /**
354
+ * 药品名称
355
+ */
356
+ DrugName?: string;
357
+ /**
358
+ * 商品名称
359
+ */
360
+ TradeName?: string;
361
+ /**
362
+ * 规格
363
+ */
364
+ Specification?: string;
365
+ /**
366
+ * 生产企业
367
+ */
368
+ Manufacturer?: string;
369
+ /**
370
+ * 用法用量
371
+ */
372
+ DrugUsage?: string;
373
+ /**
374
+ * 适应症
375
+ */
376
+ Indication?: string;
377
+ /**
378
+ * 不良反应
379
+ */
380
+ AdverseReaction?: string;
381
+ /**
382
+ * 是否处方药,0:非处方药,1:处方药
383
+ */
384
+ DrugRxType?: number;
385
+ /**
386
+ * 药品说明书URL
387
+ */
388
+ DocUrl?: string;
389
+ }
390
+ /**
391
+ * 大模型症状自查返回数据
392
+ */
393
+ export interface LLMReportInterpretationData {
394
+ /**
395
+ * <p>大模型返回问答内容</p>
396
+ */
397
+ Content?: string;
398
+ /**
399
+ * <p>大模型返回思考内容</p>
400
+ */
401
+ Think?: string;
402
+ /**
403
+ * <p>序号,无业务含义,标识流式结果的序号</p>
404
+ */
405
+ Sort?: number;
406
+ /**
407
+ * <p>流式输出结束标识,false:未结束,true:结束</p>
408
+ */
409
+ IsFinish?: boolean;
410
+ /**
411
+ * <p>是否命中敏感词,false:否,true:是;</p>
412
+ */
413
+ IsSensitive?: boolean;
414
+ /**
415
+ * <p>是否支持报告类型,false:否,true:是; 默认返回true,不支持的报告类型返回false</p>
416
+ */
417
+ IsSupportFile?: boolean;
418
+ /**
419
+ * <p>返回的报告列表,和传入报告文件顺序一致</p>
420
+ */
421
+ ReportInfos?: Array<ReportFileInfoRsp>;
422
+ /**
423
+ * <p>引用资料列表,流式输出方式,只在流式输出第一次返回;</p>
424
+ */
425
+ ReferResourceItems?: Array<ReferResourceInfo>;
426
+ /**
427
+ * <p>猜你想问列表,流式输出方式,只在流式结束输出结果;</p>
428
+ */
429
+ GuessQuestions?: Array<GuessQuestion>;
430
+ /**
431
+ * <p>高亮词列表,流式输出方式在流式过程中输出结果。</p>
432
+ */
433
+ HighlightWords?: Array<HighlightWordInfo>;
434
+ }
435
+ /**
436
+ * GetLLMDiagnosisHealth请求参数结构体
437
+ */
438
+ export interface GetLLMDiagnosisHealthRequest {
439
+ /**
440
+ * <p>合作方ID</p>
441
+ */
442
+ PartnerId: string;
443
+ /**
444
+ * <p>合作方密钥</p>
445
+ */
446
+ PartnerSecret: string;
447
+ /**
448
+ * <p>医院应用ID</p>
449
+ */
450
+ HospitalAppId: string;
451
+ /**
452
+ * <p>对话ID,由接入方生成,相同对话ID会保持相同的上下文,接入方根据业务场景使用相同或新建对话ID(建议使用UUID值)</p><p>入参限制:长度限制10-50</p>
453
+ */
454
+ DialogueId: string;
455
+ /**
456
+ * <p>本次问答用户输入的问题,(最大长度1000)</p>
457
+ */
458
+ Message: string;
459
+ /**
460
+ * <p>返回类型:0:正常返回; 1:流式返回; 默认:0</p>
461
+ */
462
+ ResultType?: number;
463
+ /**
464
+ * <p>性别,0:未知,1:男,2:女</p>
465
+ */
466
+ Sex?: number;
467
+ /**
468
+ * <p>年龄,0:未知,最大值:120</p>
469
+ */
470
+ Age?: number;
471
+ /**
472
+ * <p>追问轮数,-1:不追问;0:使用默认规则; 1-10:按指定轮数追问;(最大值10轮); 默认:0</p>
473
+ */
474
+ RoundNumber?: number;
475
+ /**
476
+ * <p>是否追问结构化结果,0:否,1:是;</p>
477
+ */
478
+ OutputStructured?: number;
479
+ }
480
+ /**
481
+ * 大模型问药返回数据
482
+ */
483
+ export interface LLMDiagnosisDrugData {
484
+ /**
485
+ * <p>大模型返回问答内容</p>
486
+ */
487
+ Content?: string;
488
+ /**
489
+ * <p>大模型返回思考内容</p>
490
+ */
491
+ Think?: string;
492
+ /**
493
+ * <p>序号,无业务含义,标识流式结果的序号</p>
494
+ */
495
+ Sort?: number;
496
+ /**
497
+ * <p>流式输出结束标识,false:未结束,true:结束</p>
498
+ */
499
+ IsFinish?: boolean;
500
+ /**
501
+ * <p>是否命中敏感词,false:否,true:是;</p>
502
+ */
503
+ IsSensitive?: boolean;
504
+ /**
505
+ * <p>引用资料列表,流式输出方式,只在流式输出第一次返回;</p>
506
+ */
507
+ ReferResourceItems?: Array<ReferResourceInfo>;
508
+ /**
509
+ * <p>猜你想问列表,流式输出方式,只在流式结束输出结果;</p>
510
+ */
511
+ GuessQuestions?: Array<GuessQuestion>;
512
+ /**
513
+ * <p>高亮词列表,流式输出方式在流式过程中输出结果。</p>
514
+ */
515
+ HighlightWords?: Array<HighlightWordInfo>;
516
+ /**
517
+ * <p>药品列表,流式输出方式,只在流式结束输出结果。</p>
518
+ */
519
+ DrugList?: Array<StandardDrugCardInfo>;
520
+ }
521
+ /**
522
+ * 药品说明书标准药品结果
523
+ */
524
+ export interface StandardDrugInstructionInfo {
525
+ /**
526
+ * 标准药品名
527
+ */
528
+ StandardDrugName?: string;
529
+ /**
530
+ * 药品列表
531
+ */
532
+ DrugInfos?: Array<DrugInstructionInfo>;
533
+ }
534
+ /**
535
+ * GetLLMDiagnosisDrug请求参数结构体
536
+ */
537
+ export interface GetLLMDiagnosisDrugRequest {
538
+ /**
539
+ * <p>合作方ID</p>
540
+ */
541
+ PartnerId: string;
542
+ /**
543
+ * <p>合作方密钥</p>
544
+ */
545
+ PartnerSecret: string;
546
+ /**
547
+ * <p>医院应用ID</p>
548
+ */
549
+ HospitalAppId: string;
550
+ /**
551
+ * <p>对话ID,由接入方生成,相同对话ID会保持相同的上下文,接入方根据业务场景使用相同或新建对话ID(建议使用UUID值)</p><p>入参限制:长度限制10-50</p>
552
+ */
553
+ DialogueId: string;
554
+ /**
555
+ * <p>本次问答用户输入的问题,(最大长度1000,传了图片链接,此参数可为空)</p>
556
+ */
557
+ Message?: string;
558
+ /**
559
+ * <p>药品图片链接</p>
560
+ */
561
+ ImageUrl?: string;
562
+ /**
563
+ * <p>返回类型:0:正常返回; 1:流式返回; 默认:0</p>
564
+ */
565
+ ResultType?: number;
566
+ /**
567
+ * <p>提示词</p>
568
+ */
569
+ Prompt?: string;
570
+ }
571
+ /**
572
+ * 症状自查追问问题
573
+ */
574
+ export interface HealthFollowUpQuestion {
575
+ /**
576
+ * <p>追问类型</p>
577
+ */
578
+ PromptType?: string;
579
+ /**
580
+ * <p>追问选项列表</p>
581
+ */
582
+ Choices?: Array<string>;
583
+ /**
584
+ * <p>追问题型,单选或多选</p>
585
+ */
586
+ QuestionType?: string;
587
+ /**
588
+ * <p>追问特殊类型,如部位题、时间题</p>
589
+ */
590
+ SpecialType?: string;
591
+ /**
592
+ * <p>追问问题内容</p>
593
+ */
594
+ Question?: string;
595
+ }
596
+ /**
597
+ * 药品卡片信息
598
+ */
599
+ export interface DrugCardInfo {
600
+ /**
601
+ * 药品id
602
+ */
603
+ DrugId?: string;
604
+ /**
605
+ * 药品名称
606
+ */
607
+ DrugName?: string;
608
+ /**
609
+ * 商品名称
610
+ */
611
+ TradeName?: string;
612
+ /**
613
+ * 规格
614
+ */
615
+ Specification?: string;
616
+ /**
617
+ * 生产厂商
618
+ */
619
+ Manufacturer?: string;
620
+ /**
621
+ * 是否处方药,0:非处方药,1:处方药
622
+ */
623
+ DrugRxType?: number;
624
+ /**
625
+ * 药品说明书URL
626
+ */
627
+ DocUrl?: string;
628
+ /**
629
+ * 识别来源,1:药品图片,2:用户输入
630
+ */
631
+ IdentifySource?: number;
632
+ }
1
633
  /**
2
634
  * DescribeIgOrderList请求参数结构体
3
635
  */
4
636
  export interface DescribeIgOrderListRequest {
5
637
  /**
6
- * 页码
638
+ * <p>页码</p>
7
639
  */
8
640
  PageNumber: number;
9
641
  /**
10
- * 每页数目
642
+ * <p>每页数目</p>
11
643
  */
12
644
  PageSize: number;
13
645
  /**
14
- * 产品类型
646
+ * <p>产品类型</p><p>枚举值:</p><ul><li>ig: 导诊</li><li>ipc: 预问诊</li></ul><p>默认值:ig</p>
15
647
  */
16
648
  ProductType: string;
17
649
  /**
18
- * 订单状态
650
+ * <p>订单状态</p><p>枚举值:</p><ul><li>0: 无状态</li><li>1: 未激活</li><li>2: 使用中</li><li>3: 暂停使用</li><li>4: 已到期</li><li>5: 已删除</li><li>6: 已失效</li></ul><p>默认值:0</p>
19
651
  */
20
652
  OrderStatus?: number;
21
653
  /**
22
- * 搜索关键字
654
+ * <p>搜索关键字</p>
23
655
  */
24
656
  KeyWord?: string;
25
657
  }
26
658
  /**
27
- * DescribeIgOrderList返回参数结构体
659
+ * QueryDrugInstructions返回参数结构体
28
660
  */
29
- export interface DescribeIgOrderListResponse {
661
+ export interface QueryDrugInstructionsResponse {
662
+ /**
663
+ * <p>错误码,0成功,非0失败</p>
664
+ */
665
+ Code?: number;
666
+ /**
667
+ * <p>错误信息</p>
668
+ */
669
+ Message?: string;
670
+ /**
671
+ * <p>返回数据</p>
672
+ */
673
+ Data?: Array<StandardDrugInstructionInfo>;
30
674
  /**
31
675
  * 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
32
676
  */