@builder.io/ai-utils 0.0.42 → 0.0.44
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/events.d.ts +5 -0
- package/package.json +2 -2
package/dist/events.d.ts
CHANGED
|
@@ -231,6 +231,10 @@ export interface AssistantStats {
|
|
|
231
231
|
* Output tokens
|
|
232
232
|
*/
|
|
233
233
|
outputTokens?: number;
|
|
234
|
+
/**
|
|
235
|
+
* Number of streamed snapshots
|
|
236
|
+
*/
|
|
237
|
+
streamedSnapshots?: number;
|
|
234
238
|
}
|
|
235
239
|
export interface ModelCreateEvent {
|
|
236
240
|
type: "assistant.model.create";
|
|
@@ -283,6 +287,7 @@ export interface ThreadMessageFeedback {
|
|
|
283
287
|
sentiment?: "positive" | "negative";
|
|
284
288
|
builderUserId?: string;
|
|
285
289
|
builderEmail?: string;
|
|
290
|
+
completionId?: string;
|
|
286
291
|
}
|
|
287
292
|
export interface ThreadCreatedEvent {
|
|
288
293
|
type: "assistant.thread.created";
|
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@builder.io/ai-utils",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.44",
|
|
4
4
|
"description": "Builder.io AI utils",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
|
-
"types": "dist/index.d.
|
|
7
|
+
"types": "dist/index.d.ts",
|
|
8
8
|
"exports": {
|
|
9
9
|
".": {
|
|
10
10
|
"import": "./dist/index.js",
|