@dxos/assistant 0.8.4-main.3f58842 → 0.8.4-main.b97322e
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/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts +15 -15
- package/dist/types/src/session/session.d.ts +2 -2
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -21
- package/src/extraction/extraction-llm-function/extraction-llm-function.test.ts +6 -18
- package/src/session/session.test.ts +3 -3
- package/src/summarization/summarization.test.ts +3 -17
|
@@ -6,10 +6,15 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
|
|
|
6
6
|
name?: string | undefined;
|
|
7
7
|
email?: string | undefined;
|
|
8
8
|
contact?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
|
|
9
|
+
fields?: {
|
|
10
|
+
readonly value: string;
|
|
11
|
+
readonly category?: string | undefined;
|
|
12
|
+
readonly label: string;
|
|
13
|
+
}[] | undefined;
|
|
14
|
+
image?: string | undefined;
|
|
9
15
|
fullName?: string | undefined;
|
|
10
16
|
preferredName?: string | undefined;
|
|
11
17
|
nickname?: string | undefined;
|
|
12
|
-
image?: string | undefined;
|
|
13
18
|
organization?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
|
|
14
19
|
id: string;
|
|
15
20
|
name?: string | undefined;
|
|
@@ -50,11 +55,6 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
|
|
|
50
55
|
readonly label?: string | undefined;
|
|
51
56
|
}[] | undefined;
|
|
52
57
|
birthday?: string | undefined;
|
|
53
|
-
fields?: {
|
|
54
|
-
readonly value: string;
|
|
55
|
-
readonly label: string;
|
|
56
|
-
readonly category?: string | undefined;
|
|
57
|
-
}[] | undefined;
|
|
58
58
|
}> | undefined;
|
|
59
59
|
identityDid?: string | undefined;
|
|
60
60
|
identityKey?: string | undefined;
|
|
@@ -103,9 +103,9 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
|
|
|
103
103
|
_tag: "reference";
|
|
104
104
|
pending?: boolean | undefined;
|
|
105
105
|
} | {
|
|
106
|
-
options: readonly string[];
|
|
107
106
|
_tag: "select";
|
|
108
107
|
pending?: boolean | undefined;
|
|
108
|
+
options: readonly string[];
|
|
109
109
|
} | {
|
|
110
110
|
_tag: "status";
|
|
111
111
|
pending?: boolean | undefined;
|
|
@@ -145,11 +145,11 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
|
|
|
145
145
|
[x: string]: any;
|
|
146
146
|
} | undefined;
|
|
147
147
|
};
|
|
148
|
+
readonly objects?: readonly import("@dxos/echo-schema").Expando[] | undefined;
|
|
148
149
|
readonly options?: {
|
|
149
150
|
readonly timeout?: number | undefined;
|
|
150
151
|
readonly fallbackToRaw?: boolean | undefined;
|
|
151
152
|
} | undefined;
|
|
152
|
-
readonly objects?: readonly import("@dxos/echo-schema").Expando[] | undefined;
|
|
153
153
|
}, {
|
|
154
154
|
readonly message: import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
|
|
155
155
|
id: string;
|
|
@@ -158,10 +158,15 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
|
|
|
158
158
|
name?: string | undefined;
|
|
159
159
|
email?: string | undefined;
|
|
160
160
|
contact?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
|
|
161
|
+
fields?: {
|
|
162
|
+
readonly value: string;
|
|
163
|
+
readonly category?: string | undefined;
|
|
164
|
+
readonly label: string;
|
|
165
|
+
}[] | undefined;
|
|
166
|
+
image?: string | undefined;
|
|
161
167
|
fullName?: string | undefined;
|
|
162
168
|
preferredName?: string | undefined;
|
|
163
169
|
nickname?: string | undefined;
|
|
164
|
-
image?: string | undefined;
|
|
165
170
|
organization?: import("@dxos/echo-schema").Ref<import("@dxos/echo/Type").OfKind<import("@dxos/echo-schema").EntityKind.Object> & {
|
|
166
171
|
id: string;
|
|
167
172
|
name?: string | undefined;
|
|
@@ -202,11 +207,6 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
|
|
|
202
207
|
readonly label?: string | undefined;
|
|
203
208
|
}[] | undefined;
|
|
204
209
|
birthday?: string | undefined;
|
|
205
|
-
fields?: {
|
|
206
|
-
readonly value: string;
|
|
207
|
-
readonly label: string;
|
|
208
|
-
readonly category?: string | undefined;
|
|
209
|
-
}[] | undefined;
|
|
210
210
|
}> | undefined;
|
|
211
211
|
identityDid?: string | undefined;
|
|
212
212
|
identityKey?: string | undefined;
|
|
@@ -255,9 +255,9 @@ export declare const extractionNerFn: import("@dxos/functions").FunctionDefiniti
|
|
|
255
255
|
_tag: "reference";
|
|
256
256
|
pending?: boolean | undefined;
|
|
257
257
|
} | {
|
|
258
|
-
options: readonly string[];
|
|
259
258
|
_tag: "select";
|
|
260
259
|
pending?: boolean | undefined;
|
|
260
|
+
options: readonly string[];
|
|
261
261
|
} | {
|
|
262
262
|
_tag: "status";
|
|
263
263
|
pending?: boolean | undefined;
|
|
@@ -84,9 +84,9 @@ export declare class AiSession {
|
|
|
84
84
|
_tag: "reference";
|
|
85
85
|
pending?: boolean | undefined;
|
|
86
86
|
} | {
|
|
87
|
-
options: readonly string[];
|
|
88
87
|
_tag: "select";
|
|
89
88
|
pending?: boolean | undefined;
|
|
89
|
+
options: readonly string[];
|
|
90
90
|
} | {
|
|
91
91
|
_tag: "status";
|
|
92
92
|
pending?: boolean | undefined;
|
|
@@ -168,9 +168,9 @@ export declare class AiSession {
|
|
|
168
168
|
_tag: "reference";
|
|
169
169
|
pending?: boolean | undefined;
|
|
170
170
|
} | {
|
|
171
|
-
options: readonly string[];
|
|
172
171
|
_tag: "select";
|
|
173
172
|
pending?: boolean | undefined;
|
|
173
|
+
options: readonly string[];
|
|
174
174
|
} | {
|
|
175
175
|
_tag: "status";
|
|
176
176
|
pending?: boolean | undefined;
|