@builder.io/ai-utils 0.0.73 → 0.0.74
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/README.md +3 -0
- package/package.json +1 -1
- package/src/codegen.ts +111 -0
- package/src/complete-json.ts +55 -0
- package/src/completion.ts +173 -0
- package/src/events.ts +539 -0
- package/src/fetch.ts +95 -0
- package/src/{index.d.ts → index.ts} +3 -0
- package/src/mapping.ts +88 -0
- package/src/messages.ts +190 -0
- package/src/settings.ts +63 -0
- package/src/thread.ts +28 -0
- package/src/vcp.ts +32 -0
- package/src/complete-json.d.ts +0 -4
- package/src/complete-json.js +0 -52
- package/src/completion.d.ts +0 -154
- package/src/completion.js +0 -1
- package/src/events.d.ts +0 -402
- package/src/events.js +0 -1
- package/src/fetch.d.ts +0 -1
- package/src/fetch.js +0 -83
- package/src/index.js +0 -7
- package/src/messages.d.ts +0 -130
- package/src/messages.js +0 -8
- package/src/settings.d.ts +0 -23
- package/src/settings.js +0 -31
- package/src/thread.d.ts +0 -27
- package/src/thread.js +0 -1
package/src/thread.d.ts
DELETED
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import type { Message } from "./messages.js";
|
|
2
|
-
export interface Thread {
|
|
3
|
-
/**
|
|
4
|
-
* The unique LOCAL identifier of the thread.
|
|
5
|
-
*/
|
|
6
|
-
id: string;
|
|
7
|
-
/**
|
|
8
|
-
* The unique OPENAI identifier of the thread. This is only
|
|
9
|
-
* set after openai creates the thread.
|
|
10
|
-
*/
|
|
11
|
-
threadId?: string;
|
|
12
|
-
platformId?: string;
|
|
13
|
-
title?: string;
|
|
14
|
-
/**
|
|
15
|
-
* The type of assistant that the thread is associated with.
|
|
16
|
-
* For example, "content-editor" or "docs".
|
|
17
|
-
*/
|
|
18
|
-
assistantType?: string;
|
|
19
|
-
/**
|
|
20
|
-
* The unique identifier of the view that the thread is associated with.
|
|
21
|
-
* For example, the "content-editor" assistant would use the
|
|
22
|
-
* builder content id as the viewId.
|
|
23
|
-
*/
|
|
24
|
-
viewId?: string;
|
|
25
|
-
created: number;
|
|
26
|
-
messages: Message[];
|
|
27
|
-
}
|
package/src/thread.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|