@mxmweb/rtext 1.7.5 → 1.7.8
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/adopters/ChatMessageAdapter.d.ts +9 -0
- package/assets/style.css +1 -1
- package/hooks/useRtextViewportMobile.d.ts +6 -0
- package/index.js +7557 -7490
- package/mockrecalldata.d.ts +11 -4
- package/mockserverdata.d.ts +66 -0
- package/package.json +1 -1
- package/stats.html +1 -1
package/mockrecalldata.d.ts
CHANGED
|
@@ -30,12 +30,14 @@ export declare const mockServerData: {
|
|
|
30
30
|
type: string;
|
|
31
31
|
reference: string;
|
|
32
32
|
webReference: string;
|
|
33
|
-
knowledgeBases:
|
|
33
|
+
knowledgeBases: never[];
|
|
34
|
+
graphReference: string;
|
|
34
35
|
queryId: string;
|
|
35
36
|
feedbackResult: null;
|
|
36
37
|
feedbackId: null;
|
|
37
38
|
parsedFilePaths: null;
|
|
38
|
-
|
|
39
|
+
temporaryReference: string;
|
|
40
|
+
recommendQuestion: null;
|
|
39
41
|
llmType: number;
|
|
40
42
|
resultType: number;
|
|
41
43
|
respTime: number;
|
|
@@ -44,7 +46,6 @@ export declare const mockServerData: {
|
|
|
44
46
|
sessionId: null;
|
|
45
47
|
queryId: null;
|
|
46
48
|
lastDate: null;
|
|
47
|
-
respTime: number;
|
|
48
49
|
status: number;
|
|
49
50
|
reply: {
|
|
50
51
|
content: string;
|
|
@@ -55,17 +56,21 @@ export declare const mockServerData: {
|
|
|
55
56
|
reference: null;
|
|
56
57
|
webReference: null;
|
|
57
58
|
databaseReference: null;
|
|
59
|
+
graphReference: null;
|
|
58
60
|
knowledgeBases: null;
|
|
59
61
|
docsTree: null;
|
|
60
62
|
resultType: null;
|
|
61
63
|
filePaths: null;
|
|
62
|
-
|
|
64
|
+
respTime: null;
|
|
65
|
+
chainRespTime: number;
|
|
63
66
|
enableCot: number;
|
|
64
67
|
tokens: number;
|
|
65
68
|
promptContent: null;
|
|
66
69
|
llmType: number;
|
|
67
70
|
businessType: string;
|
|
68
71
|
nodeStatus: number;
|
|
72
|
+
temporaryReference: null;
|
|
73
|
+
config: null;
|
|
69
74
|
}[];
|
|
70
75
|
enableCot: number;
|
|
71
76
|
tokens: number;
|
|
@@ -100,6 +105,8 @@ export declare const mockServerData: {
|
|
|
100
105
|
respTime: number;
|
|
101
106
|
tokens: number;
|
|
102
107
|
knowledgeBases?: undefined;
|
|
108
|
+
graphReference?: undefined;
|
|
109
|
+
temporaryReference?: undefined;
|
|
103
110
|
databaseReference?: undefined;
|
|
104
111
|
chain?: undefined;
|
|
105
112
|
enableCot?: undefined;
|
package/mockserverdata.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export declare const mockServerData: {
|
|
|
30
30
|
type: string;
|
|
31
31
|
reference: string;
|
|
32
32
|
webReference: string;
|
|
33
|
+
graphReference: string;
|
|
33
34
|
knowledgeBases: never[];
|
|
34
35
|
queryId: string;
|
|
35
36
|
feedbackResult: null;
|
|
@@ -55,6 +56,7 @@ export declare const mockServerData: {
|
|
|
55
56
|
reference: null;
|
|
56
57
|
webReference: null;
|
|
57
58
|
databaseReference: null;
|
|
59
|
+
graphReference: null;
|
|
58
60
|
knowledgeBases: null;
|
|
59
61
|
docsTree: null;
|
|
60
62
|
resultType: null;
|
|
@@ -74,6 +76,69 @@ export declare const mockServerData: {
|
|
|
74
76
|
tokens: number;
|
|
75
77
|
faqReference?: undefined;
|
|
76
78
|
};
|
|
79
|
+
} | {
|
|
80
|
+
query: {
|
|
81
|
+
id: string;
|
|
82
|
+
gmtCreate: number;
|
|
83
|
+
content: string;
|
|
84
|
+
type: string;
|
|
85
|
+
queryId: string;
|
|
86
|
+
audioUrl: string;
|
|
87
|
+
filePaths: null;
|
|
88
|
+
currentFiles: null;
|
|
89
|
+
};
|
|
90
|
+
reply: {
|
|
91
|
+
id: string;
|
|
92
|
+
gmtCreate: number;
|
|
93
|
+
content: string;
|
|
94
|
+
type: string;
|
|
95
|
+
reference: string;
|
|
96
|
+
webReference: string;
|
|
97
|
+
knowledgeBases: never[];
|
|
98
|
+
queryId: string;
|
|
99
|
+
feedbackResult: null;
|
|
100
|
+
feedbackId: null;
|
|
101
|
+
parsedFilePaths: null;
|
|
102
|
+
temporaryReference: string;
|
|
103
|
+
recommendQuestion: string;
|
|
104
|
+
llmType: number;
|
|
105
|
+
resultType: number;
|
|
106
|
+
respTime: number;
|
|
107
|
+
databaseReference: null;
|
|
108
|
+
chain: {
|
|
109
|
+
sessionId: null;
|
|
110
|
+
queryId: null;
|
|
111
|
+
lastDate: null;
|
|
112
|
+
status: number;
|
|
113
|
+
reply: {
|
|
114
|
+
content: string;
|
|
115
|
+
type: string;
|
|
116
|
+
errorMsg: null;
|
|
117
|
+
errorCode: null;
|
|
118
|
+
};
|
|
119
|
+
reference: null;
|
|
120
|
+
webReference: null;
|
|
121
|
+
databaseReference: null;
|
|
122
|
+
knowledgeBases: null;
|
|
123
|
+
docsTree: null;
|
|
124
|
+
resultType: null;
|
|
125
|
+
filePaths: null;
|
|
126
|
+
respTime: null;
|
|
127
|
+
chainRespTime: number;
|
|
128
|
+
enableCot: number;
|
|
129
|
+
tokens: number;
|
|
130
|
+
promptContent: null;
|
|
131
|
+
llmType: number;
|
|
132
|
+
businessType: string;
|
|
133
|
+
nodeStatus: number;
|
|
134
|
+
temporaryReference: null;
|
|
135
|
+
config: null;
|
|
136
|
+
}[];
|
|
137
|
+
enableCot: number;
|
|
138
|
+
tokens: number;
|
|
139
|
+
graphReference?: undefined;
|
|
140
|
+
faqReference?: undefined;
|
|
141
|
+
};
|
|
77
142
|
} | {
|
|
78
143
|
query: {
|
|
79
144
|
id: number;
|
|
@@ -102,6 +167,7 @@ export declare const mockServerData: {
|
|
|
102
167
|
resultType: number;
|
|
103
168
|
respTime: number;
|
|
104
169
|
tokens: number;
|
|
170
|
+
graphReference?: undefined;
|
|
105
171
|
knowledgeBases?: undefined;
|
|
106
172
|
temporaryReference?: undefined;
|
|
107
173
|
databaseReference?: undefined;
|