Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added more enums #13

Merged
merged 1 commit into from
May 27, 2024
Merged
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
58 changes: 51 additions & 7 deletions openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1032,7 +1032,13 @@ components:
type: integer
example: 1692896905
type:
type: string
enum:
- chat
- language
- code
- image
- embedding
- moderation
example: 'chat'
display_name:
type: string
Expand All @@ -1058,7 +1064,8 @@ components:
model:
type: string
object:
type: string
enum:
- list
example: 'list'
data:
type: array
Expand Down Expand Up @@ -1162,12 +1169,15 @@ components:
type: integer
example: 2664
purpose:
type: string
enum:
- fine-tune
example: 'fine-tune'
Processed:
type: boolean
FileType:
type: string
enum:
- jsonl
- parquet
example: 'jsonl'
LineCount:
type: integer
Expand Down Expand Up @@ -1382,11 +1392,43 @@ components:
created_at:
type: string
level:
type: string
enum:
- null
- info
- warning
- error
- legacy_info
- legacy_iwarning
- legacy_ierror
message:
type: string
type:
type: string
enum:
- 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
param_count:
type: integer
token_count:
Expand All @@ -1410,7 +1452,9 @@ components:
type: object
properties:
object:
type: string
enum:
- null
- local
id:
type: string
checkpoint_step:
Expand Down