@mxmweb/rtext 1.3.8 → 1.3.10

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.
@@ -1,4 +1,7 @@
1
1
  export declare const mockServerData: {
2
+ success: boolean;
3
+ errorMsg: null;
4
+ errorCode: null;
2
5
  data: {
3
6
  label: string;
4
7
  sessionId: string;
@@ -10,135 +13,70 @@ export declare const mockServerData: {
10
13
  configId: number;
11
14
  kbId: null;
12
15
  queryReplyPairList: ({
13
- query: {
14
- id: number;
15
- gmtCreate: string;
16
- content: string;
17
- type: string;
18
- queryId: string;
19
- audioUrl: string;
20
- filePaths: null;
21
- currentFiles: null;
22
- };
23
- reply: {
24
- id: number;
25
- gmtCreate: string;
26
- content: string;
27
- type: string;
28
- reference: string;
29
- webReference: string;
30
- queryId: string;
31
- feedbackResult: null;
32
- feedbackId: null;
33
- parsedFilePaths: null;
34
- recommendQuestion: string;
35
- llmType: number;
36
- resultType: number;
37
- respTime: number;
38
- databaseReference: null;
39
- tokens: number;
40
- flow_chain?: undefined;
41
- graphReference?: undefined;
42
- };
43
- } | {
44
- query: {
45
- id: number;
46
- gmtCreate: string;
47
- content: string;
48
- type: string;
49
- queryId: string;
50
- audioUrl: string;
51
- filePaths: string;
52
- currentFiles: string;
53
- };
54
- reply: {
55
- id: number;
56
- gmtCreate: string;
57
- content: string;
58
- type: string;
59
- reference: string;
60
- webReference: string;
61
- queryId: string;
62
- feedbackResult: null;
63
- feedbackId: null;
64
- parsedFilePaths: null;
65
- recommendQuestion: string;
66
- llmType: number;
67
- resultType: number;
68
- respTime: number;
69
- databaseReference: null;
70
- tokens: number;
71
- flow_chain?: undefined;
72
- graphReference?: undefined;
73
- };
74
- } | {
75
- query: {
76
- id: number;
77
- gmtCreate: string;
78
- content: string;
79
- type: string;
80
- queryId: string;
81
- audioUrl: string;
82
- filePaths: null;
83
- currentFiles: null;
84
- };
85
- reply: {
86
- id: number;
87
- gmtCreate: string;
88
- content: string;
89
- type: string;
90
- reference: string;
91
- webReference: string;
92
- queryId: string;
93
- feedbackResult: null;
94
- feedbackId: null;
95
- parsedFilePaths: null;
96
- recommendQuestion: string;
97
- llmType: number;
98
- resultType: number;
99
- respTime: number;
100
- tokens: number;
101
- databaseReference?: undefined;
102
- flow_chain?: undefined;
103
- graphReference?: undefined;
104
- };
105
- } | {
106
- query: {
107
- id: number;
108
- gmtCreate: string;
109
- content: string;
110
- type: string;
111
- queryId: string;
112
- audioUrl: string;
113
- filePaths: null;
114
- currentFiles: null;
115
- };
116
- reply: {
117
- id: number;
118
- gmtCreate: string;
119
- content: string;
120
- type: string;
121
- flow_chain: {
16
+ label: string;
17
+ sessionId: string;
18
+ gmtCreate: string;
19
+ gmtModified: string;
20
+ createBy: string;
21
+ updateBy: string;
22
+ filePath: string;
23
+ configId: string;
24
+ kbId: null;
25
+ queryReplyPairList: {
26
+ query: {
27
+ id: string;
28
+ gmtCreate: number;
29
+ content: string;
122
30
  type: string;
123
- timestamp: number;
124
- state: string;
125
- error_msg: string;
31
+ queryId: string;
32
+ audioUrl: string;
33
+ filePaths: null;
34
+ currentFiles: null;
35
+ };
36
+ reply: {
37
+ id: string;
38
+ gmtCreate: number;
126
39
  content: string;
127
- }[];
128
- recommendQuestion: string;
129
- reference: string;
130
- webReference: string;
131
- graphReference: string;
132
- queryId: string;
133
- feedbackResult: null;
134
- feedbackId: null;
135
- parsedFilePaths: null;
136
- llmType: number;
137
- resultType: number;
138
- respTime: number;
139
- tokens: number;
140
- databaseReference?: undefined;
40
+ type: string;
41
+ chain: {
42
+ businessType: string;
43
+ nodeStatus: number;
44
+ content: string;
45
+ type: string;
46
+ }[];
47
+ reference: string;
48
+ webReference: string;
49
+ queryId: string;
50
+ feedbackResult: null;
51
+ feedbackId: null;
52
+ parsedFilePaths: null;
53
+ recommendQuestion: string;
54
+ llmType: number;
55
+ resultType: number;
56
+ respTime: number;
57
+ databaseReference: null;
58
+ tokens: number;
59
+ };
60
+ }[];
61
+ searchConfigDTO: {
62
+ id: string;
63
+ status: number;
64
+ isDefault: number;
65
+ configJson: string;
66
+ name: string;
67
+ des: null;
68
+ createBy: string;
69
+ gmtCreate: string;
70
+ permission: null;
71
+ sensitiveWordIds: string;
72
+ defaultAnswer: string;
73
+ model: boolean;
74
+ enabledFaq: number;
75
+ dependOnKb: number;
76
+ isDel: number;
141
77
  };
78
+ query?: undefined;
79
+ reply?: undefined;
142
80
  } | {
143
81
  query: {
144
82
  id: number;
@@ -165,11 +103,20 @@ export declare const mockServerData: {
165
103
  llmType: number;
166
104
  resultType: number;
167
105
  respTime: number;
168
- databaseReference: string;
106
+ databaseReference: null;
169
107
  tokens: number;
170
- flow_chain?: undefined;
171
- graphReference?: undefined;
172
108
  };
109
+ label?: undefined;
110
+ sessionId?: undefined;
111
+ gmtCreate?: undefined;
112
+ gmtModified?: undefined;
113
+ createBy?: undefined;
114
+ updateBy?: undefined;
115
+ filePath?: undefined;
116
+ configId?: undefined;
117
+ kbId?: undefined;
118
+ queryReplyPairList?: undefined;
119
+ searchConfigDTO?: undefined;
173
120
  })[];
174
121
  searchConfigDTO: {
175
122
  id: number;
@@ -181,8 +128,8 @@ export declare const mockServerData: {
181
128
  createBy: string;
182
129
  gmtCreate: string;
183
130
  permission: null;
184
- sensitiveWordIds: string;
185
- defaultAnswer: string;
131
+ sensitiveWordIds: null;
132
+ defaultAnswer: null;
186
133
  model: boolean;
187
134
  enabledFaq: number;
188
135
  dependOnKb: number;
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "style": "assets/style.css",
6
6
  "types": "lib_enter.d.ts",
7
7
  "private": false,
8
- "version": "1.3.8",
8
+ "version": "1.3.10",
9
9
  "author": "hanfeng_Zhang",
10
10
  "type": "module",
11
11
  "scripts": {