Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
{
".": "0.1.0-alpha.1"
".": "0.6.0-alpha.1"
}
2 changes: 1 addition & 1 deletion .stats.yml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
configured_endpoints: 15
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-ab60dcafb04015e34b38c2991f76f78f35eeb0860fe02ee4033c4161c297b3bc.yml
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/togetherai%2FTogetherAI-6e975518a2563fdb57394133f1ed9dfe426a2cf5d2fef793fd139627c93df4aa.yml
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "together-ai",
"version": "0.1.0-alpha.1",
"version": "0.6.0-alpha.1",
"description": "The official TypeScript library for the Together API",
"author": "Together <dev-feedback@TogetherAI.com>",
"types": "dist/index.d.ts",
Expand Down
8 changes: 4 additions & 4 deletions src/resources/files.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,15 +54,15 @@ export interface FileRetrieveResponse {

filename: string;

FileType: string;
FileType: 'jsonl' | 'parquet';

LineCount: number;

object: string;

Processed: boolean;

purpose: string;
purpose: 'fine-tune';
}

export interface FileListResponse {
Expand All @@ -79,15 +79,15 @@ export namespace FileListResponse {

filename: string;

FileType: string;
FileType: 'jsonl' | 'parquet';

LineCount: number;

object: string;

Processed: boolean;

purpose: string;
purpose: 'fine-tune';
}
}

Expand Down
31 changes: 28 additions & 3 deletions src/resources/fine-tune.ts
Original file line number Diff line number Diff line change
Expand Up @@ -195,11 +195,36 @@ export namespace FineTuneEvent {

training_offset: number;

type: string;
type:
| 'job_pending'
| 'job_start'
| 'job_stopped'
| 'model_downloading'
| 'model_download_complete'
| 'training_data_downloading'
| 'training_data_download_complete'
| 'validation_data_downloading'
| 'validation_data_download_complete'
| 'wandb_init'
| 'training_start'
| 'checkpoint_save'
| 'billing_limit'
| 'epoch_complete'
| 'training_complete'
| 'model_compressing'
| 'model_compression_complete'
| 'model_uploading'
| 'model_upload_complete'
| 'job_complete'
| 'job_error'
| 'cancel_requested'
| 'job_restarted'
| 'refund'
| 'warning';

wandb_url: string;

level?: string;
level?: unknown;
}
}

Expand All @@ -214,7 +239,7 @@ export interface FineTuneDownloadResponse {

filename?: string;

object?: string;
object?: unknown;

size?: number;
}
Expand Down
2 changes: 1 addition & 1 deletion src/resources/images.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export interface ImageFile {

model: string;

object: string;
object: 'list';
}

export namespace ImageFile {
Expand Down
2 changes: 1 addition & 1 deletion src/resources/models.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ export namespace ModelListResponse {

object: string;

type: string;
type: 'chat' | 'language' | 'code' | 'image' | 'embedding' | 'moderation';

context_length?: number;

Expand Down
2 changes: 1 addition & 1 deletion src/version.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const VERSION = '0.1.0-alpha.1'; // x-release-please-version
export const VERSION = '0.6.0-alpha.1'; // x-release-please-version