@dxos/assistant 0.8.4-main.937b3ca → 0.8.4-main.9735255
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/conversation/context.d.ts +12 -12
- package/dist/types/src/conversation/context.d.ts.map +1 -1
- package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts +178 -178
- package/dist/types/src/extraction/extraction-ner-function/extraction-ner-function.d.ts.map +1 -1
- package/dist/types/src/extraction/extraction.d.ts +178 -178
- package/dist/types/src/extraction/extraction.d.ts.map +1 -1
- package/dist/types/tsconfig.tsbuildinfo +1 -1
- package/package.json +21 -21
|
@@ -16,14 +16,14 @@ export declare const ContextBinding: Type.Obj<{
|
|
|
16
16
|
readonly name: string;
|
|
17
17
|
readonly key: string;
|
|
18
18
|
readonly instructions: {
|
|
19
|
-
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
19
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
20
20
|
readonly content: string;
|
|
21
21
|
}>;
|
|
22
|
-
inputs?: {
|
|
23
|
-
function?: string | undefined;
|
|
24
|
-
name: string;
|
|
25
|
-
kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
26
|
-
default?: any;
|
|
22
|
+
readonly inputs?: readonly {
|
|
23
|
+
readonly function?: string | undefined;
|
|
24
|
+
readonly name: string;
|
|
25
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
26
|
+
readonly default?: any;
|
|
27
27
|
}[] | undefined;
|
|
28
28
|
};
|
|
29
29
|
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
@@ -33,14 +33,14 @@ export declare const ContextBinding: Type.Obj<{
|
|
|
33
33
|
readonly name: string;
|
|
34
34
|
readonly key: string;
|
|
35
35
|
readonly instructions: {
|
|
36
|
-
source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
36
|
+
readonly source: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
37
37
|
readonly content: string;
|
|
38
38
|
}>;
|
|
39
|
-
inputs?: {
|
|
40
|
-
function?: string | undefined;
|
|
41
|
-
name: string;
|
|
42
|
-
kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
43
|
-
default?: any;
|
|
39
|
+
readonly inputs?: readonly {
|
|
40
|
+
readonly function?: string | undefined;
|
|
41
|
+
readonly name: string;
|
|
42
|
+
readonly kind?: "function" | "value" | "pass-through" | "retriever" | "query" | "resolver" | "context" | "schema" | undefined;
|
|
43
|
+
readonly default?: any;
|
|
44
44
|
}[] | undefined;
|
|
45
45
|
};
|
|
46
46
|
readonly tools: readonly (string & import("effect/Brand").Brand<"ToolId">)[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"context.d.ts","sourceRoot":"","sources":["../../../../src/conversation/context.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AAEzD,OAAO,KAAK,OAAO,MAAM,gBAAgB,CAAC;AAE1C,OAAO,KAAK,MAAM,MAAM,eAAe,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,MAAM,kBAAkB,CAAC;AAC7C,OAAO,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AACzC,OAAO,EAAE,GAAG,EAAE,GAAG,EAAS,KAAK,GAAG,EAAE,IAAI,EAAE,MAAM,YAAY,CAAC;AAC7D,OAAO,EAAE,KAAK,KAAK,EAAE,MAAM,eAAe,CAAC;AAE3C,OAAO,EAAE,UAAU,EAAY,MAAM,YAAY,CA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AAC,OAAO;IAqBf;;OAEG;YACW,QAAQ;CAmBvB;;YAKW,eAAe;;AAH3B,qBAAa,gBAAiB,SAAQ,qBAKnC;CAAG"}
|
|
@@ -11,9 +11,9 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
|
|
|
11
11
|
readonly parentMessage?: string | undefined;
|
|
12
12
|
readonly created: string;
|
|
13
13
|
readonly sender: {
|
|
14
|
-
name?: string | undefined;
|
|
15
|
-
role?: "user" | "assistant" | "tool" | undefined;
|
|
16
|
-
contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
14
|
+
readonly name?: string | undefined;
|
|
15
|
+
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
16
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
17
17
|
readonly image?: string | undefined;
|
|
18
18
|
readonly fullName?: string | undefined;
|
|
19
19
|
readonly preferredName?: string | undefined;
|
|
@@ -30,24 +30,24 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
|
|
|
30
30
|
readonly jobTitle?: string | undefined;
|
|
31
31
|
readonly department?: string | undefined;
|
|
32
32
|
readonly notes?: string | undefined;
|
|
33
|
-
readonly emails?: {
|
|
33
|
+
readonly emails?: readonly {
|
|
34
34
|
readonly value: string;
|
|
35
35
|
readonly label?: string | undefined;
|
|
36
36
|
}[] | undefined;
|
|
37
|
-
readonly identities?: {
|
|
37
|
+
readonly identities?: readonly {
|
|
38
38
|
readonly value: string;
|
|
39
39
|
readonly label?: string | undefined;
|
|
40
40
|
}[] | undefined;
|
|
41
|
-
readonly phoneNumbers?: {
|
|
41
|
+
readonly phoneNumbers?: readonly {
|
|
42
42
|
readonly value: string;
|
|
43
43
|
readonly label?: string | undefined;
|
|
44
44
|
}[] | undefined;
|
|
45
|
-
readonly fields?: {
|
|
45
|
+
readonly fields?: readonly {
|
|
46
46
|
readonly value: string;
|
|
47
47
|
readonly label: string;
|
|
48
48
|
readonly category?: string | undefined;
|
|
49
49
|
}[] | undefined;
|
|
50
|
-
readonly addresses?: {
|
|
50
|
+
readonly addresses?: readonly {
|
|
51
51
|
readonly value: {
|
|
52
52
|
readonly street?: string | undefined;
|
|
53
53
|
readonly extended?: string | undefined;
|
|
@@ -59,7 +59,7 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
|
|
|
59
59
|
};
|
|
60
60
|
readonly label?: string | undefined;
|
|
61
61
|
}[] | undefined;
|
|
62
|
-
readonly urls?: {
|
|
62
|
+
readonly urls?: readonly {
|
|
63
63
|
readonly value: string;
|
|
64
64
|
readonly label?: string | undefined;
|
|
65
65
|
}[] | undefined;
|
|
@@ -67,110 +67,110 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
|
|
|
67
67
|
} & {
|
|
68
68
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
69
69
|
}> | undefined;
|
|
70
|
-
identityDid?: string | undefined;
|
|
71
|
-
identityKey?: string | undefined;
|
|
72
|
-
email?: string | undefined;
|
|
70
|
+
readonly identityDid?: string | undefined;
|
|
71
|
+
readonly identityKey?: string | undefined;
|
|
72
|
+
readonly email?: string | undefined;
|
|
73
73
|
};
|
|
74
|
-
readonly blocks: ({
|
|
75
|
-
pending?: boolean | undefined;
|
|
76
|
-
text: string;
|
|
77
|
-
mimeType?: string | undefined;
|
|
78
|
-
disposition?: string | undefined;
|
|
79
|
-
_tag: "text";
|
|
74
|
+
readonly blocks: readonly ({
|
|
75
|
+
readonly pending?: boolean | undefined;
|
|
76
|
+
readonly text: string;
|
|
77
|
+
readonly mimeType?: string | undefined;
|
|
78
|
+
readonly disposition?: string | undefined;
|
|
79
|
+
readonly _tag: "text";
|
|
80
80
|
} | {
|
|
81
|
-
pending?: boolean | undefined;
|
|
82
|
-
_tag: "reasoning";
|
|
83
|
-
reasoningText?: string | undefined;
|
|
84
|
-
redactedText?: string | undefined;
|
|
85
|
-
signature?: string | undefined;
|
|
81
|
+
readonly pending?: boolean | undefined;
|
|
82
|
+
readonly _tag: "reasoning";
|
|
83
|
+
readonly reasoningText?: string | undefined;
|
|
84
|
+
readonly redactedText?: string | undefined;
|
|
85
|
+
readonly signature?: string | undefined;
|
|
86
86
|
} | {
|
|
87
|
-
name: string;
|
|
88
|
-
pending?: boolean | undefined;
|
|
89
|
-
_tag: "toolCall";
|
|
90
|
-
toolCallId: string;
|
|
91
|
-
input: string;
|
|
92
|
-
providerExecuted: boolean;
|
|
87
|
+
readonly name: string;
|
|
88
|
+
readonly pending?: boolean | undefined;
|
|
89
|
+
readonly _tag: "toolCall";
|
|
90
|
+
readonly toolCallId: string;
|
|
91
|
+
readonly input: string;
|
|
92
|
+
readonly providerExecuted: boolean;
|
|
93
93
|
} | {
|
|
94
|
-
name: string;
|
|
95
|
-
pending?: boolean | undefined;
|
|
96
|
-
_tag: "toolResult";
|
|
97
|
-
toolCallId: string;
|
|
98
|
-
providerExecuted: boolean;
|
|
99
|
-
result?: string | undefined;
|
|
100
|
-
error?: string | undefined;
|
|
94
|
+
readonly name: string;
|
|
95
|
+
readonly pending?: boolean | undefined;
|
|
96
|
+
readonly _tag: "toolResult";
|
|
97
|
+
readonly toolCallId: string;
|
|
98
|
+
readonly providerExecuted: boolean;
|
|
99
|
+
readonly result?: string | undefined;
|
|
100
|
+
readonly error?: string | undefined;
|
|
101
101
|
} | {
|
|
102
|
-
pending?: boolean | undefined;
|
|
103
|
-
mimeType?: string | undefined;
|
|
104
|
-
_tag: "summary";
|
|
105
|
-
message?: string | undefined;
|
|
106
|
-
model?: string | undefined;
|
|
107
|
-
usage?: {
|
|
102
|
+
readonly pending?: boolean | undefined;
|
|
103
|
+
readonly mimeType?: string | undefined;
|
|
104
|
+
readonly _tag: "summary";
|
|
105
|
+
readonly message?: string | undefined;
|
|
106
|
+
readonly model?: string | undefined;
|
|
107
|
+
readonly usage?: {
|
|
108
108
|
readonly inputTokens?: number | undefined;
|
|
109
109
|
readonly outputTokens?: number | undefined;
|
|
110
110
|
readonly totalTokens?: number | undefined;
|
|
111
111
|
} | undefined;
|
|
112
|
-
toolCalls?: number | undefined;
|
|
113
|
-
errors?: number | undefined;
|
|
114
|
-
duration?: number | undefined;
|
|
112
|
+
readonly toolCalls?: number | undefined;
|
|
113
|
+
readonly errors?: number | undefined;
|
|
114
|
+
readonly duration?: number | undefined;
|
|
115
115
|
} | {
|
|
116
|
-
source?: {
|
|
117
|
-
type: "base64";
|
|
118
|
-
mediaType: string;
|
|
119
|
-
data: string;
|
|
116
|
+
readonly source?: {
|
|
117
|
+
readonly type: "base64";
|
|
118
|
+
readonly mediaType: string;
|
|
119
|
+
readonly data: string;
|
|
120
120
|
} | {
|
|
121
|
-
type: "http";
|
|
122
|
-
url: string;
|
|
121
|
+
readonly type: "http";
|
|
122
|
+
readonly url: string;
|
|
123
123
|
} | undefined;
|
|
124
|
-
id?: string | undefined;
|
|
125
|
-
pending?: boolean | undefined;
|
|
126
|
-
_tag: "image";
|
|
124
|
+
readonly id?: string | undefined;
|
|
125
|
+
readonly pending?: boolean | undefined;
|
|
126
|
+
readonly _tag: "image";
|
|
127
127
|
} | {
|
|
128
|
-
name?: string | undefined;
|
|
129
|
-
pending?: boolean | undefined;
|
|
130
|
-
_tag: "file";
|
|
131
|
-
mediaType?: string | undefined;
|
|
132
|
-
url: string;
|
|
128
|
+
readonly name?: string | undefined;
|
|
129
|
+
readonly pending?: boolean | undefined;
|
|
130
|
+
readonly _tag: "file";
|
|
131
|
+
readonly mediaType?: string | undefined;
|
|
132
|
+
readonly url: string;
|
|
133
133
|
} | {
|
|
134
|
-
pending?: boolean | undefined;
|
|
135
|
-
_tag: "reference";
|
|
136
|
-
reference: import("@dxos/echo/internal").Ref<any>;
|
|
134
|
+
readonly pending?: boolean | undefined;
|
|
135
|
+
readonly _tag: "reference";
|
|
136
|
+
readonly reference: import("@dxos/echo/internal").Ref<any>;
|
|
137
137
|
} | {
|
|
138
|
-
pending?: boolean | undefined;
|
|
139
|
-
text: string;
|
|
140
|
-
_tag: "transcript";
|
|
141
|
-
started: string;
|
|
138
|
+
readonly pending?: boolean | undefined;
|
|
139
|
+
readonly text: string;
|
|
140
|
+
readonly _tag: "transcript";
|
|
141
|
+
readonly started: string;
|
|
142
142
|
} | {
|
|
143
|
-
pending?: boolean | undefined;
|
|
144
|
-
_tag: "status";
|
|
145
|
-
statusText: string;
|
|
143
|
+
readonly pending?: boolean | undefined;
|
|
144
|
+
readonly _tag: "status";
|
|
145
|
+
readonly statusText: string;
|
|
146
146
|
} | {
|
|
147
|
-
pending?: boolean | undefined;
|
|
148
|
-
text: string;
|
|
149
|
-
_tag: "suggestion";
|
|
147
|
+
readonly pending?: boolean | undefined;
|
|
148
|
+
readonly text: string;
|
|
149
|
+
readonly _tag: "suggestion";
|
|
150
150
|
} | {
|
|
151
|
-
pending?: boolean | undefined;
|
|
152
|
-
_tag: "select";
|
|
153
|
-
options: string[];
|
|
151
|
+
readonly pending?: boolean | undefined;
|
|
152
|
+
readonly _tag: "select";
|
|
153
|
+
readonly options: string[];
|
|
154
154
|
} | {
|
|
155
|
-
version: unknown;
|
|
156
|
-
pending?: boolean | undefined;
|
|
157
|
-
_tag: "anchor";
|
|
158
|
-
objectId: string;
|
|
155
|
+
readonly version: unknown;
|
|
156
|
+
readonly pending?: boolean | undefined;
|
|
157
|
+
readonly _tag: "anchor";
|
|
158
|
+
readonly objectId: string;
|
|
159
159
|
} | {
|
|
160
|
-
pending?: boolean | undefined;
|
|
161
|
-
text: string;
|
|
162
|
-
_tag: "proposal";
|
|
160
|
+
readonly pending?: boolean | undefined;
|
|
161
|
+
readonly text: string;
|
|
162
|
+
readonly _tag: "proposal";
|
|
163
163
|
} | {
|
|
164
|
-
pending?: boolean | undefined;
|
|
165
|
-
_tag: "toolkit";
|
|
164
|
+
readonly pending?: boolean | undefined;
|
|
165
|
+
readonly _tag: "toolkit";
|
|
166
166
|
} | {
|
|
167
|
-
pending?: boolean | undefined;
|
|
168
|
-
disposition?: string | undefined;
|
|
169
|
-
_tag: "json";
|
|
170
|
-
data: string;
|
|
167
|
+
readonly pending?: boolean | undefined;
|
|
168
|
+
readonly disposition?: string | undefined;
|
|
169
|
+
readonly _tag: "json";
|
|
170
|
+
readonly data: string;
|
|
171
171
|
})[];
|
|
172
172
|
readonly properties?: {
|
|
173
|
-
[x: string]: any;
|
|
173
|
+
readonly [x: string]: any;
|
|
174
174
|
} | undefined;
|
|
175
175
|
};
|
|
176
176
|
readonly objects?: readonly any[] | undefined;
|
|
@@ -180,9 +180,9 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
|
|
|
180
180
|
readonly parentMessage?: string | undefined;
|
|
181
181
|
readonly created: string;
|
|
182
182
|
readonly sender: {
|
|
183
|
-
name?: string | undefined;
|
|
184
|
-
role?: "user" | "assistant" | "tool" | undefined;
|
|
185
|
-
contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
183
|
+
readonly name?: string | undefined;
|
|
184
|
+
readonly role?: "user" | "assistant" | "tool" | undefined;
|
|
185
|
+
readonly contact?: import("@dxos/echo/internal").Ref<import("@dxos/echo/Entity").OfKind<import("@dxos/echo/internal").EntityKind.Object> & {
|
|
186
186
|
readonly image?: string | undefined;
|
|
187
187
|
readonly fullName?: string | undefined;
|
|
188
188
|
readonly preferredName?: string | undefined;
|
|
@@ -199,24 +199,24 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
|
|
|
199
199
|
readonly jobTitle?: string | undefined;
|
|
200
200
|
readonly department?: string | undefined;
|
|
201
201
|
readonly notes?: string | undefined;
|
|
202
|
-
readonly emails?: {
|
|
202
|
+
readonly emails?: readonly {
|
|
203
203
|
readonly value: string;
|
|
204
204
|
readonly label?: string | undefined;
|
|
205
205
|
}[] | undefined;
|
|
206
|
-
readonly identities?: {
|
|
206
|
+
readonly identities?: readonly {
|
|
207
207
|
readonly value: string;
|
|
208
208
|
readonly label?: string | undefined;
|
|
209
209
|
}[] | undefined;
|
|
210
|
-
readonly phoneNumbers?: {
|
|
210
|
+
readonly phoneNumbers?: readonly {
|
|
211
211
|
readonly value: string;
|
|
212
212
|
readonly label?: string | undefined;
|
|
213
213
|
}[] | undefined;
|
|
214
|
-
readonly fields?: {
|
|
214
|
+
readonly fields?: readonly {
|
|
215
215
|
readonly value: string;
|
|
216
216
|
readonly label: string;
|
|
217
217
|
readonly category?: string | undefined;
|
|
218
218
|
}[] | undefined;
|
|
219
|
-
readonly addresses?: {
|
|
219
|
+
readonly addresses?: readonly {
|
|
220
220
|
readonly value: {
|
|
221
221
|
readonly street?: string | undefined;
|
|
222
222
|
readonly extended?: string | undefined;
|
|
@@ -228,7 +228,7 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
|
|
|
228
228
|
};
|
|
229
229
|
readonly label?: string | undefined;
|
|
230
230
|
}[] | undefined;
|
|
231
|
-
readonly urls?: {
|
|
231
|
+
readonly urls?: readonly {
|
|
232
232
|
readonly value: string;
|
|
233
233
|
readonly label?: string | undefined;
|
|
234
234
|
}[] | undefined;
|
|
@@ -236,110 +236,110 @@ export declare const extractionNerFunction: import("@dxos/functions").FunctionDe
|
|
|
236
236
|
} & {
|
|
237
237
|
readonly location?: readonly [number, number, (number | undefined)?] | undefined;
|
|
238
238
|
}> | undefined;
|
|
239
|
-
identityDid?: string | undefined;
|
|
240
|
-
identityKey?: string | undefined;
|
|
241
|
-
email?: string | undefined;
|
|
239
|
+
readonly identityDid?: string | undefined;
|
|
240
|
+
readonly identityKey?: string | undefined;
|
|
241
|
+
readonly email?: string | undefined;
|
|
242
242
|
};
|
|
243
|
-
readonly blocks: ({
|
|
244
|
-
pending?: boolean | undefined;
|
|
245
|
-
text: string;
|
|
246
|
-
mimeType?: string | undefined;
|
|
247
|
-
disposition?: string | undefined;
|
|
248
|
-
_tag: "text";
|
|
243
|
+
readonly blocks: readonly ({
|
|
244
|
+
readonly pending?: boolean | undefined;
|
|
245
|
+
readonly text: string;
|
|
246
|
+
readonly mimeType?: string | undefined;
|
|
247
|
+
readonly disposition?: string | undefined;
|
|
248
|
+
readonly _tag: "text";
|
|
249
249
|
} | {
|
|
250
|
-
pending?: boolean | undefined;
|
|
251
|
-
_tag: "reasoning";
|
|
252
|
-
reasoningText?: string | undefined;
|
|
253
|
-
redactedText?: string | undefined;
|
|
254
|
-
signature?: string | undefined;
|
|
250
|
+
readonly pending?: boolean | undefined;
|
|
251
|
+
readonly _tag: "reasoning";
|
|
252
|
+
readonly reasoningText?: string | undefined;
|
|
253
|
+
readonly redactedText?: string | undefined;
|
|
254
|
+
readonly signature?: string | undefined;
|
|
255
255
|
} | {
|
|
256
|
-
name: string;
|
|
257
|
-
pending?: boolean | undefined;
|
|
258
|
-
_tag: "toolCall";
|
|
259
|
-
toolCallId: string;
|
|
260
|
-
input: string;
|
|
261
|
-
providerExecuted: boolean;
|
|
256
|
+
readonly name: string;
|
|
257
|
+
readonly pending?: boolean | undefined;
|
|
258
|
+
readonly _tag: "toolCall";
|
|
259
|
+
readonly toolCallId: string;
|
|
260
|
+
readonly input: string;
|
|
261
|
+
readonly providerExecuted: boolean;
|
|
262
262
|
} | {
|
|
263
|
-
name: string;
|
|
264
|
-
pending?: boolean | undefined;
|
|
265
|
-
_tag: "toolResult";
|
|
266
|
-
toolCallId: string;
|
|
267
|
-
providerExecuted: boolean;
|
|
268
|
-
result?: string | undefined;
|
|
269
|
-
error?: string | undefined;
|
|
263
|
+
readonly name: string;
|
|
264
|
+
readonly pending?: boolean | undefined;
|
|
265
|
+
readonly _tag: "toolResult";
|
|
266
|
+
readonly toolCallId: string;
|
|
267
|
+
readonly providerExecuted: boolean;
|
|
268
|
+
readonly result?: string | undefined;
|
|
269
|
+
readonly error?: string | undefined;
|
|
270
270
|
} | {
|
|
271
|
-
pending?: boolean | undefined;
|
|
272
|
-
mimeType?: string | undefined;
|
|
273
|
-
_tag: "summary";
|
|
274
|
-
message?: string | undefined;
|
|
275
|
-
model?: string | undefined;
|
|
276
|
-
usage?: {
|
|
271
|
+
readonly pending?: boolean | undefined;
|
|
272
|
+
readonly mimeType?: string | undefined;
|
|
273
|
+
readonly _tag: "summary";
|
|
274
|
+
readonly message?: string | undefined;
|
|
275
|
+
readonly model?: string | undefined;
|
|
276
|
+
readonly usage?: {
|
|
277
277
|
readonly inputTokens?: number | undefined;
|
|
278
278
|
readonly outputTokens?: number | undefined;
|
|
279
279
|
readonly totalTokens?: number | undefined;
|
|
280
280
|
} | undefined;
|
|
281
|
-
toolCalls?: number | undefined;
|
|
282
|
-
errors?: number | undefined;
|
|
283
|
-
duration?: number | undefined;
|
|
281
|
+
readonly toolCalls?: number | undefined;
|
|
282
|
+
readonly errors?: number | undefined;
|
|
283
|
+
readonly duration?: number | undefined;
|
|
284
284
|
} | {
|
|
285
|
-
source?: {
|
|
286
|
-
type: "base64";
|
|
287
|
-
mediaType: string;
|
|
288
|
-
data: string;
|
|
285
|
+
readonly source?: {
|
|
286
|
+
readonly type: "base64";
|
|
287
|
+
readonly mediaType: string;
|
|
288
|
+
readonly data: string;
|
|
289
289
|
} | {
|
|
290
|
-
type: "http";
|
|
291
|
-
url: string;
|
|
290
|
+
readonly type: "http";
|
|
291
|
+
readonly url: string;
|
|
292
292
|
} | undefined;
|
|
293
|
-
id?: string | undefined;
|
|
294
|
-
pending?: boolean | undefined;
|
|
295
|
-
_tag: "image";
|
|
293
|
+
readonly id?: string | undefined;
|
|
294
|
+
readonly pending?: boolean | undefined;
|
|
295
|
+
readonly _tag: "image";
|
|
296
296
|
} | {
|
|
297
|
-
name?: string | undefined;
|
|
298
|
-
pending?: boolean | undefined;
|
|
299
|
-
_tag: "file";
|
|
300
|
-
mediaType?: string | undefined;
|
|
301
|
-
url: string;
|
|
297
|
+
readonly name?: string | undefined;
|
|
298
|
+
readonly pending?: boolean | undefined;
|
|
299
|
+
readonly _tag: "file";
|
|
300
|
+
readonly mediaType?: string | undefined;
|
|
301
|
+
readonly url: string;
|
|
302
302
|
} | {
|
|
303
|
-
pending?: boolean | undefined;
|
|
304
|
-
_tag: "reference";
|
|
305
|
-
reference: import("@dxos/echo/internal").Ref<any>;
|
|
303
|
+
readonly pending?: boolean | undefined;
|
|
304
|
+
readonly _tag: "reference";
|
|
305
|
+
readonly reference: import("@dxos/echo/internal").Ref<any>;
|
|
306
306
|
} | {
|
|
307
|
-
pending?: boolean | undefined;
|
|
308
|
-
text: string;
|
|
309
|
-
_tag: "transcript";
|
|
310
|
-
started: string;
|
|
307
|
+
readonly pending?: boolean | undefined;
|
|
308
|
+
readonly text: string;
|
|
309
|
+
readonly _tag: "transcript";
|
|
310
|
+
readonly started: string;
|
|
311
311
|
} | {
|
|
312
|
-
pending?: boolean | undefined;
|
|
313
|
-
_tag: "status";
|
|
314
|
-
statusText: string;
|
|
312
|
+
readonly pending?: boolean | undefined;
|
|
313
|
+
readonly _tag: "status";
|
|
314
|
+
readonly statusText: string;
|
|
315
315
|
} | {
|
|
316
|
-
pending?: boolean | undefined;
|
|
317
|
-
text: string;
|
|
318
|
-
_tag: "suggestion";
|
|
316
|
+
readonly pending?: boolean | undefined;
|
|
317
|
+
readonly text: string;
|
|
318
|
+
readonly _tag: "suggestion";
|
|
319
319
|
} | {
|
|
320
|
-
pending?: boolean | undefined;
|
|
321
|
-
_tag: "select";
|
|
322
|
-
options: string[];
|
|
320
|
+
readonly pending?: boolean | undefined;
|
|
321
|
+
readonly _tag: "select";
|
|
322
|
+
readonly options: string[];
|
|
323
323
|
} | {
|
|
324
|
-
version: unknown;
|
|
325
|
-
pending?: boolean | undefined;
|
|
326
|
-
_tag: "anchor";
|
|
327
|
-
objectId: string;
|
|
324
|
+
readonly version: unknown;
|
|
325
|
+
readonly pending?: boolean | undefined;
|
|
326
|
+
readonly _tag: "anchor";
|
|
327
|
+
readonly objectId: string;
|
|
328
328
|
} | {
|
|
329
|
-
pending?: boolean | undefined;
|
|
330
|
-
text: string;
|
|
331
|
-
_tag: "proposal";
|
|
329
|
+
readonly pending?: boolean | undefined;
|
|
330
|
+
readonly text: string;
|
|
331
|
+
readonly _tag: "proposal";
|
|
332
332
|
} | {
|
|
333
|
-
pending?: boolean | undefined;
|
|
334
|
-
_tag: "toolkit";
|
|
333
|
+
readonly pending?: boolean | undefined;
|
|
334
|
+
readonly _tag: "toolkit";
|
|
335
335
|
} | {
|
|
336
|
-
pending?: boolean | undefined;
|
|
337
|
-
disposition?: string | undefined;
|
|
338
|
-
_tag: "json";
|
|
339
|
-
data: string;
|
|
336
|
+
readonly pending?: boolean | undefined;
|
|
337
|
+
readonly disposition?: string | undefined;
|
|
338
|
+
readonly _tag: "json";
|
|
339
|
+
readonly data: string;
|
|
340
340
|
})[];
|
|
341
341
|
readonly properties?: {
|
|
342
|
-
[x: string]: any;
|
|
342
|
+
readonly [x: string]: any;
|
|
343
343
|
} | undefined;
|
|
344
344
|
};
|
|
345
345
|
readonly timeElapsed: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"extraction-ner-function.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-ner-function/extraction-ner-function.ts"],"names":[],"mappings":"AAQA;;GAEG;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;
|
|
1
|
+
{"version":3,"file":"extraction-ner-function.d.ts","sourceRoot":"","sources":["../../../../../src/extraction/extraction-ner-function/extraction-ner-function.ts"],"names":[],"mappings":"AAQA;;GAEG;AAEH,eAAO,MAAM,qBAAqB;;;;;;;;;;yBACM,CAAC;yBAEvC,CAAD;4BACe,CAAC;8BAGoB,CAAC;iCAmCpC,CAjCA;sCACa,CAAA;iCACR,CAAA;qCAAuD,CAAC;wCAId,CAAA;iCACzB,CAAC;mCAEX,CAAC;kCACyD,CAAC;oCAEpE,CAAC;;qCAC+B,CAAA;;iCAKA,CAAC;mCACf,CAAC;8BAAgD,CAAC;+BACzB,CAAC;;kCAGZ,CAAC;;mCAEF,CAAC;;kCAQnC,CAHF;;qCAC2C,C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