@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alicloud/dianjin20240628",
3
- "version": "1.9.0",
3
+ "version": "1.9.2",
4
4
  "description": "",
5
5
  "main": "dist/client.js",
6
6
  "scripts": {
package/src/client.ts CHANGED
@@ -924,6 +924,7 @@ export class GetChatQuestionRespResponseBodyDataQuestionList extends $dara.Model
924
924
  * 2024-11-17 10:05:00
925
925
  */
926
926
  gmtCreate?: string;
927
+ oriContent?: string;
927
928
  reply?: string;
928
929
  /**
929
930
  * @example
@@ -945,6 +946,7 @@ export class GetChatQuestionRespResponseBodyDataQuestionList extends $dara.Model
945
946
  return {
946
947
  content: 'content',
947
948
  gmtCreate: 'gmtCreate',
949
+ oriContent: 'oriContent',
948
950
  reply: 'reply',
949
951
  sessionId: 'sessionId',
950
952
  type: 'type',
@@ -957,6 +959,7 @@ export class GetChatQuestionRespResponseBodyDataQuestionList extends $dara.Model
957
959
  return {
958
960
  content: 'string',
959
961
  gmtCreate: 'string',
962
+ oriContent: 'string',
960
963
  reply: 'string',
961
964
  sessionId: 'string',
962
965
  type: 'string',
@@ -3661,6 +3664,7 @@ export class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
3661
3664
  intentionCode?: string;
3662
3665
  intentionName?: string;
3663
3666
  intentionScript?: string;
3667
+ interrupt?: boolean;
3664
3668
  /**
3665
3669
  * @example
3666
3670
  * null
@@ -3681,6 +3685,7 @@ export class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
3681
3685
  intentionCode: 'intentionCode',
3682
3686
  intentionName: 'intentionName',
3683
3687
  intentionScript: 'intentionScript',
3688
+ interrupt: 'interrupt',
3684
3689
  recommendIntention: 'recommendIntention',
3685
3690
  recommendScript: 'recommendScript',
3686
3691
  selfDirectedScript: 'selfDirectedScript',
@@ -3696,6 +3701,7 @@ export class RealTimeDialogResponseBodyChoicesDelta extends $dara.Model {
3696
3701
  intentionCode: 'string',
3697
3702
  intentionName: 'string',
3698
3703
  intentionScript: 'string',
3704
+ interrupt: 'boolean',
3699
3705
  recommendIntention: 'string',
3700
3706
  recommendScript: 'string',
3701
3707
  selfDirectedScript: 'string',
@@ -3738,6 +3744,7 @@ export class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
3738
3744
  intentionCode?: string;
3739
3745
  intentionName?: string;
3740
3746
  intentionScript?: string;
3747
+ interrupt?: boolean;
3741
3748
  /**
3742
3749
  * @example
3743
3750
  * null
@@ -3762,6 +3769,7 @@ export class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
3762
3769
  intentionCode: 'intentionCode',
3763
3770
  intentionName: 'intentionName',
3764
3771
  intentionScript: 'intentionScript',
3772
+ interrupt: 'interrupt',
3765
3773
  recommendIntention: 'recommendIntention',
3766
3774
  recommendScript: 'recommendScript',
3767
3775
  selfDirectedScript: 'selfDirectedScript',
@@ -3777,6 +3785,7 @@ export class RealTimeDialogResponseBodyChoicesMessage extends $dara.Model {
3777
3785
  intentionCode: 'string',
3778
3786
  intentionName: 'string',
3779
3787
  intentionScript: 'string',
3788
+ interrupt: 'boolean',
3780
3789
  recommendIntention: 'string',
3781
3790
  recommendScript: 'string',
3782
3791
  selfDirectedScript: 'string',
@@ -10782,6 +10791,7 @@ export class RealTimeDialogRequest extends $dara.Model {
10782
10791
  * false
10783
10792
  */
10784
10793
  recommend?: boolean;
10794
+ scriptContentPlayed?: string;
10785
10795
  /**
10786
10796
  * @remarks
10787
10797
  * This parameter is required.
@@ -10795,6 +10805,7 @@ export class RealTimeDialogRequest extends $dara.Model {
10795
10805
  * false
10796
10806
  */
10797
10807
  stream?: boolean;
10808
+ userVad?: boolean;
10798
10809
  static names(): { [key: string]: string } {
10799
10810
  return {
10800
10811
  analysis: 'analysis',
@@ -10803,8 +10814,10 @@ export class RealTimeDialogRequest extends $dara.Model {
10803
10814
  dialogMemoryTurns: 'dialogMemoryTurns',
10804
10815
  metaData: 'metaData',
10805
10816
  recommend: 'recommend',
10817
+ scriptContentPlayed: 'scriptContentPlayed',
10806
10818
  sessionId: 'sessionId',
10807
10819
  stream: 'stream',
10820
+ userVad: 'userVad',
10808
10821
  };
10809
10822
  }
10810
10823
 
@@ -10816,8 +10829,10 @@ export class RealTimeDialogRequest extends $dara.Model {
10816
10829
  dialogMemoryTurns: 'number',
10817
10830
  metaData: { 'type': 'map', 'keyType': 'string', 'valueType': 'any' },
10818
10831
  recommend: 'boolean',
10832
+ scriptContentPlayed: 'string',
10819
10833
  sessionId: 'string',
10820
10834
  stream: 'boolean',
10835
+ userVad: 'boolean',
10821
10836
  };
10822
10837
  }
10823
10838
 
@@ -14722,6 +14737,10 @@ export default class Client extends OpenApi {
14722
14737
  body["recommend"] = request.recommend;
14723
14738
  }
14724
14739
 
14740
+ if (!$dara.isNull(request.scriptContentPlayed)) {
14741
+ body["scriptContentPlayed"] = request.scriptContentPlayed;
14742
+ }
14743
+
14725
14744
  if (!$dara.isNull(request.sessionId)) {
14726
14745
  body["sessionId"] = request.sessionId;
14727
14746
  }
@@ -14730,6 +14749,10 @@ export default class Client extends OpenApi {
14730
14749
  body["stream"] = request.stream;
14731
14750
  }
14732
14751
 
14752
+ if (!$dara.isNull(request.userVad)) {
14753
+ body["userVad"] = request.userVad;
14754
+ }
14755
+
14733
14756
  let req = new $OpenApiUtil.OpenApiRequest({
14734
14757
  headers: headers,
14735
14758
  body: OpenApiUtil.parseToMap(body),