@@ -19,6 +19,16 @@ import {
19
19
Tools ,
20
20
} from './resources/completions' ;
21
21
import { Embedding , EmbeddingCreateParams , Embeddings } from './resources/embeddings' ;
22
+ import {
23
+ EndpointCreateParams ,
24
+ EndpointCreateResponse ,
25
+ EndpointListParams ,
26
+ EndpointListResponse ,
27
+ EndpointRetrieveResponse ,
28
+ EndpointUpdateParams ,
29
+ EndpointUpdateResponse ,
30
+ Endpoints ,
31
+ } from './resources/endpoints' ;
22
32
import {
23
33
FileDeleteResponse ,
24
34
FileListResponse ,
@@ -35,8 +45,10 @@ import {
35
45
FineTuneListResponse ,
36
46
FineTuneResource ,
37
47
} from './resources/fine-tune' ;
48
+ import { Hardware , HardwareListParams , HardwareListResponse } from './resources/hardware' ;
38
49
import { ImageCreateParams , ImageFile , Images } from './resources/images' ;
39
- import { ModelListResponse , Models } from './resources/models' ;
50
+ import { JobListResponse , JobRetrieveResponse , Jobs } from './resources/jobs' ;
51
+ import { ModelListResponse , ModelUploadParams , ModelUploadResponse , Models } from './resources/models' ;
40
52
import { Chat } from './resources/chat/chat' ;
41
53
import {
42
54
CodeInterpreter ,
@@ -166,6 +178,9 @@ export class Together extends Core.APIClient {
166
178
images : API . Images = new API . Images ( this ) ;
167
179
audio : API . Audio = new API . Audio ( this ) ;
168
180
models : API . Models = new API . Models ( this ) ;
181
+ jobs : API . Jobs = new API . Jobs ( this ) ;
182
+ endpoints : API . Endpoints = new API . Endpoints ( this ) ;
183
+ hardware : API . Hardware = new API . Hardware ( this ) ;
169
184
170
185
/**
171
186
* Query a reranker model
@@ -222,6 +237,9 @@ Together.CodeInterpreter = CodeInterpreter;
222
237
Together . Images = Images ;
223
238
Together . Audio = Audio ;
224
239
Together . Models = Models ;
240
+ Together . Jobs = Jobs ;
241
+ Together . Endpoints = Endpoints ;
242
+ Together . Hardware = Hardware ;
225
243
export declare namespace Together {
226
244
export type RequestOptions = Core . RequestOptions ;
227
245
@@ -274,7 +292,35 @@ export declare namespace Together {
274
292
275
293
export { Audio as Audio , type AudioFile as AudioFile , type AudioCreateParams as AudioCreateParams } ;
276
294
277
- export { Models as Models , type ModelListResponse as ModelListResponse } ;
295
+ export {
296
+ Models as Models ,
297
+ type ModelListResponse as ModelListResponse ,
298
+ type ModelUploadResponse as ModelUploadResponse ,
299
+ type ModelUploadParams as ModelUploadParams ,
300
+ } ;
301
+
302
+ export {
303
+ Jobs as Jobs ,
304
+ type JobRetrieveResponse as JobRetrieveResponse ,
305
+ type JobListResponse as JobListResponse ,
306
+ } ;
307
+
308
+ export {
309
+ Endpoints as Endpoints ,
310
+ type EndpointCreateResponse as EndpointCreateResponse ,
311
+ type EndpointRetrieveResponse as EndpointRetrieveResponse ,
312
+ type EndpointUpdateResponse as EndpointUpdateResponse ,
313
+ type EndpointListResponse as EndpointListResponse ,
314
+ type EndpointCreateParams as EndpointCreateParams ,
315
+ type EndpointUpdateParams as EndpointUpdateParams ,
316
+ type EndpointListParams as EndpointListParams ,
317
+ } ;
318
+
319
+ export {
320
+ Hardware as Hardware ,
321
+ type HardwareListResponse as HardwareListResponse ,
322
+ type HardwareListParams as HardwareListParams ,
323
+ } ;
278
324
}
279
325
280
326
export { toFile , fileFromPath } from './uploads' ;
0 commit comments