@vectorx/ai-types 0.3.0 → 0.4.1
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/package.json +1 -1
- package/types/agent-types.d.ts +16 -0
package/package.json
CHANGED
package/types/agent-types.d.ts
CHANGED
|
@@ -118,3 +118,19 @@ export interface QueryTasksData {
|
|
|
118
118
|
}
|
|
119
119
|
export type RawQueryTasksResponse = QueryTasksData;
|
|
120
120
|
export type QueryTasksResponse = BaseResponse<QueryTasksData>;
|
|
121
|
+
export interface UploadFileInput {
|
|
122
|
+
file: File | Buffer | string;
|
|
123
|
+
filename: string;
|
|
124
|
+
purpose?: string;
|
|
125
|
+
}
|
|
126
|
+
export interface UploadFileData {
|
|
127
|
+
id: string;
|
|
128
|
+
object: string;
|
|
129
|
+
bytes: number;
|
|
130
|
+
created_at: number;
|
|
131
|
+
filename: string;
|
|
132
|
+
purpose: string;
|
|
133
|
+
status: string;
|
|
134
|
+
status_details?: any;
|
|
135
|
+
}
|
|
136
|
+
export type UploadFileResponse = BaseResponse<UploadFileData>;
|