@alicloud/dianjin20240628 1.9.0 → 1.9.2

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/dist/client.d.ts CHANGED
@@ -581,6 +581,7 @@ export declare class GetChatQuestionRespResponseBodyDataQuestionList extends $da
581
581
  * 2024-11-17 10:05:00
582
582
  */
583
583
  gmtCreate?: string;
584
+ oriContent?: string;
584
585
  reply?: string;
585
586
  /**
586
587
  * @example
@@ -2291,6 +2292,7 @@ export declare class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model
2291
2292
  intentionCode?: string;
2292
2293
  intentionName?: string;
2293
2294
  intentionScript?: string;
2295
+ interrupt?: boolean;
2294
2296
  /**
2295
2297
  * @example
2296
2298
  * null
@@ -2340,6 +2342,7 @@ export declare class RealTimeDialogResponseBodyChoicesMessage extends $dara.Mode
2340
2342
  intentionCode?: string;
2341
2343
  intentionName?: string;
2342
2344
  intentionScript?: string;
2345
+ interrupt?: boolean;
2343
2346
  /**
2344
2347
  * @example
2345
2348
  * null
@@ -6634,6 +6637,7 @@ export declare class RealTimeDialogRequest extends $dara.Model {
6634
6637
  * false
6635
6638
  */
6636
6639
  recommend?: boolean;
6640
+ scriptContentPlayed?: string;
6637
6641
  /**
6638
6642
  * @remarks
6639
6643
  * This parameter is required.
@@ -6647,6 +6651,7 @@ export declare class RealTimeDialogRequest extends $dara.Model {
6647
6651
  * false
6648
6652
  */
6649
6653
  stream?: boolean;
6654
+ userVad?: boolean;
6650
6655
  static names(): {
6651
6656
  [key: string]: string;
6652
6657
  };
package/dist/client.js CHANGED
@@ -554,6 +554,7 @@ class GetChatQuestionRespResponseBodyDataQuestionList extends $dara.Model {
554
554
  return {
555
555
  content: 'content',
556
556
  gmtCreate: 'gmtCreate',
557
+ oriContent: 'oriContent',
557
558
  reply: 'reply',
558
559
  sessionId: 'sessionId',
559
560
  type: 'type',
@@ -565,6 +566,7 @@ class GetChatQuestionRespResponseBodyDataQuestionList extends $dara.Model {
565
566
  return {
566
567
  content: 'string',
567
568
  gmtCreate: 'string',
569
+ oriContent: 'string',
568
570
  reply: 'string',
569
571
  sessionId: 'string',
570
572
  type: 'string',
@@ -2009,6 +2011,7 @@ class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
2009
2011
  intentionCode: 'intentionCode',
2010
2012
  intentionName: 'intentionName',
2011
2013
  intentionScript: 'intentionScript',
2014
+ interrupt: 'interrupt',
2012
2015
  recommendIntention: 'recommendIntention',
2013
2016
  recommendScript: 'recommendScript',
2014
2017
  selfDirectedScript: 'selfDirectedScript',
@@ -2023,6 +2026,7 @@ class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
2023
2026
  intentionCode: 'string',
2024
2027
  intentionName: 'string',
2025
2028
  intentionScript: 'string',
2029
+ interrupt: 'boolean',
2026
2030
  recommendIntention: 'string',
2027
2031
  recommendScript: 'string',
2028
2032
  selfDirectedScript: 'string',
@@ -2046,6 +2050,7 @@ class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
2046
2050
  intentionCode: 'intentionCode',
2047
2051
  intentionName: 'intentionName',
2048
2052
  intentionScript: 'intentionScript',
2053
+ interrupt: 'interrupt',
2049
2054
  recommendIntention: 'recommendIntention',
2050
2055
  recommendScript: 'recommendScript',
2051
2056
  selfDirectedScript: 'selfDirectedScript',
@@ -2060,6 +2065,7 @@ class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
2060
2065
  intentionCode: 'string',
2061
2066
  intentionName: 'string',
2062
2067
  intentionScript: 'string',
2068
+ interrupt: 'boolean',
2063
2069
  recommendIntention: 'string',
2064
2070
  recommendScript: 'string',
2065
2071
  selfDirectedScript: 'string',
@@ -6108,8 +6114,10 @@ class RealTimeDialogRequest extends $dara.Model {
6108
6114
  dialogMemoryTurns: 'dialogMemoryTurns',
6109
6115
  metaData: 'metaData',
6110
6116
  recommend: 'recommend',
6117
+ scriptContentPlayed: 'scriptContentPlayed',
6111
6118
  sessionId: 'sessionId',
6112
6119
  stream: 'stream',
6120
+ userVad: 'userVad',
6113
6121
  };
6114
6122
  }
6115
6123
  static types() {
@@ -6120,8 +6128,10 @@ class RealTimeDialogRequest extends $dara.Model {
6120
6128
  dialogMemoryTurns: 'number',
6121
6129
  metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
6122
6130
  recommend: 'boolean',
6131
+ scriptContentPlayed: 'string',
6123
6132
  sessionId: 'string',
6124
6133
  stream: 'boolean',
6134
+ userVad: 'boolean',
6125
6135
  };
6126
6136
  }
6127
6137
  validate() {
@@ -8942,12 +8952,18 @@ class Client extends openapi_core_1.default {
8942
8952
  if (!$dara.isNull(request.recommend)) {
8943
8953
  body["recommend"] = request.recommend;
8944
8954
  }
8955
+ if (!$dara.isNull(request.scriptContentPlayed)) {
8956
+ body["scriptContentPlayed"] = request.scriptContentPlayed;
8957
+ }
8945
8958
  if (!$dara.isNull(request.sessionId)) {
8946
8959
  body["sessionId"] = request.sessionId;
8947
8960
  }
8948
8961
  if (!$dara.isNull(request.stream)) {
8949
8962
  body["stream"] = request.stream;
8950
8963
  }
8964
+ if (!$dara.isNull(request.userVad)) {
8965
+ body["userVad"] = request.userVad;
8966
+ }
8951
8967
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
8952
8968
  headers: headers,
8953
8969
  body: openapi_core_2.OpenApiUtil.parseToMap(body),